Constructs a DoubleComplexSparseVector instance from the given data.

Namespace:  CenterSpace.NMath.Matrix
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public DoubleComplexSparseVector(
	DoubleComplex[] nonZeroEntries,
	IndexArray indices
)
Visual Basic (Declaration)
Public Sub New ( _
	nonZeroEntries As DoubleComplex(), _
	indices As IndexArray _
)
Visual C++
public:
DoubleComplexSparseVector(
	array<DoubleComplex>^ nonZeroEntries, 
	IndexArray^ indices
)

Parameters

nonZeroEntries
Type: array< CenterSpace.NMath.Core..::.DoubleComplex >[]()[]
The non-zero entries of the sparse vector.
indices
Type: CenterSpace.NMath.Matrix..::.IndexArray
The indices of the non-zero entries such that the index of ith non-zero entry is
CopyC#
indices[i]

Remarks

The input data is copied.

See Also