| DoubleComplexSparseVector(DoubleComplex, IndexArray, Int32, Boolean) Constructor |
Constructs a DoubleComplexSparseVector instance from the given data.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public DoubleComplexSparseVector(
DoubleComplex[] nonZeroEntries,
IndexArray indices,
int numberNonZero,
bool copyData
)
Public Sub New (
nonZeroEntries As DoubleComplex(),
indices As IndexArray,
numberNonZero As Integer,
copyData As Boolean
)
public:
DoubleComplexSparseVector(
array<DoubleComplex>^ nonZeroEntries,
IndexArray^ indices,
int numberNonZero,
bool copyData
)
new :
nonZeroEntries : DoubleComplex[] *
indices : IndexArray *
numberNonZero : int *
copyData : bool -> DoubleComplexSparseVector
Parameters
- nonZeroEntries DoubleComplex
- The non-zero entries of the sparse
vector.
- indices IndexArray
- The indices of the non-zero entries such that
the index of ith entry of is
.
- numberNonZero Int32
- The number of non-zero entries in the
sparse vector.
- copyData Boolean
- If true the input data will be copied. If false the
resulting instance will reference the input data.
Exceptions See Also