public static class MutableAccelerationVector.Dense extends MutableAccelerationVector implements DenseData
MutableAccelerationVector.Dense, MutableAccelerationVector.SparseMutableDoubleVector.Abs<U extends Unit<U>>, MutableDoubleVector.Rel<U extends Unit<U>>data| Constructor and Description |
|---|
Dense(Acceleration[] values)
Construct a new Relative Dense Immutable Acceleration Vector.
|
Dense(double[] values,
AccelerationUnit unit)
Construct a new Dense Immutable Double Acceleration Vector.
|
Dense(List<Double> values,
AccelerationUnit unit)
Construct a new Relative Dense Immutable DoubleVector.
|
Dense(List<DoubleScalar.Rel<AccelerationUnit>> values)
Construct a new Relative Dense Immutable DoubleVector.
|
| Modifier and Type | Method and Description |
|---|---|
protected DoubleVectorDataDense |
getData() |
AccelerationVector |
immutable()
Create a immutable version of this MutableDoubleVector.
|
MutableAccelerationVector |
mutable()
Create a mutable version of this DoubleVector.
|
MutableAccelerationVector |
toDense()
Create a dense version of this DoubleVector.
|
MutableAccelerationVector |
toSparse()
Create a sparse version of this DoubleVector.
|
abs, acos, asin, atan, cbrt, ceil, copy, cos, cosh, divide, divide, divideBy, exp, expm1, floor, get, inv, log, log10, log1p, minus, minus, multiplyBy, plus, plus, pow, rint, round, signum, sin, sinh, sqrt, tan, tanh, times, times, toDegrees, toRadiansdecrementBy, divide, incrementBy, minus, plus, plus, timesassign, 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 Dense(double[] values,
AccelerationUnit unit)
throws ValueException
values - double[]; the values of the entries in the new Dense Immutable Double Acceleration Vectorunit - U; the unit of the new Dense Immutable Acceleration VectorValueException - when values is nullpublic Dense(List<Double> values, AccelerationUnit unit) throws ValueException
values - List; the values of the entries in the new Relative Dense Immutable Acceleration Vectorunit - U; the unit of the new Relative Dense Immutable Acceleration VectorValueException - when values is nullpublic Dense(List<DoubleScalar.Rel<AccelerationUnit>> values) throws ValueException
values - List<Acceleration>; the values of the Scalar Acceleration entries in the new Relative Dense
Immutable Acceleration VectorValueException - when values has zero entriespublic Dense(Acceleration[] values) throws ValueException
values - Acceleration[]; the values of the Scalar Acceleration entries in the new Relative Dense Immutable
Acceleration VectorValueException - when values has zero entriespublic final AccelerationVector immutable()
immutable in interface MutableDoubleVectorInterface<AccelerationUnit>immutable in class MutableAccelerationVectorpublic final MutableAccelerationVector mutable()
mutable in interface DoubleVectorInterface<AccelerationUnit>mutable in class MutableAccelerationVectorprotected final DoubleVectorDataDense getData()
getData in class DoubleVector<AccelerationUnit>public final MutableAccelerationVector toDense()
toDense in interface DoubleVectorInterface<AccelerationUnit>toDense in interface MutableDoubleVectorInterface<AccelerationUnit>toDense in class MutableAccelerationVectorpublic final MutableAccelerationVector toSparse()
toSparse in interface DoubleVectorInterface<AccelerationUnit>toSparse in interface MutableDoubleVectorInterface<AccelerationUnit>toSparse in class MutableAccelerationVectorCopyright © 2015 Delft University of Technology. All rights reserved.