Click or drag to resize

MatrixTFoldRowsTU Method

Applies a function f to each row vector, threading an accumulator vector argument through the computation. Returns the resulting accumulator vector.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public Vector<TU> FoldRows<TU>(
	Func<Vector<TU>, Vector<T>, Vector<TU>> f,
	Vector<TU> state
)
where TU : struct, new(), IEquatable<TU>, IFormattable

Parameters

f  FuncVectorTU, VectorT, VectorTU

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

state  VectorTU

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

Type Parameters

TU

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

Return Value

VectorTU

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

See Also