Constructs a DoubleComplexSparseVector instance sized for the given number
of non-zero entries. The resulting instance will not be useable until
the
CopyC# and
CopyC# arrays are populated.
Namespace:
CenterSpace.NMath.MatrixEntries
Indices
Assembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public DoubleComplexSparseVector( int capacity ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ capacity As Integer _ ) |
| Visual C++ |
|---|
public: DoubleComplexSparseVector( int capacity ) |
Parameters
- capacity
- Type: System..::.Int32
The number of non-zero entries in the sparse vector.
Remarks
The
CopyC# and
CopyC# properties
will yield arrays of length
CopyC# and will be
filled with zeros and the NumberNonzero will yield zero.
Entries
Indices
numberNonZero