| DoubleComplexMatrix(Int32, Int32, DoubleComplexDataBlock) Constructor |
Constructs a DoubleComplexMatrix instance from a data block.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public DoubleComplexMatrix(
int rows,
int cols,
DoubleComplexDataBlock data
)
Public Sub New (
rows As Integer,
cols As Integer,
data As DoubleComplexDataBlock
)
public:
DoubleComplexMatrix(
int rows,
int cols,
DoubleComplexDataBlock^ data
)
new :
rows : int *
cols : int *
data : DoubleComplexDataBlock -> DoubleComplexMatrix
Parameters
- rows Int32
- The number of rows.
- cols Int32
- The number of cols.
- data DoubleComplexDataBlock
- A data block.
Exceptions 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:
DoubleComplexDataBlock data = new DoubleComplexDataBlock( array, 0 );
DoubleComplexMatrix A = new DoubleComplexMatrix( 4, 3, data );
See Also