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

Hyperbolic sine and cosine.

Pascal
procedure SinhCosh(const SinhX: TMtxVec; const CoshX: TMtxVec); overload;

Calculates the hyperbolic sine and hyperbolic cosine for all calling object elements and stores the sines to SinhX and cosines to CoshX. Size and Complex property of SinhX and CoshX are adjusted automatically.

Use this method if you require hyperbolic sine and hyperbolic cosine.

var a: TVec; s,c: TVec; begin CreateIt(a,s,c); try a.SetIt(false[0,PIDIV2,PI]); a.SinhCosh(s,c); finally FreeIt(a,s,c); end; end;
Examples on GitHub
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!