You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Matrix Structure > Matrix Methods > Matrix.PowerVec Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Matrix.PowerVec Method

Raises Base object elements to Exponent object elements power.

Syntax
C#
Visual Basic
public TMtxVec PowerVec(TMtxVec Base, TMtxVec Exponent);

Raises Base elements to Exponent elements power. Only positive exponents can be handled if exponent object Complex property is True.

var a,b,c: Matrix; begin a.SetIt(1,2,True,[1,2,3,4]); b.SetIt(1,2,True,[3,3,2,2]); c.PowerVec(a,b); // c = [1,8,9,16] end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!