ClMtxExpr.Exp2 Method

Overload List

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

Overload 1: clMatrix Exp2(TOpenCLMatrix X)

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

#NameTypeDescription
1XTOpenCLMatrixsource TOpenCLMatrix

Returns: clMatrix

Remarks:

Internally calls Dew.Math.clMatrix.Exp2

Overload 2: clValue Exp2(TOpenCLValue X)

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

#NameTypeDescription
1XTOpenCLValuesource TOpenCLValue

Returns: clValue

Remarks:

Internally calls Dew.Math.clValue.Exp2

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

Overload 3: clVector Exp2(TOpenCLVector X)

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

#NameTypeDescription
1XTOpenCLVectorsource TOpenCLVector

Returns: clVector

Remarks:

Internally calls Dew.Math.clVector.Exp2