Click or drag to resize

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.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public FloatComplexMatrix(
	int rows,
	int cols,
	FloatComplex[] data,
	StorageType storage
)

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