Click or drag to resize

VectorStorageTFind2TOther Method

Finds the first pair of elements from two storages that matches 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 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, TOther
The index and values of the first matching pair, or if none matches.
See Also