From 95e7719cc2cb1889e959e4f3882ff0529c50be35 Mon Sep 17 00:00:00 2001 From: wolf Date: Thu, 25 Mar 1999 14:59:25 +0000 Subject: [PATCH] Doc update. git-svn-id: https://svn.dealii.org/trunk@1049 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/sparse_matrix.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/deal.II/lac/include/lac/sparse_matrix.h b/deal.II/lac/include/lac/sparse_matrix.h index 90517d7c2d..5e71572cad 100644 --- a/deal.II/lac/include/lac/sparse_matrix.h +++ b/deal.II/lac/include/lac/sparse_matrix.h @@ -659,7 +659,14 @@ class SparseMatrix */ number linfty_norm () const; - // + /** + * Compute the residual of an equation + * #Ax=b#, where the residual is defined + * to be #r=b-Ax# with #x# typically being + * an approximate of the true solution of + * the equation. Write the residual into + * #dst#. + */ template double residual (Vector& dst, const Vector& x, const Vector& b) const; -- 2.39.5