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

Hyperbolic cosine.

Pascal
function Cosh: TOpenCLMtxVec; overload;

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

var a: TOpenCLVector; begin CreateIt(a); try a.CopyFromArray(TSingleArray.Create(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!