TOpenCLValue.SinhCosh Method

void SinhCosh(TOpenCLValue SinhX, TOpenCLValue CoshX)

Hyperbolic sine and cosine.

#NameTypeDescription
1SinhXTOpenCLValuesource TOpenCLValue
2CoshXTOpenCLValuesource TOpenCLValue

Result: stored in self (calling object)

Remarks:

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

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

Examples
using Dew.Math;
using Dew.Math.Units;

namespace Dew.Examples
{
    void Example()
    {
        TOpenCLValue a,s,v;
        clMtxVec.CreateIt(out a, out s, out c);
        try
        {
        a.Copy(0);
            a.SinhCosh(s,c);
        }
        finally
        {
            clMtxVec.FreeIt(ref a, ref s, ref c);
        }
    }
}
See Also: TOpenCLValue.Sinh, TOpenCLValue.Cosh