Overload List
| # | Signature | Description |
|---|---|---|
| 1 | clMatrix Rem(TOpenCLMatrix X, TOpenCLMatrix Y) | Return reminder after division of X by Y. |
| 2 | clValue Rem(TOpenCLValue X, TOpenCLValue Y) | Return reminder after division of X by Y. |
| 3 | clVector Rem(TOpenCLVector X, TOpenCLVector Y) | Return reminder after division of X by Y. |
Overload 1: clMatrix Rem(TOpenCLMatrix X, TOpenCLMatrix Y)
Return reminder after division of X by Y.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TOpenCLMatrix | source TOpenCLMatrix |
| 2 | Y | TOpenCLMatrix | source TOpenCLMatrix |
Returns: clMatrix
Remarks:
Internally calls Dew.Math.clMatrix.Rem
Overload 2: clValue Rem(TOpenCLValue X, TOpenCLValue Y)
Return reminder after division of X by Y.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TOpenCLValue | source TOpenCLValue |
| 2 | Y | TOpenCLValue | source TOpenCLValue |
Returns: clValue
Remarks:
Internally calls Dew.Math.clValue.Rem
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
{
a.Copy(4);
b.Copy(3);
c.Rem(a,b); // c = Rem(4,3)
}
finally
{
clMtxVec.FreeIt(ref a,ref b,ref c);
}
}
}
Overload 3: clVector Rem(TOpenCLVector X, TOpenCLVector Y)
Return reminder after division of X by Y.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TOpenCLVector | source TOpenCLVector |
| 2 | Y | TOpenCLVector | source TOpenCLVector |
Returns: clVector
Remarks:
Internally calls Dew.Math.clVector.Rem