Vector<T>.Find Method

Enumerates the indexes that match a condition.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public IEnumerable<int> Find(
	Func<T, bool> condition
)

Parameters

condition  Func<T, Boolean>
A delegate that represents a predicate that specifies the condition to test.

Return Value

IEnumerable<Int32>
An IEnumerable<T> of integers that enumerates the indexes of the elements in the vector for which condition returns true.

See Also