aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Dot.h
diff options
context:
space:
mode:
authorGravatar Scott Wheeler <wheeler@kde.org>2008-10-11 21:01:59 +0000
committerGravatar Scott Wheeler <wheeler@kde.org>2008-10-11 21:01:59 +0000
commite80d6a95d94916a4ea4a40dd2bf2aeda9103fb0d (patch)
tree5bcef3f48b74717b7045784f2a957284ebb5d2b2 /Eigen/src/Core/Dot.h
parent8466244faa8c5e731ea6c3decffda2d887707c14 (diff)
note that norm2() is *not* an l2 norm as it is in other APIs
Diffstat (limited to 'Eigen/src/Core/Dot.h')
-rw-r--r--Eigen/src/Core/Dot.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Eigen/src/Core/Dot.h b/Eigen/src/Core/Dot.h
index 4a729aaea..eda266021 100644
--- a/Eigen/src/Core/Dot.h
+++ b/Eigen/src/Core/Dot.h
@@ -272,6 +272,8 @@ 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.
+ *
* \only_for_vectors
*
* \sa dot(), norm()
@@ -282,7 +284,7 @@ inline typename NumTraits<typename ei_traits<Derived>::Scalar>::Real MatrixBase<
return ei_real(dot(*this));
}
-/** \returns the norm of *this, i.e. the square root of the dot product of *this with itself.
+/** \returns the \em l2 norm of *this, i.e. the square root of the dot product of *this with itself.
*
* \only_for_vectors
*