SparseVectorStorageTFind Method |
Finds the first element matching the specified predicate.
Namespace: Altaxo.Calc.LinearAlgebra.StorageAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic 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,
TThe index and value of the first matching element, or
if none matches.
See Also