| FloatComplexSparseVector(FloatComplex, IndexArray) Constructor |
Constructs a FloatComplexSparseVector instance from the given data.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public FloatComplexSparseVector(
FloatComplex[] nonZeroEntries,
IndexArray indices
)
Public Sub New (
nonZeroEntries As FloatComplex(),
indices As IndexArray
)
public:
FloatComplexSparseVector(
array<FloatComplex>^ nonZeroEntries,
IndexArray^ indices
)
new :
nonZeroEntries : FloatComplex[] *
indices : IndexArray -> FloatComplexSparseVector
Parameters
- nonZeroEntries FloatComplex
- 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