void SinhCosh(TOpenCLValue *SinhX, TOpenCLValue *CoshX) const;
Hyperbolic sine and cosine.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | SinhX | TOpenCLValue * | |
| 2 | CoshX | TOpenCLValue * |
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
#include "clMtxExpr.h"
using namespace Dew;
using namespace Dew::Math;
void Example()
{
clValue a, s, c;
a.Copy(0.0);
a.SinhCosh(s, c);
}
See Also: clValue::Sinh, clValue::Cosh
Declared in Dew::Math::clValue · Dew.Math/clMtxExpr.h · Cross-compiler