You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TMtxVec Class > TMtxVec Methods > IntPower Method > TMtxVec.IntPower Method (int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TMtxVec.IntPower Method (int)

Power (integer exponent).

Syntax
C#
Visual Basic
public TMtxVec IntPower(int Exponent);

Calculate the power ^(Exponent) for all caling object elements using the integer parameter Exponent. For non integer exponents, the Power and PowerVec methods can be used.

var a: TVec; begin CreateIt(a); try a.SetIt(False,[1,2,3,4]); a.IntPower(3); finally FreeIt(a); end; end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!