You are here: Symbol Reference > AbstractMtxVec Namespace > Classes > TMtxVec Class > public > Log10 Method > TMtxVec.Log10 Method ()
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtxVec.Log10 Method ()

Log base 10.

Pascal
function Log10: TMtxVec; overload;

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

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;
Examples on GitHub
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!