Click or drag to resize

DoubleComplexMatrix(Int32, Int32, DoubleComplex, StorageType) Constructor

Constructs a DoubleComplexMatrix 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 DoubleComplexMatrix(
	int rows,
	int cols,
	DoubleComplex[] data,
	StorageType storage
)

Parameters

rows  Int32
The number of rows.
cols  Int32
The number of columns.
data  DoubleComplex
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, DoubleComplexMatrix(Int32, Int32, DoubleComplexDataBlock).
See Also