U - Unit the unit for which this Vector will be createdpublic static class MutableDoubleVector.Abs.Dense<U extends Unit<U>> extends MutableDoubleVector.Abs<U> implements DenseData
MutableDoubleVector.Abs.Dense<U extends Unit<U>>, MutableDoubleVector.Abs.Sparse<U extends Unit<U>>MutableDoubleVector.Abs<U extends Unit<U>>, MutableDoubleVector.Rel<U extends Unit<U>>data| Constructor and Description |
|---|
Dense(double[] values,
U unit)
Construct a new Absolute Dense Mutable DoubleVector.
|
Dense(DoubleScalar.Abs<U>[] values)
Construct a new Absolute Dense Mutable DoubleVector.
|
Dense(List<Double> values,
U unit)
Construct a new Absolute Dense Mutable DoubleVector.
|
Dense(List<DoubleScalar.Abs<U>> values)
Construct a new Absolute Dense Mutable DoubleVector.
|
| Modifier and Type | Method and Description |
|---|---|
MutableDoubleVector.Abs<U> |
copy()
Create a deep copy of this MutableDoubleVector.
|
protected DoubleVectorDataDense |
getData() |
DoubleVector.Abs<U> |
immutable()
Create a immutable version of this MutableDoubleVector.
|
MutableDoubleVector.Abs<U> |
mutable()
Create a mutable version of this DoubleVector.
|
MutableDoubleVector.Abs<U> |
toDense()
Create a dense version of this DoubleVector.
|
MutableDoubleVector.Abs<U> |
toSparse()
Create a sparse version of this DoubleVector.
|
abs, acos, asin, atan, cbrt, ceil, cos, cosh, decrementBy, divideBy, exp, expm1, floor, get, incrementBy, inv, log, log10, log1p, minus, minus, multiplyBy, plus, pow, rint, round, signum, sin, sinh, sqrt, tan, tanh, toDegrees, toRadiansassign, 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,
U unit)
throws ValueException
values - double[]; the values of the entries in the new Absolute Dense Mutable DoubleVectorunit - U; the unit of the new Absolute Dense MutableDoubleVectorValueException - when values is nullpublic Dense(List<Double> values, U unit) throws ValueException
values - List; the values of the entries in the new Absolute Dense Mutable DoubleVectorunit - U; the unit of the new Absolute Dense Mutable DoubleVectorValueException - when values is nullpublic Dense(DoubleScalar.Abs<U>[] values) throws ValueException
values - DoubleScalar.Abs<U>[]; the values of the entries in the new Absolute Dense
MutableDoubleVectorValueException - when values has zero entriespublic Dense(List<DoubleScalar.Abs<U>> values) throws ValueException
values - List; the values of the entries in the new Absolute Dense Mutable DoubleVectorValueException - when values has zero entriespublic DoubleVector.Abs<U> immutable()
immutable in interface MutableDoubleVectorInterface<U extends Unit<U>>immutable in class MutableDoubleVector.Abs<U extends Unit<U>>public MutableDoubleVector.Abs<U> mutable()
mutable in interface DoubleVectorInterface<U extends Unit<U>>mutable in class MutableDoubleVector.Abs<U extends Unit<U>>public MutableDoubleVector.Abs<U> copy()
copy in interface MutableDoubleVectorInterface<U extends Unit<U>>copy in class MutableDoubleVector.Abs<U extends Unit<U>>protected final DoubleVectorDataDense getData()
getData in class DoubleVector<U extends Unit<U>>public MutableDoubleVector.Abs<U> toDense()
toDense in interface DoubleVectorInterface<U extends Unit<U>>toDense in interface MutableDoubleVectorInterface<U extends Unit<U>>toDense in class MutableDoubleVector.Abs<U extends Unit<U>>public MutableDoubleVector.Abs<U> toSparse()
toSparse in interface DoubleVectorInterface<U extends Unit<U>>toSparse in interface MutableDoubleVectorInterface<U extends Unit<U>>toSparse in class MutableDoubleVector.Abs<U extends Unit<U>>Copyright © 2015 Delft University of Technology. All rights reserved.