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