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

Hyperbolic tangens.

Pascal
function Tanh: TMtxVec; overload;

Calculate the hyperbolic tangens of all caling object elements in-place.

var a: TVec; begin CreateIt(a); try a.SetIt(False,[1,1.5,2,0.3]); a.Tanh; 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!