You are here: Symbol Reference > MtxExpr Namespace > Classes > Matrix Record > public > Power Method > Matrix.Power Method (TCplx)
MtxVec VCL
ContentsIndex
PreviousUpNext
Matrix.Power Method (TCplx)

Raises all calling Matrix elements to complex power Exponent in-place.

Pascal
function Power(Exponent: TCplx): TMtxVec; overload;

If the calling Matrix is real and has negative elements, the result will be NAN at those entries. To obtain a valid result in this case, extend the calling Matrix to complex with ExtendToComplex method. In all real/complex combinations, the Power method will not automatically assume that a number is complex to speed up the computation. Alternatively the user can of course always convert the real numbers to complex before passing them to the Power routine.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!