public static class AngleSlopeVector.Abs.Sparse extends AngleSlopeVector.Abs implements SparseData
AngleSlopeVector.Abs.Dense, AngleSlopeVector.Abs.SparseDoubleVector.Abs<U extends Unit<U>>, DoubleVector.Rel<U extends Unit<U>>data| Constructor and Description |
|---|
Sparse(AngleSlope.Abs[] values)
Construct a new Absolute Sparse Immutable DoubleVector.
|
Sparse(double[] values,
AngleSlopeUnit unit)
Construct a new Absolute Sparse Immutable DoubleVector.
|
Sparse(SortedMap<Integer,Double> values,
AngleSlopeUnit unit,
int angleslope)
Construct a new Absolute Sparse Immutable DoubleVector.
|
Sparse(SortedMap<Integer,DoubleScalar.Abs<AngleSlopeUnit>> values,
int angleslope)
Construct a new Absolute Sparse Immutable DoubleVector.
|
| Modifier and Type | Method and Description |
|---|---|
protected DoubleVectorDataSparse |
getData() |
MutableAngleSlopeVector.Abs |
mutable()
Create a mutable version of this DoubleVector.
|
AngleSlopeVector.Abs |
toDense()
Create a dense version of this DoubleVector.
|
AngleSlopeVector.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, AngleSlopeUnit unit, int angleslope) 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 DoubleVectorangleslope - the size of the vectorValueException - when values is nullpublic Sparse(SortedMap<Integer,DoubleScalar.Abs<AngleSlopeUnit>> values, int angleslope) throws ValueException
values - DoubleScalar.Abs<U>[]; the values of the entries in the new Absolute Sparse Immutable
DoubleVectorangleslope - the size of the vectorValueException - when values has zero entriespublic Sparse(double[] values,
AngleSlopeUnit 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(AngleSlope.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 MutableAngleSlopeVector.Abs mutable()
mutable in interface DoubleVectorInterface<AngleSlopeUnit>mutable in class AngleSlopeVector.Absprotected final DoubleVectorDataSparse getData()
getData in class DoubleVector<AngleSlopeUnit>public AngleSlopeVector.Abs toDense()
toDense in interface DoubleVectorInterface<AngleSlopeUnit>toDense in class AngleSlopeVector.Abspublic AngleSlopeVector.Abs toSparse()
toSparse in interface DoubleVectorInterface<AngleSlopeUnit>toSparse in class AngleSlopeVector.AbsCopyright © 2015 Delft University of Technology. All rights reserved.