MathUtilAllPositive(Double, Int32, Int32) Method

Checks if vector xTable has all positive elements

Definition

Namespace: DHI.Mike1D.Generic
Assembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public static bool AllPositive(
	double[] xTable,
	int startIndex,
	int length
)

Parameters

xTable  Double
Vector that must be checked
startIndex  Int32
First index to check
length  Int32
Number of elements to check

Return Value

Boolean
True all elements are positive

See Also