| FloatComplexBandMatrix(FloatComplexVector, Int32, Int32, Int32, Int32) Constructor |
Constructs a FloatComplexBandMatrix instance with the specified dimensions and
upper and lower bandwidths using the data in the given vector.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public FloatComplexBandMatrix(
FloatComplexVector data,
int rows,
int cols,
int lowerBandwidth,
int upperBandwidth
)
Public Sub New (
data As FloatComplexVector,
rows As Integer,
cols As Integer,
lowerBandwidth As Integer,
upperBandwidth As Integer
)
public:
FloatComplexBandMatrix(
FloatComplexVector^ data,
int rows,
int cols,
int lowerBandwidth,
int upperBandwidth
)
new :
data : FloatComplexVector *
rows : int *
cols : int *
lowerBandwidth : int *
upperBandwidth : int -> FloatComplexBandMatrix
Parameters
- data FloatComplexVector
- The matrix data.
- rows Int32
- The number of matrix rows.
- cols Int32
- The number of matrix columns.
- lowerBandwidth Int32
- The lower bandwidth.
- upperBandwidth Int32
- The upper bandwidth.
Exceptions Exception | Condition |
---|
InvalidArgumentException | Thrown if the number
of rows is less than the bandwidth of the matrix or the data vector
has length less than (lowerBandwidth + upperBandWidth +1) * cols |
Remarks
The data in the vector must in the format described in the class
summary. The resultant matrix will reference the data in the vector
data.
See Also