You are here: Symbol Reference > clMtxExpr Namespace > Classes > clMatrix Record > public > SinhCosh Method > clMatrix.SinhCosh Method (TOpenCLMtxVec, TOpenCLMtxVec)
MtxVec VCL
ContentsIndex
PreviousUpNext
clMatrix.SinhCosh Method (TOpenCLMtxVec, TOpenCLMtxVec)

Hyperbolic sine and cosine.

Pascal
procedure SinhCosh(SinhX: TOpenCLMtxVec; CoshX: TOpenCLMtxVec); 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: clMatrix; s,c: clMatrix; begin a.CopyFromArray(2,2,TSingleArray.Create(0,PiDiv2,PI,0)); a.SinhCosh(s,c); end;
Examples on GitHub
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!