Click or drag to resize

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
)

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: Boolean
True all elements are positive
See Also