clValue.SinhCosh Method

procedure SinhCosh(SinhX: TOpenCLValue; CoshX: TOpenCLValue);

Hyperbolic sine and cosine.

#NameTypeDescription
1SinhXTOpenCLValuesource TOpenCLValue
2CoshXTOpenCLValuesource TOpenCLValue

Result: stored in self (calling object)

Remarks:

Calculates the hyperbolic sine and hyperbolic cosine for calling object value and stores the sine to SinhX and cosine to CoshX. FloatPrecision and clValue.Complex property of SinhX and CoshX are adjusted automatically.

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

Examples
var a, s, c: clValue;
begin
    a.Copy(0);
    a.SinhCosh(s,c);
end;
See Also: clValue.Sinh, clValue.Cosh