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

Log base 10.

Pascal
function Log10: TOpenCLMtxVec; overload;

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

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