Dew MtxVec NET
TMtxVec.Log10 Methods
Summary
Log base 10.

Class
TMtxVec

Declaration
Function Log10(X: TMtxVec): TMtxVec;

Description
Calculate the log base 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.
Declaration
Function Log10: TMtxVec;

Description
Calculate the log base 10 for all calling object elements in-place.
 See Also 
Exp10 

Example 1

var a: TVec; begin CreateIt(a); try a.SetIt(False,[10,100,1000,10000]); // a = [10,100,1000,10000] a.Log10; // a = [1,2,3,4] finally FreeIt(a); end; end;


Declaration
Function Log10(X: TMtxVec; XIndex, Index, Len: integer): TMtxVec;

Description
Calculate the log base 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 Log10(Index, Len: integer): TMtxVec;

Description
Calculate the log base 10 for calling object elements [Index]..[Index+Len-1] in-place. An exception is raised if ConditionCheck is True and array borders are overrun.

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