Click or drag to resize

FloatComplexMatrix(Int32, Int32, FloatComplexDataBlock) Constructor

Constructs a FloatComplexMatrix instance from a data block.

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

Parameters

rows  Int32
The number of rows.
cols  Int32
The number of cols.
data  FloatComplexDataBlock
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 FloatComplexMatrix that references a one-dimensional array array with 12 elements:
C#
FloatComplexDataBlock data = new FloatComplexDataBlock( array, 0 );
FloatComplexMatrix A = new FloatComplexMatrix( 4, 3, data );
See Also