Click or drag to resize

SparseVectorStorageTFind Method

Finds the first element matching the specified predicate.

Namespace: Altaxo.Calc.LinearAlgebra.Storage
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public override Tuple<int, T> Find(
	Func<T, bool> predicate,
	Zeros zeros
)

Parameters

predicate  FuncT, Boolean
The predicate to test elements.
zeros  Zeros
Specifies how zero values are treated.

Return Value

TupleInt32, T
The index and value of the first matching element, or if none matches.
See Also