| FloatComplexSparseVector(FloatComplex, IndexArray, Int32, Boolean) 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,
int numberNonZero,
bool copyData
)
Public Sub New (
nonZeroEntries As FloatComplex(),
indices As IndexArray,
numberNonZero As Integer,
copyData As Boolean
)
public:
FloatComplexSparseVector(
array<FloatComplex>^ nonZeroEntries,
IndexArray^ indices,
int numberNonZero,
bool copyData
)
new :
nonZeroEntries : FloatComplex[] *
indices : IndexArray *
numberNonZero : int *
copyData : bool -> 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 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