public static class AnglePlaneVector.Abs.Sparse extends AnglePlaneVector.Abs implements SparseData
AnglePlaneVector.Abs.Dense, AnglePlaneVector.Abs.SparseDoubleVector.Abs<U extends Unit<U>>, DoubleVector.Rel<U extends Unit<U>>data| Constructor and Description |
|---|
Sparse(AnglePlane.Abs[] values)
Construct a new Absolute Sparse Immutable DoubleVector.
|
Sparse(double[] values,
AnglePlaneUnit unit)
Construct a new Absolute Sparse Immutable DoubleVector.
|
Sparse(SortedMap<Integer,Double> values,
AnglePlaneUnit unit,
int angleplane)
Construct a new Absolute Sparse Immutable DoubleVector.
|
Sparse(SortedMap<Integer,DoubleScalar.Abs<AnglePlaneUnit>> values,
int angleplane)
Construct a new Absolute Sparse Immutable DoubleVector.
|
| Modifier and Type | Method and Description |
|---|---|
protected DoubleVectorDataSparse |
getData() |
MutableAnglePlaneVector.Abs |
mutable()
Create a mutable version of this DoubleVector.
|
AnglePlaneVector.Abs |
toDense()
Create a dense version of this DoubleVector.
|
AnglePlaneVector.Abs |
toSparse()
Create a sparse version of this DoubleVector.
|
get, minus, minus, plusminus, minus, pluscardinality, checkIndex, checkSize, checkSize, equals, getInUnit, getInUnit, getSI, getValuesInUnit, getValuesInUnit, getValuesSI, hashCode, initializeSparse, initializeSparseMA, initializeSparseMR, safeGet, safeSet, size, toString, toString, toString, toString, zSumexpressAsSIUnit, expressAsSpecifiedUnit, getUnit, isAbsolute, isRelativepublic Sparse(SortedMap<Integer,Double> values, AnglePlaneUnit unit, int angleplane) throws ValueException
values - Map; the map of indexes to values of the Absolute Sparse Immutable DoubleVectorunit - U; the unit of the new Absolute Sparse Immutable DoubleVectorangleplane - the size of the vectorValueException - when values is nullpublic Sparse(SortedMap<Integer,DoubleScalar.Abs<AnglePlaneUnit>> values, int angleplane) throws ValueException
values - DoubleScalar.Abs<U>[]; the values of the entries in the new Absolute Sparse Immutable
DoubleVectorangleplane - the size of the vectorValueException - when values has zero entriespublic Sparse(double[] values,
AnglePlaneUnit unit)
throws ValueException
values - double[]; the values of the entries in the new Absolute Sparse Immutable DoubleVectorunit - U; the unit of the new Absolute Sparse Immutable DoubleVectorValueException - when values is nullpublic Sparse(AnglePlane.Abs[] values) throws ValueException
values - DoubleScalar.Abs<U>[]; the values of the entries in the new Absolute Sparse Immutable
DoubleVectorValueException - when values has zero entriespublic MutableAnglePlaneVector.Abs mutable()
mutable in interface DoubleVectorInterface<AnglePlaneUnit>mutable in class AnglePlaneVector.Absprotected final DoubleVectorDataSparse getData()
getData in class DoubleVector<AnglePlaneUnit>public AnglePlaneVector.Abs toDense()
toDense in interface DoubleVectorInterface<AnglePlaneUnit>toDense in class AnglePlaneVector.Abspublic AnglePlaneVector.Abs toSparse()
toSparse in interface DoubleVectorInterface<AnglePlaneUnit>toSparse in class AnglePlaneVector.AbsCopyright © 2015 Delft University of Technology. All rights reserved.