Overload List
| # | Signature | Description |
|---|---|---|
| 1 | clMatrix ThreshBottom(TOpenCLMatrix X, Double Value) | Limit the smallest value in the source data. |
| 2 | clValue ThreshBottom(TOpenCLValue X, Double Value) | Limit the smallest value in the source data. |
| 3 | clVector ThreshBottom(TOpenCLVector X, Double Value) | Limit the smallest value in the source data. |
Overload 1: clMatrix ThreshBottom(TOpenCLMatrix X, Double Value)
Limit the smallest value in the source data.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TOpenCLMatrix | source TOpenCLMatrix |
| 2 | Value | Double | scalar |
Returns: clMatrix
Remarks:
Internally calls Dew.Math.clMatrix.ThreshBottom
Overload 2: clValue ThreshBottom(TOpenCLValue X, Double Value)
Limit the smallest value in the source data.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TOpenCLValue | source TOpenCLValue |
| 2 | Value | Double | scalar |
Returns: clValue
Remarks:
Internally calls Dew.Math.clValue.ThreshBottom
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(0.1);
a.ThreshBottom(b, 0.2); // a = [0.2]
}
finally
{
clMtxVec.FreeIt(ref a, ref b);
}
}
}
Overload 3: clVector ThreshBottom(TOpenCLVector X, Double Value)
Limit the smallest value in the source data.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TOpenCLVector | source TOpenCLVector |
| 2 | Value | Double | scalar |
Returns: clVector
Remarks:
Internally calls Dew.Math.clVector.ThreshBottom