Click or drag to resize

MatrixTFoldByRowTU Method

For each row, applies a function f to each element of the row, threading an accumulator argument through the computation. Returns an array with the resulting accumulator states for each row.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public TU[] FoldByRow<TU>(
	Func<TU, T, TU> f,
	TU state,
	Zeros zeros = Zeros.AllowSkip
)

Parameters

f  FuncTU, T, TU

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

state  TU

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

zeros  Zeros  (Optional)

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

Type Parameters

TU

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

Return Value

TU

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

See Also