mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
back out 842881cfb1b8ece6e41c58f0466ae979e514d001
This commit is contained in:
parent
d2673d89bd
commit
aedccbf52f
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user