| FloatComplexMatrix(Int32, Int32, FloatComplex, StorageType) Constructor |
Constructs a FloatComplexMatrix instance of the specified dimensions,
initialized with the values in a given array.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public FloatComplexMatrix(
int rows,
int cols,
FloatComplex[] data,
StorageType storage
)
Public Sub New (
rows As Integer,
cols As Integer,
data As FloatComplex(),
storage As StorageType
)
public:
FloatComplexMatrix(
int rows,
int cols,
array<FloatComplex>^ data,
StorageType storage
)
new :
rows : int *
cols : int *
data : FloatComplex[] *
storage : StorageType -> FloatComplexMatrix
Parameters
- rows Int32
- The number of rows.
- cols Int32
- The number of columns.
- data FloatComplex
- An array containing data values.
- storage StorageType
- The storage scheme: row-major order or column-major
order.
Remarks
The data in the array may be laid out row by row, or column by column.
If there are fewer data values than matrix elements, the remaining
matrix elements are set to zero. If there are more data values than
matrix elements, the extra data values are ignored.
Data is copied. To construct a matrix from a one-dimensional array without
copying data, see the constructor that takes a data block,
FloatComplexMatrix(Int32, Int32, FloatComplexDataBlock).
See Also