You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TOpenCLValue Class > TOpenCLValue Methods > TOpenCLValue.SinhCosh Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TOpenCLValue.SinhCosh Method

Hyperbolic sine and cosine.

Syntax
C#
Visual Basic
public void SinhCosh(TOpenCLValue SinhX, TOpenCLValue CoshX);

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

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

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); } } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!