Click or drag to resize

DoubleMatrix(Int32, Int32, Double, Double) Constructor

Constructs a DoubleMatrix instance of the specifed dimensions. Values are initialized starting with a given initial value, incremented by the specified amount for each element in the matrix.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public DoubleMatrix(
	int rows,
	int cols,
	double initialValue,
	double increment
)

Parameters

rows  Int32
The number of rows.
cols  Int32
The number of columns.
initialValue  Double
The starting initialization value.
increment  Double
The amount to increment successive initialization values.
Remarks
Constructs a matrix A such that:
C#
A[i,j] = initialValue + (i+j)*increment
See Also