diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-01-19 15:02:24 +0000 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-01-19 15:02:24 +0000 |
commit | 385fd3d918024f0e954b40b1b729887b16f43788 (patch) | |
tree | ffb1174a1b5fe7246155c5f32cec31896ad43179 /Eigen/src/Core/Dot.h | |
parent | dcaa58744e75305b28b8dd4bbe6a40c4a1c9d0c1 (diff) |
* clarify the situation with experimental parts
* remove all what was marked deprecated
Diffstat (limited to 'Eigen/src/Core/Dot.h')
-rw-r--r-- | Eigen/src/Core/Dot.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/Eigen/src/Core/Dot.h b/Eigen/src/Core/Dot.h index b66fcbaae..4263a27c5 100644 --- a/Eigen/src/Core/Dot.h +++ b/Eigen/src/Core/Dot.h @@ -271,22 +271,6 @@ MatrixBase<Derived>::dot(const MatrixBase<OtherDerived>& other) const /** \returns the squared norm of *this, i.e. the dot product of *this with itself. * - * \note This is \em not the \em l2 norm, but its square. - * - * \deprecated Use squaredNorm() instead. This norm2() function is kept only for compatibility and will be removed in Eigen 2.0. - * - * \only_for_vectors - * - * \sa dot(), norm() - */ -template<typename Derived> -EIGEN_DEPRECATED inline typename NumTraits<typename ei_traits<Derived>::Scalar>::Real MatrixBase<Derived>::norm2() const -{ - return ei_real((*this).cwise().abs2().sum()); -} - -/** \returns the squared norm of *this, i.e. the dot product of *this with itself. - * * \only_for_vectors * * \sa dot(), norm() |