TMtx::PowerMtx Method

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

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 TMtx::Rows, TMtx::Cols and TMtx::Complex properties of the calling matrix are adjusted automatically. The TMtx::Rows, TMtx::Cols and TMtx::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: TMtx::Power
Declared in Dew::Math::TMtx · Dew.Math/MtxVec.h · Cross-compiler