From: wolf Date: Mon, 3 Sep 2001 16:07:41 +0000 (+0000) Subject: FullMatrix::operator *= X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd01dc4b17b5fa44b139c83c1243d5a935891e69;p=dealii-svn.git FullMatrix::operator *= git-svn-id: https://svn.dealii.org/trunk@4936 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/full_matrix.h b/deal.II/lac/include/lac/full_matrix.h index 0f7eb948fd..fff2ca9177 100644 --- a/deal.II/lac/include/lac/full_matrix.h +++ b/deal.II/lac/include/lac/full_matrix.h @@ -195,6 +195,12 @@ class FullMatrix : public vector2d void add (const number s, const FullMatrix &B); + /** + * Scale the entire matrix by a + * fixed factor. + */ + FullMatrix & operator *= (const double factor); + /** * Weighted addition of the * transpose of @p{B} to @p{this}.