Click or drag to resize

VectorMathAny(IReadOnlyListSingle, 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 IReadOnlyList<float> vector,
	Func<float, bool> predicate
)

Parameters

vector  IReadOnlyListSingle
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 IReadOnlyListSingle. 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