MathUtilAllPositive Method (Double, Int32, Int32) |
Checks if vector xTable has all positive elements
Namespace:
DHI.Mike1D.Generic
Assembly:
DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax public static bool AllPositive(
double[] xTable,
int startIndex,
int length
)
Public Shared Function AllPositive (
xTable As Double(),
startIndex As Integer,
length As Integer
) As Boolean
public:
static bool AllPositive(
array<double>^ xTable,
int startIndex,
int length
)
Parameters
- xTable
- Type: SystemDouble
Vector that must be checked - startIndex
- Type: SystemInt32
First index to check - length
- Type: SystemInt32
Number of elements to check
Return Value
Type:
BooleanTrue all elements are positive
See Also