From 47b55345cdb4d76553323e0dea77ac7225d08b19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Gr=C3=BCninger?= <gruenich@dune-project.org> Date: Tue, 10 Jul 2012 22:06:35 +0000 Subject: [PATCH] [matrix.hh] Remove deprecated method transposedMult. [[Imported from SVN: r1644]] --- dune/istl/matrix.hh | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/dune/istl/matrix.hh b/dune/istl/matrix.hh index 823e86be8..30fbc4e7f 100644 --- a/dune/istl/matrix.hh +++ b/dune/istl/matrix.hh @@ -263,12 +263,6 @@ namespace Dune { return out; } - //! \brief Multiplication of the transposed matrix times a vector - //! - //! This method is deprecated. Use method mtv instead. - template <class X, class Y> - Y transposedMult(const X& vec) DUNE_DEPRECATED; - /// Generic matrix multiplication. friend Matrix<T> operator*(const Matrix<T>& m1, const Matrix<T>& m2) { Matrix<T> out(m1.N(), m2.M()); @@ -561,25 +555,6 @@ namespace Dune { size_type cols_; }; - template<class T, class A> - template<class X, class Y> - inline Y Matrix<T,A>::transposedMult(const X& vec) - { -#ifdef DUNE_ISTL_WITH_CHECKING - if (N()!=vec.size()) - DUNE_THROW(ISTLError, "Vector size doesn't match the number of matrix rows!"); -#endif - Y out(M()); - out = 0; - - for (size_type i=0; i<out.size(); i++ ) { - for ( size_type j=0; j<vec.size(); j++ ) - out[i] += (*this)[j][i]*vec[j]; - } - - return out; - } - /** \} */ } // end namespace Dune -- GitLab