Click or drag to resize

MatrixStorageTFind2TOther Method

Finds the first pair of elements from two matrices that matches a 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, int, T, TOther> Find2<TOther>(
	MatrixStorage<TOther> other,
	Func<T, TOther, bool> predicate,
	Zeros zeros
)
where TOther : struct, new(), IEquatable<TOther>, IFormattable

Parameters

other  MatrixStorageTOther
The other matrix storage.
predicate  FuncT, TOther, Boolean
The predicate used to test value pairs.
zeros  Zeros
How zeros are handled during the search.

Type Parameters

TOther
The element type of the other matrix.

Return Value

TupleInt32, Int32, T, TOther
The first matching indexed value pair, or if none is found.
See Also