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

Exponent base 10 (10^).

Pascal
function Exp10: TMtxVec; overload;

Calculate the exponent base 10 (10^) for all calling object elements in-place.

var a: TVec; begin CreateIt(a); try a.SetIt(False,[1,2,3,4]); // a = [1,2,3,4] a.Exp10; // a = [10,100,1000,10000] 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!