ClMtxExpr.Cot Method

Overload List

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

Overload 1: clMatrix Cot(TOpenCLMatrix X)

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

#NameTypeDescription
1XTOpenCLMatrixsource TOpenCLMatrix

Returns: clMatrix

Remarks:

Internally calls Dew.Math.clMatrix.Cot

Overload 2: clValue Cot(TOpenCLValue X)

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

#NameTypeDescription
1XTOpenCLValuesource TOpenCLValue

Returns: clValue

Remarks:

Internally calls Dew.Math.clValue.Cot

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(4);
            a.Cot(b);
        }
        finally
        {
            clMtxVec.FreeIt(ref a, ref b);
        }
    }
}

Overload 3: clVector Cot(TOpenCLVector X)

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

#NameTypeDescription
1XTOpenCLVectorsource TOpenCLVector

Returns: clVector

Remarks:

Internally calls Dew.Math.clVector.Cot