Click or drag to resize

MatrixTFind2TOther Method

Returns a tuple with the index and values of the first element pair of two matrices of the same size satisfying a predicate, or null if none is found. Zero elements may be skipped on sparse data structures if allowed (default).

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public Tuple<int, int, T, TOther> Find2<TOther>(
	Func<T, TOther, bool> predicate,
	Matrix<TOther> other,
	Zeros zeros = Zeros.AllowSkip
)
where TOther : struct, new(), IEquatable<TOther>, IFormattable

Parameters

predicate  FuncT, TOther, Boolean

[Missing <param name="predicate"/> documentation for "M:Altaxo.Calc.LinearAlgebra.Matrix`1.Find2``1(System.Func{`0,``0,System.Boolean},Altaxo.Calc.LinearAlgebra.Matrix{``0},Altaxo.Calc.LinearAlgebra.Zeros)"]

other  MatrixTOther

[Missing <param name="other"/> documentation for "M:Altaxo.Calc.LinearAlgebra.Matrix`1.Find2``1(System.Func{`0,``0,System.Boolean},Altaxo.Calc.LinearAlgebra.Matrix{``0},Altaxo.Calc.LinearAlgebra.Zeros)"]

zeros  Zeros  (Optional)

[Missing <param name="zeros"/> documentation for "M:Altaxo.Calc.LinearAlgebra.Matrix`1.Find2``1(System.Func{`0,``0,System.Boolean},Altaxo.Calc.LinearAlgebra.Matrix{``0},Altaxo.Calc.LinearAlgebra.Zeros)"]

Type Parameters

TOther

[Missing <typeparam name="TOther"/> documentation for "M:Altaxo.Calc.LinearAlgebra.Matrix`1.Find2``1(System.Func{`0,``0,System.Boolean},Altaxo.Calc.LinearAlgebra.Matrix{``0},Altaxo.Calc.LinearAlgebra.Zeros)"]

Return Value

TupleInt32, Int32, T, TOther

[Missing <returns> documentation for "M:Altaxo.Calc.LinearAlgebra.Matrix`1.Find2``1(System.Func{`0,``0,System.Boolean},Altaxo.Calc.LinearAlgebra.Matrix{``0},Altaxo.Calc.LinearAlgebra.Zeros)"]

See Also