Summary
Exponent base 10 (10^).
Class
TMtxVec
Declaration
Function Exp10(X: TMtxVec; XIndex, Index, Len: integer): TMtxVec;
Description
Calculate the exponent base 10 (10^) for X elements [XIndex]..[XIndex+Len-1] and store the results 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
ConditionCheck is True and array borders are overrun.
Declaration
Function Exp10(Index, Len: integer): TMtxVec;
Description
Calculate the exponent base 10 (10^) for calling object elements [Index]..[Index+Len-1] in-place. An exception is raised if
ConditionCheck is True and array borders are overrun.
Declaration
Function Exp10: TMtxVec;
Description
Calculate the exponent base 10 (10^) for all calling object elements in-place.
Example 1
var a: TVec;
begin
CreateIt(a);
try
a.SetIt(False,[1,2,3,4]); // a = [1,2,3,4]
a.Exp10; // a = [10,100,1000,10000]
finally
FreeIt(a);
end;
end;
Declaration
Function Exp10(X: TMtxVec): TMtxVec;
Description
Calculate the exponent base 10 (10^) for all X elements and store the results in the calling object. Size and Complex properties of the calling vector are set implicitly to match the X object.
| Copyright 2008 Dew Research |
http://www.dewresearch.com