public static class AngleSolidVector.Dense extends AngleSolidVector implements DenseData
AngleSolidVector.Dense, AngleSolidVector.SparseDoubleVector.Abs<U extends Unit<U>>, DoubleVector.Rel<U extends Unit<U>>data| Constructor and Description |
|---|
Dense(AngleSolid[] values)
Construct a new Relative Dense Immutable AngleSolid Vector.
|
Dense(double[] values,
AngleSolidUnit unit)
Construct a new Dense Immutable Double AngleSolid Vector.
|
Dense(List<Double> values,
AngleSolidUnit unit)
Construct a new Relative Dense Immutable DoubleVector.
|
Dense(List<DoubleScalar.Rel<AngleSolidUnit>> values)
Construct a new Relative Dense Immutable DoubleVector.
|
| Modifier and Type | Method and Description |
|---|---|
protected DoubleVectorDataDense |
getData() |
MutableAngleSolidVector |
mutable()
Create a mutable version of this DoubleVector.
|
AngleSolidVector |
toDense()
Create a dense version of this DoubleVector.
|
AngleSolidVector |
toSparse()
Create a sparse version of this DoubleVector.
|
divide, get, minus, plus, timesdivide, minus, plus, plus, timescardinality, 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 Dense(double[] values,
AngleSolidUnit unit)
throws ValueException
values - double[]; the values of the entries in the new Dense Immutable Double AngleSolid Vectorunit - U; the unit of the new Dense Immutable AngleSolid VectorValueException - when values is nullpublic Dense(List<Double> values, AngleSolidUnit unit) throws ValueException
values - List; the values of the entries in the new Relative Dense Immutable AngleSolid Vectorunit - U; the unit of the new Relative Dense Immutable AngleSolid VectorValueException - when values is nullpublic Dense(List<DoubleScalar.Rel<AngleSolidUnit>> values) throws ValueException
values - List<AngleSolid>; the values of the Scalar AngleSolid entries in the new Relative Dense Immutable
DoubleVectorValueException - when values has zero entriespublic Dense(AngleSolid[] values) throws ValueException
values - AngleSolid[]; the values of the Scalar AngleSolid entries in the new Relative Dense Immutable
AngleSolid VectorValueException - when values has zero entriespublic final MutableAngleSolidVector mutable()
mutable in interface DoubleVectorInterface<AngleSolidUnit>mutable in class AngleSolidVectorprotected final DoubleVectorDataDense getData()
getData in class DoubleVector<AngleSolidUnit>public final AngleSolidVector toDense()
toDense in interface DoubleVectorInterface<AngleSolidUnit>toDense in class AngleSolidVectorpublic final AngleSolidVector toSparse()
toSparse in interface DoubleVectorInterface<AngleSolidUnit>toSparse in class AngleSolidVectorCopyright © 2015 Delft University of Technology. All rights reserved.