ClMtxExpr.Power Method

Overload List

#SignatureDescription
1clMatrix Power(TCplx Base, TOpenCLMatrix Exponent)Result = the power function
2clValue Power(TCplx Base, TOpenCLValue Exponent)Result = the power function
3clVector Power(TCplx Base, TOpenCLVector Exponent)Result = the power function
4clMatrix Power(TOpenCLMatrix Base, TCplx Exponent)Result = the power function
5clMatrix Power(TOpenCLMatrix Base, TOpenCLMatrix Exponent)
6clMatrix Power(TOpenCLMatrix Base, Double Exponent)Result = the power function
7clValue Power(TOpenCLValue Base, TCplx Exponent)Result = the power function
8clValue Power(TOpenCLValue Base, TOpenCLValue Exponent)Result = the power function
9clValue Power(TOpenCLValue Base, Double Exponent)Result = the power function
10clVector Power(TOpenCLVector Base, TCplx Exponent)Result = the power function
11clVector Power(TOpenCLVector Base, TOpenCLVector Exponent)Result = the power function
12clVector Power(TOpenCLVector Base, Double Exponent)Result = the power function
13clMatrix Power(Double Base, TOpenCLMatrix Exponent)Result = the power function
14clValue Power(Double Base, TOpenCLValue Exponent)Result = the power function
15clVector Power(Double Base, TOpenCLVector Exponent)Result = the power function

Overload 1: clMatrix Power(TCplx Base, TOpenCLMatrix Exponent)

Compute the power function.

#NameTypeDescription
1BaseTCplxscalar
2ExponentTOpenCLMatrixsource TOpenCLMatrix

Returns: clMatrix

Remarks:

Internally calls Dew.Math.clMatrix.Power

Overload 2: clValue Power(TCplx Base, TOpenCLValue Exponent)

Compute the power function.

#NameTypeDescription
1BaseTCplxscalar
2ExponentTOpenCLValuesource TOpenCLValue

Returns: clValue

Remarks:

Internally calls Dew.Math.clValue.Power

Overload 3: clVector Power(TCplx Base, TOpenCLVector Exponent)

Compute the power function.

#NameTypeDescription
1BaseTCplxscalar
2ExponentTOpenCLVectorsource TOpenCLVector

Returns: clVector

Remarks:

Internally calls Dew.Math.clVector.Power

Overload 4: clMatrix Power(TOpenCLMatrix Base, TCplx Exponent)

Compute the power function.

#NameTypeDescription
1BaseTOpenCLMatrixsource TOpenCLMatrix
2ExponentTCplxscalar

Returns: clMatrix

Remarks:

Internally calls Dew.Math.clMatrix.Power

Overload 5: clMatrix Power(TOpenCLMatrix Base, TOpenCLMatrix Exponent)

#NameTypeDescription
1BaseTOpenCLMatrixsource TOpenCLMatrix
2ExponentTOpenCLMatrixsource TOpenCLMatrix

Returns: clMatrix

Overload 6: clMatrix Power(TOpenCLMatrix Base, Double Exponent)

Compute the power function.

#NameTypeDescription
1BaseTOpenCLMatrixsource TOpenCLMatrix
2ExponentDoublescalar

Returns: clMatrix

Remarks:

Internally calls Dew.Math.clMatrix.Power

Overload 7: clValue Power(TOpenCLValue Base, TCplx Exponent)

Compute the power function.

#NameTypeDescription
1BaseTOpenCLValuesource TOpenCLValue
2ExponentTCplxscalar

Returns: clValue

Remarks:

Internally calls Dew.Math.clValue.Power

Overload 8: clValue Power(TOpenCLValue Base, TOpenCLValue Exponent)

Compute the power function.

#NameTypeDescription
1BaseTOpenCLValuesource TOpenCLValue
2ExponentTOpenCLValuesource TOpenCLValue

Returns: clValue

Remarks:

Internally calls Dew.Math.clValue.Power

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

namespace Dew.Examples
{
    void Example()
    {
        TOpenCLValue a,b,c;
        clMtxVec.CreateIt(out a, out b, out c);
        try
        {
            b.Copy(2.3);
            c.Copy(4);
            a.Power(b, c);  // a = b^c
        }
        finally
        {
            clMtxVec.FreeIt(ref a, ref b, ref c);
        }
    }
}

Overload 9: clValue Power(TOpenCLValue Base, Double Exponent)

Compute the power function.

#NameTypeDescription
1BaseTOpenCLValuesource TOpenCLValue
2ExponentDoublescalar

Returns: clValue

Remarks:

Internally calls Dew.Math.clValue.Power

Overload 10: clVector Power(TOpenCLVector Base, TCplx Exponent)

Compute the power function.

#NameTypeDescription
1BaseTOpenCLVectorsource TOpenCLVector
2ExponentTCplxscalar

Returns: clVector

Remarks:

Internally calls Dew.Math.clVector.Power

Overload 11: clVector Power(TOpenCLVector Base, TOpenCLVector Exponent)

Compute the power function.

#NameTypeDescription
1BaseTOpenCLVectorsource TOpenCLVector
2ExponentTOpenCLVectorsource TOpenCLVector

Returns: clVector

Remarks:

Internally calls Dew.Math.clVector.Power

Overload 12: clVector Power(TOpenCLVector Base, Double Exponent)

Compute the power function.

#NameTypeDescription
1BaseTOpenCLVectorsource TOpenCLVector
2ExponentDoublescalar

Returns: clVector

Remarks:

Internally calls Dew.Math.clVector.Power

Overload 13: clMatrix Power(Double Base, TOpenCLMatrix Exponent)

Compute the power function.

#NameTypeDescription
1BaseDoublescalar
2ExponentTOpenCLMatrixsource TOpenCLMatrix

Returns: clMatrix

Remarks:

Internally calls Dew.Math.clMatrix.Power

Overload 14: clValue Power(Double Base, TOpenCLValue Exponent)

Compute the power function.

#NameTypeDescription
1BaseDoublescalar
2ExponentTOpenCLValuesource TOpenCLValue

Returns: clValue

Remarks:

Internally calls Dew.Math.clValue.Power

Overload 15: clVector Power(Double Base, TOpenCLVector Exponent)

Compute the power function.

#NameTypeDescription
1BaseDoublescalar
2ExponentTOpenCLVectorsource TOpenCLVector

Returns: clVector

Remarks:

Internally calls Dew.Math.clVector.Power