VectorStorageTFind2TOther Method |
Finds the first pair of elements from two storages that matches the specified predicate.
Namespace: Altaxo.Calc.LinearAlgebra.StorageAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic Tuple<int, T, TOther> Find2<TOther>(
VectorStorage<TOther> other,
Func<T, TOther, bool> predicate,
Zeros zeros
)
where TOther : struct, new(), IEquatable<TOther>, IFormattable
Parameters
- other VectorStorageTOther
- The other storage.
- predicate FuncT, TOther, Boolean
- The predicate to test pairs of elements.
- zeros Zeros
- Specifies how zero values are treated.
Type Parameters
- TOther
- The element type of the other storage.
Return Value
TupleInt32,
T,
TOtherThe index and values of the first matching pair, or
if none matches.
See Also