Dew MtxVec NET
TMtxVec.Cbrt Methods
Summary
The cube root.

Class
TMtxVec

Declaration
Function Cbrt(X: TMtxVec): TMtxVec;

Description
Calculate the cube root of all X object elements and store the results in calling object. Size and Complex properties of calling object are adjusted automatically.
Declaration
Function Cbrt(X: TMtxVec; XIndex, Index, Len: integer): TMtxVec;

Description
Calculate the cube root of X object elements [XIndex]..[XIndex+Len-1]. The results are stored in the calling object elements [Index]..[Index+Len-1]. Size and Complex properties of the calling object must be set explicitly. An exception is raised if array borders are overrun.
Declaration
Function Cbrt: TMtxVec;

Description
Calculate the cube root of all calling object elements in-place.
 See Also 
InvCbrt 

Example 1

v.SetIt(false,[1,8]); v.Cbrt; // v = [1,2]


Declaration
Function Cbrt(Index, Len: integer): TMtxVec;

Description
Calculate the cube root of calling object elements [Index]..[Index+Len-1] in-place. An exception is raised if array borders are overrun.

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