Click or drag to resize

FloatMatrix(Int32, Int32, Single, Single) Constructor

Constructs a FloatMatrix 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 FloatMatrix(
	int rows,
	int cols,
	float initialValue,
	float increment
)

Parameters

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