From 3d90c139706daccce577f5f2960ceb98a42871a3 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Mon, 3 Nov 2008 19:14:17 +0000 Subject: norm2() renamed to squaredNorm(), kept as deprecated for now. --- Eigen/src/Array/PartialRedux.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Eigen/src/Array') diff --git a/Eigen/src/Array/PartialRedux.h b/Eigen/src/Array/PartialRedux.h index 357654b4e..ad3a8f3d7 100644 --- a/Eigen/src/Array/PartialRedux.h +++ b/Eigen/src/Array/PartialRedux.h @@ -207,8 +207,8 @@ template class PartialRedux * Example: \include PartialRedux_norm2.cpp * Output: \verbinclude PartialRedux_norm2.out * - * \sa MatrixBase::norm2() */ - const typename ReturnType::Type norm2() const + * \sa MatrixBase::squaredNorm() */ + const typename ReturnType::Type squaredNorm() const { return _expression(); } /** \returns a row (or column) vector expression of the norm -- cgit v1.2.3