mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Another big refactoring change:
* add a new Eigen2Support module including Cwise, Flagged, and some other deprecated stuff * add a few cwiseXxx functions * adapt a few modules to use cwiseXxx instead of the .cwise() prefix
This commit is contained in:
@@ -68,6 +68,12 @@ class DiagonalBase : public AnyMatrixBase<Derived>
|
||||
template<typename MatrixDerived>
|
||||
const DiagonalProduct<MatrixDerived, Derived, OnTheLeft>
|
||||
operator*(const MatrixBase<MatrixDerived> &matrix) const;
|
||||
|
||||
inline const DiagonalWrapper<NestByValue<CwiseUnaryOp<ei_scalar_inverse_op<Scalar>, DiagonalVectorType> > >
|
||||
inverse() const
|
||||
{
|
||||
return diagonal().cwiseInverse().nestByValue();
|
||||
}
|
||||
};
|
||||
|
||||
template<typename Derived>
|
||||
|
||||
Reference in New Issue
Block a user