mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 11:49:02 +08:00
Write doc on (matrix power) * (matrix expression)
This commit is contained in:
parent
aa5acdb352
commit
73a0bfe261
@ -316,6 +316,13 @@ class MatrixPowerReturnValue : public ReturnByValue<MatrixPowerReturnValue<Deriv
|
||||
inline void evalTo(ResultType& res) const
|
||||
{ m_pow.compute(res, m_p); }
|
||||
|
||||
/**
|
||||
* \brief Return the expression \f$ A^p b \f$.
|
||||
*
|
||||
* \p A and \p p are specified in the constructor.
|
||||
*
|
||||
* \param[in] b the matrix (expression) to be applied.
|
||||
*/
|
||||
template<typename OtherDerived>
|
||||
const MatrixPowerMatrixProduct<PlainObject,OtherDerived> operator*(const MatrixBase<OtherDerived>& b) const
|
||||
{ return MatrixPowerMatrixProduct<PlainObject,OtherDerived>(m_pow, b.derived(), m_p); }
|
||||
@ -343,7 +350,7 @@ template<typename Lhs, typename Rhs>
|
||||
struct traits<MatrixPowerMatrixProduct<Lhs,Rhs> >
|
||||
: traits<MatrixPowerProductBase<MatrixPowerMatrixProduct<Lhs,Rhs>,Lhs,Rhs> >
|
||||
{ };
|
||||
}
|
||||
} // namespace internal
|
||||
|
||||
template<typename Derived>
|
||||
const MatrixPowerReturnValue<Derived> MatrixBase<Derived>::pow(RealScalar p) const
|
||||
|
Loading…
x
Reference in New Issue
Block a user