Click or drag to resize

VectorMathIsStrictlyIncreasingOrDecreasing(IReadOnlyListDouble, Boolean) Method

Returns true if the sequence given by the vector argument is strictly increasing or decreasing.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static bool IsStrictlyIncreasingOrDecreasing(
	this IReadOnlyList<double> vector,
	out bool isDecreasing
)

Parameters

vector  IReadOnlyListDouble
Vector (sequence) to test.
isDecreasing  Boolean
On return, this argument is set to true if the sequence is strictly decreasing. If increasing, this argument is set to false.

Return Value

Boolean
True if the sequence is strictly increasing or decreasing.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IReadOnlyListDouble. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also