public static class MutableTemperatureVector.Abs.Sparse extends MutableTemperatureVector.Abs implements SparseData
MutableTemperatureVector.Abs.Dense, MutableTemperatureVector.Abs.SparseMutableDoubleVector.Abs<U extends Unit<U>>, MutableDoubleVector.Rel<U extends Unit<U>>data| Constructor and Description |
|---|
Sparse(double[] values,
TemperatureUnit unit)
Construct a new Absolute Sparse Mutable TemperatureVector.
|
Sparse(SortedMap<Integer,Double> values,
TemperatureUnit unit,
int temperature)
Construct a new Absolute Sparse Mutable TemperatureVector.
|
Sparse(SortedMap<Integer,DoubleScalar.Abs<TemperatureUnit>> values,
int temperature)
Construct a new Absolute Sparse Mutable TemperatureVector.
|
Sparse(Temperature.Abs[] values)
Construct a new Absolute Sparse Mutable TemperatureVector.
|
| Modifier and Type | Method and Description |
|---|---|
MutableTemperatureVector.Abs |
copy()
Create a deep copy of this MutableDoubleVector.
|
protected DoubleVectorDataSparse |
getData() |
TemperatureVector.Abs |
immutable()
Create a immutable version of this MutableDoubleVector.
|
MutableTemperatureVector.Abs |
mutable()
Create a mutable version of this DoubleVector.
|
MutableTemperatureVector.Abs |
toDense()
Create a dense version of this DoubleVector.
|
MutableTemperatureVector.Abs |
toSparse()
Create a sparse version of this DoubleVector.
|
abs, acos, asin, atan, cbrt, ceil, cos, cosh, divideBy, exp, expm1, floor, get, inv, log, log10, log1p, minus, minus, multiplyBy, plus, pow, rint, round, signum, sin, sinh, sqrt, tan, tanh, toDegrees, toRadiansdecrementBy, incrementBy, minus, minus, plusassign, checkCopyOnWrite, decrementByImpl, incrementByImpl, normalize, scaleValueByValue, scaleValueByValue, set, setInUnit, setSIcardinality, 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, isRelativeclone, finalize, getClass, notify, notifyAll, wait, wait, waitcardinality, getInUnit, getInUnit, getSI, getValuesInUnit, getValuesInUnit, getValuesSI, size, toString, toString, toString, toString, zSumpublic Sparse(SortedMap<Integer,Double> values, TemperatureUnit unit, int temperature) throws ValueException
values - Map; the map of indexes to values of the Absolute Sparse Mutable TemperatureVectorunit - U; the unit of the new Absolute Sparse Mutable TemperatureVectortemperature - the size of the vectorValueException - when values is nullpublic Sparse(SortedMap<Integer,DoubleScalar.Abs<TemperatureUnit>> values, int temperature) throws ValueException
values - Temperature.Abs<U>[]; the values of the entries in the new Absolute Sparse Mutable
TemperatureVectortemperature - the size of the vectorValueException - when values has zero entriespublic Sparse(double[] values,
TemperatureUnit unit)
throws ValueException
values - double[]; the values of the entries in the new Absolute Sparse Mutable TemperatureVectorunit - U; the unit of the new Absolute Sparse Mutable TemperatureVectorValueException - when values is nullpublic Sparse(Temperature.Abs[] values) throws ValueException
values - Temperature.Abs<U>[]; the values of the entries in the new Absolute Sparse Mutable
TemperatureVectorValueException - when values has zero entriespublic TemperatureVector.Abs immutable()
immutable in interface MutableDoubleVectorInterface<TemperatureUnit>immutable in class MutableTemperatureVector.Abspublic MutableTemperatureVector.Abs mutable()
mutable in interface DoubleVectorInterface<TemperatureUnit>mutable in class MutableTemperatureVector.Abspublic MutableTemperatureVector.Abs copy()
copy in interface MutableDoubleVectorInterface<TemperatureUnit>copy in class MutableTemperatureVector.Absprotected final DoubleVectorDataSparse getData()
getData in class DoubleVector<TemperatureUnit>public MutableTemperatureVector.Abs toDense()
toDense in interface DoubleVectorInterface<TemperatureUnit>toDense in interface MutableDoubleVectorInterface<TemperatureUnit>toDense in class MutableTemperatureVector.Abspublic MutableTemperatureVector.Abs toSparse()
toSparse in interface DoubleVectorInterface<TemperatureUnit>toSparse in interface MutableDoubleVectorInterface<TemperatureUnit>toSparse in class MutableTemperatureVector.AbsCopyright © 2015 Delft University of Technology. All rights reserved.