Enumerates the indexes that match a condition.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public IEnumerable<int> Find(
Func<T, bool> condition
)
Public Function Find (
condition As Func(Of T, Boolean)
) As IEnumerable(Of Integer)
public:
IEnumerable<int>^ Find(
Func<T, bool>^ condition
)
member Find :
condition : Func<'T, bool> -> IEnumerable<int>
Parameters
- condition
- Type: SystemFuncT, Boolean
A delegate that represents a predicate that
specifies the condition to test.
Return Value
Type:
IEnumerableInt32An
IEnumerableT of integers that enumerates the indexes
of the elements in the vector for which
condition
returns
.
Reference