| 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.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public FloatMatrix(
int rows,
int cols,
float initialValue,
float increment
)
Public Sub New (
rows As Integer,
cols As Integer,
initialValue As Single,
increment As Single
)
public:
FloatMatrix(
int rows,
int cols,
float initialValue,
float increment
)
new :
rows : int *
cols : int *
initialValue : float32 *
increment : float32 -> FloatMatrix
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:
A[i,j] = initialValue + (i+j)*increment
See Also