Lines Matching defs:norm
58 * \sa squaredNorm(), norm()
104 //---------- implementation of L2 norm and related functions ----------
106 /** \returns, for vectors, the squared \em l2 norm of \c *this, and for matrices the Frobenius norm.
110 * \sa dot(), norm()
118 /** \returns, for vectors, the \em l2 norm of \c *this, and for matrices the Frobenius norm.
125 inline typename NumTraits<typename internal::traits<Derived>::Scalar>::Real MatrixBase<Derived>::norm() const
131 /** \returns an expression of the quotient of *this by its own norm.
135 * \sa norm(), normalize()
144 return n / n.norm();
147 /** Normalizes the vector, i.e. divides it by its own norm.
151 * \sa norm(), normalized()
156 *this /= norm();
188 return m.norm();
203 /** \returns the \f$ \ell^p \f$ norm of *this, that is, returns the p-th root of the sum of the p-th powers of the absolute values
205 * norm, that is the maximum of the absolute values of the coefficients of *this.
207 * \sa norm()