From ee3933fe686b21d4e7f43438efe31d98488f86f4 Mon Sep 17 00:00:00 2001 From: Guido Kanschat Date: Tue, 22 Mar 2005 21:58:39 +0000 Subject: [PATCH] Frobenius norm git-svn-id: https://svn.dealii.org/trunk@10205 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/full_matrix.templates.h | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/deal.II/lac/include/lac/full_matrix.templates.h b/deal.II/lac/include/lac/full_matrix.templates.h index 5d7d8296f3..d40337acf3 100644 --- a/deal.II/lac/include/lac/full_matrix.templates.h +++ b/deal.II/lac/include/lac/full_matrix.templates.h @@ -1,4 +1,4 @@ -//---------------------------- full_matrix.templates.h --------------------------- +//--------------------------------------------------------------------------- // $Id$ // Version: $Name$ // @@ -9,7 +9,7 @@ // to the file deal.II/doc/license.html for the text and // further information on this license. // -//---------------------------- full_matrix.templates.h --------------------------- +//--------------------------------------------------------------------------- #ifndef __deal2__full_matrix_templates_h #define __deal2__full_matrix_templates_h @@ -1236,7 +1236,7 @@ FullMatrix::determinant () const template number -FullMatrix::norm2 () const +FullMatrix::frobenius_norm () const { Assert (!this->empty(), ExcEmptyMatrix()); @@ -1248,6 +1248,15 @@ FullMatrix::norm2 () const +template +number +FullMatrix::norm2 () const +{ + return frobenius_norm(); +} + + + template number FullMatrix::relative_symmetry_norm2 () const -- 2.39.5