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

Hyperbolic cosine.

Pascal
function Cosh: TMtxVec; overload;

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

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