Overload List
Overload 1: clMatrix Power(TCplx Base, TOpenCLMatrix Exponent)
Compute the power function.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Base | TCplx | scalar |
| 2 | Exponent | TOpenCLMatrix | source TOpenCLMatrix |
Returns: clMatrix
Internally calls Dew.Math.clMatrix.Power
Overload 2: clValue Power(TCplx Base, TOpenCLValue Exponent)
Compute the power function.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Base | TCplx | scalar |
| 2 | Exponent | TOpenCLValue | source TOpenCLValue |
Returns: clValue
Internally calls Dew.Math.clValue.Power
Overload 3: clVector Power(TCplx Base, TOpenCLVector Exponent)
Compute the power function.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Base | TCplx | scalar |
| 2 | Exponent | TOpenCLVector | source TOpenCLVector |
Returns: clVector
Internally calls Dew.Math.clVector.Power
Overload 4: clMatrix Power(TOpenCLMatrix Base, TCplx Exponent)
Compute the power function.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Base | TOpenCLMatrix | source TOpenCLMatrix |
| 2 | Exponent | TCplx | scalar |
Returns: clMatrix
Internally calls Dew.Math.clMatrix.Power
Overload 5: clMatrix Power(TOpenCLMatrix Base, TOpenCLMatrix Exponent)
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Base | TOpenCLMatrix | source TOpenCLMatrix |
| 2 | Exponent | TOpenCLMatrix | source TOpenCLMatrix |
Returns: clMatrix
Overload 6: clMatrix Power(TOpenCLMatrix Base, Double Exponent)
Compute the power function.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Base | TOpenCLMatrix | source TOpenCLMatrix |
| 2 | Exponent | Double | scalar |
Returns: clMatrix
Internally calls Dew.Math.clMatrix.Power
Overload 7: clValue Power(TOpenCLValue Base, TCplx Exponent)
Compute the power function.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Base | TOpenCLValue | source TOpenCLValue |
| 2 | Exponent | TCplx | scalar |
Returns: clValue
Internally calls Dew.Math.clValue.Power
Overload 8: clValue Power(TOpenCLValue Base, TOpenCLValue Exponent)
Compute the power function.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Base | TOpenCLValue | source TOpenCLValue |
| 2 | Exponent | TOpenCLValue | source TOpenCLValue |
Returns: clValue
Internally calls Dew.Math.clValue.Power
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.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Base | TOpenCLValue | source TOpenCLValue |
| 2 | Exponent | Double | scalar |
Returns: clValue
Internally calls Dew.Math.clValue.Power
Overload 10: clVector Power(TOpenCLVector Base, TCplx Exponent)
Compute the power function.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Base | TOpenCLVector | source TOpenCLVector |
| 2 | Exponent | TCplx | scalar |
Returns: clVector
Internally calls Dew.Math.clVector.Power
Overload 11: clVector Power(TOpenCLVector Base, TOpenCLVector Exponent)
Compute the power function.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Base | TOpenCLVector | source TOpenCLVector |
| 2 | Exponent | TOpenCLVector | source TOpenCLVector |
Returns: clVector
Internally calls Dew.Math.clVector.Power
Overload 12: clVector Power(TOpenCLVector Base, Double Exponent)
Compute the power function.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Base | TOpenCLVector | source TOpenCLVector |
| 2 | Exponent | Double | scalar |
Returns: clVector
Internally calls Dew.Math.clVector.Power
Overload 13: clMatrix Power(Double Base, TOpenCLMatrix Exponent)
Compute the power function.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Base | Double | scalar |
| 2 | Exponent | TOpenCLMatrix | source TOpenCLMatrix |
Returns: clMatrix
Internally calls Dew.Math.clMatrix.Power
Overload 14: clValue Power(Double Base, TOpenCLValue Exponent)
Compute the power function.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Base | Double | scalar |
| 2 | Exponent | TOpenCLValue | source TOpenCLValue |
Returns: clValue
Internally calls Dew.Math.clValue.Power
Overload 15: clVector Power(Double Base, TOpenCLVector Exponent)
Compute the power function.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Base | Double | scalar |
| 2 | Exponent | TOpenCLVector | source TOpenCLVector |
Returns: clVector
Internally calls Dew.Math.clVector.Power