Click or drag to resize

VectorMathAny(Int32, FuncInt32, Boolean) Method

Determines whether any element of the vector satisfies a condition.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static bool Any(
	this int[] vector,
	Func<int, bool> predicate
)

Parameters

vector  Int32
The vector.
predicate  FuncInt32, Boolean
The condition to satisfy.

Return Value

Boolean
True if any element of the vector satisfies the condition; false otherwise, or if the vector is null.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Int32. 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