You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Vector Structure > Vector Methods > Power Method > Vector.Power Method (TCplx)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Vector.Power Method (TCplx)

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

Syntax
C#
Visual Basic
public TMtxVec Power(TCplx Exponent);

If the calling vector 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 vector to complex with 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-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!