You are here: Symbol Reference > MtxExpr Namespace > Classes > Matrix Record > public > Cosh Method > Matrix.Cosh Method ()
MtxVec VCL
ContentsIndex
PreviousUpNext
Matrix.Cosh Method ()

Hyperbolic cosine.

Pascal
function Cosh: TMtxVec; overload;

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

var a,b: Matrix; begin a.SetIt(2,2,False,[1,1.5,2,0.3]); a.Cosh; //or a := Cosh(a); //internally becomes a.Cosh (in-place operation) b.Cosh(a); b := Cosh(a); end;
Examples on GitHub
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!