Matrix::PowerMtx Method

TMtx *PowerMtx(TMtx *Base, TMtx *Exponent) const;

Raises matrix elements to any power.

#NameTypeDescription
1BaseTMtx *
2ExponentTMtx *
Remarks:

Raises Base matrix elements to the Exponent matrix elements power and stores the results in the calling matrix. The Matrix::Rows, Matrix::Cols and Matrix::Complex properties of the calling matrix are adjusted automatically. The Matrix::Rows, Matrix::Cols and Matrix::Complex properties of Base and Exponent matrices must match otherwise an exception is raised.

Note
Only positive exponents can be handled if Exponent matrix is not complex.

See Also: Matrix::Power
Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler