| FloatComplexMatrix(Int32, Int32, FloatComplexDataBlock) Constructor |
Constructs a FloatComplexMatrix instance from a data block.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public FloatComplexMatrix(
int rows,
int cols,
FloatComplexDataBlock data
)
Public Sub New (
rows As Integer,
cols As Integer,
data As FloatComplexDataBlock
)
public:
FloatComplexMatrix(
int rows,
int cols,
FloatComplexDataBlock^ data
)
new :
rows : int *
cols : int *
data : FloatComplexDataBlock -> FloatComplexMatrix
Parameters
- rows Int32
- The number of rows.
- cols Int32
- The number of cols.
- data FloatComplexDataBlock
- A data block.
Exceptions Remarks
No data is copied. The new matrix references the given data block.
Example
This code creates a FloatComplexMatrix that references a
one-dimensional array
array with
12 elements:
FloatComplexDataBlock data = new FloatComplexDataBlock( array, 0 );
FloatComplexMatrix A = new FloatComplexMatrix( 4, 3, data );
See Also