ClMtxExpr.Expj Method

Overload List

#SignatureDescription
1clMatrix Expj(TOpenCLMatrix X)Computes the e^xj function from the source.
2clValue Expj(TOpenCLValue X)Computes the e^xj function from the source.
3clVector Expj(TOpenCLVector X)Computes the e^xj function from the source.

Overload 1: clMatrix Expj(TOpenCLMatrix X)

Computes the e^xj function from the source.

#NameTypeDescription
1XTOpenCLMatrixsource TOpenCLMatrix

Returns: clMatrix

Remarks:

Internally calls Dew.Math.clMatrix.Expj

Overload 2: clValue Expj(TOpenCLValue X)

Computes the e^xj function from the source.

#NameTypeDescription
1XTOpenCLValuesource TOpenCLValue

Returns: clValue

Remarks:

Internally calls Dew.Math.clValue.Expj

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(2);
            a.Expj(b);  // a = e^(2i)
        }
        finally
        {
            clMtxVec.FreeIt(ref a, ref b);
        }
    }
}

Overload 3: clVector Expj(TOpenCLVector X)

Computes the e^xj function from the source.

#NameTypeDescription
1XTOpenCLVectorsource TOpenCLVector

Returns: clVector

Remarks:

Internally calls Dew.Math.clVector.Expj