Dew MtxVec NET
TMtxVec.IntPower Methods
Summary
Power (integer exponent).

Class
TMtxVec

Declaration
Function IntPower(Exponent: Integer): TMtxVec;

Description
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.
 See Also 
Power 
PowerVec 

Example 1

var a: TVec; begin CreateIt(a); try a.SetIt(False,[1,2,3,4]); a.IntPower(3); finally FreeIt(a); end; end;


Declaration
Function IntPower(Base: TMtxVec; Exponent: Integer): TMtxVec;

Description
Calculate the power Base^(Exponent) for all Base object elements using the integer Exponent value and store the results in calling object. Size and
Complex properties of calling object are adjusted automatically.

Copyright 2008 Dew Research
http://www.dewresearch.com