Dew MtxVec NET
TMtxVec.Ln Methods
Summary
Natural logarithm.

Class
TMtxVec

Declaration
Function Ln(X: TMtxVec): TMtxVec;

Description
Calculate the natural algorithm 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 Ln(Index, Len: integer): TMtxVec;

Description
Calculate the natural logarithm 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 Ln(X: TMtxVec; XIndex, Index, Len: integer): TMtxVec;

Description
Calculate the natural logarithm 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 Ln: TMtxVec;

Description
Calculate the natural log for all calling object elements in-place.
 See Also 
Exp 

Example 1

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

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