mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Made MatrixBase::BasisReturnType const.
This commit is contained in:
@@ -137,7 +137,7 @@ template<typename Derived> class MatrixBase
|
|||||||
/** \internal the return type of identity */
|
/** \internal the return type of identity */
|
||||||
typedef CwiseNullaryOp<internal::scalar_identity_op<Scalar>,Derived> IdentityReturnType;
|
typedef CwiseNullaryOp<internal::scalar_identity_op<Scalar>,Derived> IdentityReturnType;
|
||||||
/** \internal the return type of unit vectors */
|
/** \internal the return type of unit vectors */
|
||||||
typedef Block<CwiseNullaryOp<internal::scalar_identity_op<Scalar>, SquareMatrixType>,
|
typedef Block<const CwiseNullaryOp<internal::scalar_identity_op<Scalar>, SquareMatrixType>,
|
||||||
internal::traits<Derived>::RowsAtCompileTime,
|
internal::traits<Derived>::RowsAtCompileTime,
|
||||||
internal::traits<Derived>::ColsAtCompileTime> BasisReturnType;
|
internal::traits<Derived>::ColsAtCompileTime> BasisReturnType;
|
||||||
#endif // not EIGEN_PARSED_BY_DOXYGEN
|
#endif // not EIGEN_PARSED_BY_DOXYGEN
|
||||||
|
|||||||
Reference in New Issue
Block a user