| DoubleComplexSparseVector(DoubleComplex, IndexArray) 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
)
Public Sub New (
nonZeroEntries As DoubleComplex(),
indices As IndexArray
)
public:
DoubleComplexSparseVector(
array<DoubleComplex>^ nonZeroEntries,
IndexArray^ indices
)
new :
nonZeroEntries : DoubleComplex[] *
indices : IndexArray -> 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 non-zero entry is
Remarks The input data is copied.
See Also