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

Log base 10.

Pascal
function Log10: TMtxVec; overload;

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

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