Click or drag to resize

VectorMathAny(Single, FuncSingle, 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 float[] vector,
	Func<float, bool> predicate
)

Parameters

vector  Single
The vector.
predicate  FuncSingle, 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 Single. 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