From 2a75682f73b55b908ab92b08819d374eeffd80ba Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 5 May 2000 16:42:32 +0000 Subject: [PATCH] Add matrix scalar product. git-svn-id: https://svn.dealii.org/trunk@2812 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/sparse_matrix.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/deal.II/lac/include/lac/sparse_matrix.h b/deal.II/lac/include/lac/sparse_matrix.h index f2c55884ed..1757d3d8c1 100644 --- a/deal.II/lac/include/lac/sparse_matrix.h +++ b/deal.II/lac/include/lac/sparse_matrix.h @@ -394,6 +394,14 @@ class SparseMatrix : public Subscriptor template somenumber matrix_norm (const Vector &v) const; + /** + * Compute the matrix scalar + * product $\left(u,Mv\right)$. + */ + template + somenumber matrix_scalar_product (const Vector &u, + const Vector &v) const; + /** * Return the l1-norm of the matrix, that is * $|M|_1=max_{all columns j}\sum_{all -- 2.39.5