Click or drag to resize

DoubleComplexMatrix(Int32, Int32, DoubleComplexDataBlock) Constructor

Constructs a DoubleComplexMatrix instance from a data block.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public DoubleComplexMatrix(
	int rows,
	int cols,
	DoubleComplexDataBlock data
)

Parameters

rows  Int32
The number of rows.
cols  Int32
The number of cols.
data  DoubleComplexDataBlock
A data block.
Exceptions
ExceptionCondition
MismatchedSizeException Thrown if data.Length != rows * cols.
Remarks
No data is copied. The new matrix references the given data block.
Example
This code creates a DoubleComplexMatrix that references a one-dimensional array array with 12 elements:
C#
DoubleComplexDataBlock data = new DoubleComplexDataBlock( array, 0 );
DoubleComplexMatrix A = new DoubleComplexMatrix( 4, 3, data );
See Also