Click or drag to resize

DenseMatrixCreateDiagonal(Int32, Int32, FuncInt32, Single) Method

Create a new diagonal dense matrix and initialize each diagonal value using the provided init function.

Namespace: Altaxo.Calc.LinearAlgebra.Single
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static DenseMatrix CreateDiagonal(
	int rows,
	int columns,
	Func<int, float> init
)

Parameters

rows  Int32

[Missing <param name="rows"/> documentation for "M:Altaxo.Calc.LinearAlgebra.Single.DenseMatrix.CreateDiagonal(System.Int32,System.Int32,System.Func{System.Int32,System.Single})"]

columns  Int32

[Missing <param name="columns"/> documentation for "M:Altaxo.Calc.LinearAlgebra.Single.DenseMatrix.CreateDiagonal(System.Int32,System.Int32,System.Func{System.Int32,System.Single})"]

init  FuncInt32, Single

[Missing <param name="init"/> documentation for "M:Altaxo.Calc.LinearAlgebra.Single.DenseMatrix.CreateDiagonal(System.Int32,System.Int32,System.Func{System.Int32,System.Single})"]

Return Value

DenseMatrix

[Missing <returns> documentation for "M:Altaxo.Calc.LinearAlgebra.Single.DenseMatrix.CreateDiagonal(System.Int32,System.Int32,System.Func{System.Int32,System.Single})"]

See Also