diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2008-11-03 19:14:17 +0000 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2008-11-03 19:14:17 +0000 |
commit | 3d90c139706daccce577f5f2960ceb98a42871a3 (patch) | |
tree | f3c8c501a9d66e183a297b94a5b2362511e14161 /Eigen/src/Array | |
parent | 3f580e240e2a3018c7e040e4c4cfc9541c84166d (diff) |
norm2() renamed to squaredNorm(), kept as deprecated for now.
Diffstat (limited to 'Eigen/src/Array')
-rw-r--r-- | Eigen/src/Array/PartialRedux.h | 4 |
1 files changed, 2 insertions, 2 deletions
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<typename ExpressionType, int Direction> class PartialRedux * Example: \include PartialRedux_norm2.cpp * Output: \verbinclude PartialRedux_norm2.out * - * \sa MatrixBase::norm2() */ - const typename ReturnType<ei_member_norm2>::Type norm2() const + * \sa MatrixBase::squaredNorm() */ + const typename ReturnType<ei_member_norm2>::Type squaredNorm() const { return _expression(); } /** \returns a row (or column) vector expression of the norm |