U - Unit the unit for which this Vector will be createdpublic static class FloatVector.Abs.Dense<U extends Unit<U>> extends FloatVector.Abs<U> implements DenseData
FloatVector.Abs.Dense<U extends Unit<U>>, FloatVector.Abs.Sparse<U extends Unit<U>>FloatVector.Abs<U extends Unit<U>>, FloatVector.Rel<U extends Unit<U>>data| Constructor and Description |
|---|
Dense(float[] values,
U unit)
Construct a new Absolute Dense Immutable FloatVector.
|
Dense(FloatScalar.Abs<U>[] values)
Construct a new Absolute Dense Immutable FloatVector.
|
Dense(List<Float> values,
U unit)
Construct a new Absolute Dense Immutable FloatVector.
|
Dense(List<FloatScalar.Abs<U>> values)
Construct a new Absolute Dense Immutable FloatVector.
|
| Modifier and Type | Method and Description |
|---|---|
protected FloatVectorDataDense |
getData() |
MutableFloatVector.Abs<U> |
mutable()
Create a mutable version of this FloatVector.
|
FloatVector.Abs<U> |
toDense()
Create a dense version of this FloatVector.
|
FloatVector.Abs<U> |
toSparse()
Create a sparse version of this FloatVector.
|
get, minus, minus, pluscardinality, 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(float[] values,
U unit)
throws ValueException
values - float[]; the values of the entries in the new Absolute Dense Immutable FloatVectorunit - U; the unit of the new Absolute Dense Immutable FloatVectorValueException - when values is nullpublic Dense(List<Float> values, U unit) throws ValueException
values - List; the values of the entries in the new Absolute Dense Immutable FloatVectorunit - U; the unit of the new Absolute Dense Immutable FloatVectorValueException - when values is nullpublic Dense(FloatScalar.Abs<U>[] values) throws ValueException
values - FloatScalar.Abs<U>[]; the values of the entries in the new Absolute Dense Immutable
FloatVectorValueException - when values has zero entriespublic Dense(List<FloatScalar.Abs<U>> values) throws ValueException
values - List; the values of the entries in the new Absolute Dense Immutable FloatVectorValueException - when values has zero entriespublic final MutableFloatVector.Abs<U> mutable()
mutable in interface FloatVectorInterface<U extends Unit<U>>mutable in class FloatVector.Abs<U extends Unit<U>>protected final FloatVectorDataDense getData()
getData in class FloatVector<U extends Unit<U>>public FloatVector.Abs<U> toDense()
toDense in interface FloatVectorInterface<U extends Unit<U>>toDense in class FloatVector.Abs<U extends Unit<U>>public FloatVector.Abs<U> toSparse()
toSparse in interface FloatVectorInterface<U extends Unit<U>>toSparse in class FloatVector.Abs<U extends Unit<U>>Copyright © 2015 Delft University of Technology. All rights reserved.