Matrix.Create Constant<T> Method
Constructs a new constant matrix.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A ConstantVector<T>.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static ConstantMatrix<T> CreateConstant<T>(
int rowCount,
int columnCount,
T value
)
Parameters
- rowCount Int32
- The number of rows.
- columnCount Int32
- The number of columns.
- value T
- The constant value of all the elements.
Type Parameters
- T
Return Value
ConstantMatrix<T>A ConstantVector<T>.
Remarks
The values of the elements cannot be changed.