]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
FullMatrix::operator *=
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 3 Sep 2001 16:07:41 +0000 (16:07 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 3 Sep 2001 16:07:41 +0000 (16:07 +0000)
git-svn-id: https://svn.dealii.org/trunk@4936 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/full_matrix.h

index 0f7eb948fdb0f02226b784d376423471628c0896..fff2ca917744c8779732c421dc2a15335f8c0cd2 100644 (file)
@@ -195,6 +195,12 @@ class FullMatrix : public vector2d<number>
     void add (const number               s,
              const FullMatrix<number2> &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}.

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.