mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-21 20:09:06 +08:00
fix !=
This commit is contained in:
parent
0c89475317
commit
6b380992b5
@ -247,7 +247,6 @@ template<typename Derived> class MatrixBase
|
|||||||
const DiagonalWrapper<Derived> asDiagonal() const;
|
const DiagonalWrapper<Derived> asDiagonal() const;
|
||||||
|
|
||||||
Derived& setIdentity();
|
Derived& setIdentity();
|
||||||
Derived& setIdentity(int rows, int cols);
|
|
||||||
|
|
||||||
bool isIdentity(RealScalar prec = dummy_precision<Scalar>()) const;
|
bool isIdentity(RealScalar prec = dummy_precision<Scalar>()) const;
|
||||||
bool isDiagonal(RealScalar prec = dummy_precision<Scalar>()) const;
|
bool isDiagonal(RealScalar prec = dummy_precision<Scalar>()) const;
|
||||||
@ -274,7 +273,7 @@ template<typename Derived> class MatrixBase
|
|||||||
* \sa isApprox(), operator== */
|
* \sa isApprox(), operator== */
|
||||||
template<typename OtherDerived>
|
template<typename OtherDerived>
|
||||||
inline bool operator!=(const MatrixBase<OtherDerived>& other) const
|
inline bool operator!=(const MatrixBase<OtherDerived>& other) const
|
||||||
{ return cwiseNotEqual(other).all(); }
|
{ return cwiseNotEqual(other).any(); }
|
||||||
|
|
||||||
NoAlias<Derived,Eigen::MatrixBase > noalias();
|
NoAlias<Derived,Eigen::MatrixBase > noalias();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user