mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
back out 842881cfb1
This commit is contained in:
@@ -159,10 +159,9 @@ MatrixBase<Derived>::normalized() const
|
|||||||
* \sa norm(), normalized()
|
* \sa norm(), normalized()
|
||||||
*/
|
*/
|
||||||
template<typename Derived>
|
template<typename Derived>
|
||||||
inline Derived& MatrixBase<Derived>::normalize()
|
inline void MatrixBase<Derived>::normalize()
|
||||||
{
|
{
|
||||||
*this /= norm();
|
*this /= norm();
|
||||||
return derived();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------- implementation of other norms ----------
|
//---------- implementation of other norms ----------
|
||||||
|
|||||||
@@ -218,7 +218,7 @@ template<typename Derived> class MatrixBase
|
|||||||
RealScalar blueNorm() const;
|
RealScalar blueNorm() const;
|
||||||
RealScalar hypotNorm() const;
|
RealScalar hypotNorm() const;
|
||||||
const PlainObject normalized() const;
|
const PlainObject normalized() const;
|
||||||
Derived& normalize();
|
void normalize();
|
||||||
|
|
||||||
const AdjointReturnType adjoint() const;
|
const AdjointReturnType adjoint() const;
|
||||||
void adjointInPlace();
|
void adjointInPlace();
|
||||||
|
|||||||
Reference in New Issue
Block a user