You are here: Symbol Reference > MtxExpr Namespace > Classes > Vector Record > public > Ln Method > Vector.Ln Method ()
MtxVec VCL
ContentsIndex
PreviousUpNext
Vector.Ln Method ()

Natural logarithm.

Pascal
function Ln: TMtxVec; overload;

Calculate the natural log for all calling object elements in-place.

var a,b: Vector; begin a.SetIt(False,[1,2,3,4]); a.Ln; //same as: a := Ln(a); b.Ln(a); //same as: b := Ln(a); end;
Examples on GitHub
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!