ClMtxExpr.Coth Method

Overload List

#SignatureDescription
1clMatrix Coth(TOpenCLMatrix X)Result = the Coth function from the source and return the result
2clValue Coth(TOpenCLValue X)Result = the Coth function from the source and return the result
3clVector Coth(TOpenCLVector X)Result = the Coth function from the source and return the result

Overload 1: clMatrix Coth(TOpenCLMatrix X)

Compute the Coth function from the source and return the result.

#NameTypeDescription
1XTOpenCLMatrixsource TOpenCLMatrix

Returns: clMatrix

Remarks:

Internally calls Dew.Math.clMatrix.Coth

Overload 2: clValue Coth(TOpenCLValue X)

Compute the Coth function from the source and return the result.

#NameTypeDescription
1XTOpenCLValuesource TOpenCLValue

Returns: clValue

Remarks:

Internally calls Dew.Math.clValue.Coth

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

namespace Dew.Examples
{
    void Example()
    {
        TOpenCLValue a,b;
        clMtxVec.CreateIt(out a, out b);
        try
        {
            b.Copy(0.5);
            a.Coth(b);
        }
        finally
        {
            clMtxVec.FreeIt(ref a, ref b);
        }
    }
}

Overload 3: clVector Coth(TOpenCLVector X)

Compute the Coth function from the source and return the result.

#NameTypeDescription
1XTOpenCLVectorsource TOpenCLVector

Returns: clVector

Remarks:

Internally calls Dew.Math.clVector.Coth