Click or drag to resize

DiagonalMatrixCreateRandom Method

Create a new diagonal matrix with diagonal values sampled from the provided random distribution.

Namespace: Altaxo.Calc.LinearAlgebra.Double
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static DiagonalMatrix CreateRandom(
	int rows,
	int columns,
	IContinuousDistribution distribution
)

Parameters

rows  Int32
The number of rows.
columns  Int32
The number of columns.
distribution  IContinuousDistribution
The distribution used to generate values.

Return Value

DiagonalMatrix
The created diagonal matrix.
See Also