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

Log base N.

Pascal
function LogN(N: double): TMtxVec; overload;

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

var a: Vector; begin a.SetIt(False,[1,2,3,4]); // a = [1,2,3,4] a.LogN(10.0); // log base 10, the slow way a = [Log10(1), Log10(2),...] end;
Examples on GitHub
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!