public static class FloatLengthVector.Abs.Dense extends FloatLengthVector.Abs implements DenseData
FloatLengthVector.Abs.Dense, FloatLengthVector.Abs.SparseFloatVector.Abs<U extends Unit<U>>, FloatVector.Rel<U extends Unit<U>>data| Constructor and Description |
|---|
Dense(float[] values,
LengthUnit unit)
Construct a new Absolute Dense Immutable FloatVector.
|
Dense(FloatLength.Abs[] values)
Construct a new Absolute Dense Immutable FloatVector.
|
Dense(List<Float> values,
LengthUnit unit)
Construct a new Absolute Dense Immutable FloatVector.
|
Dense(List<FloatScalar.Abs<LengthUnit>> values)
Construct a new Absolute Dense Immutable FloatVector.
|
| Modifier and Type | Method and Description |
|---|---|
protected FloatVectorDataDense |
getData() |
MutableFloatLengthVector.Abs |
mutable()
Create a mutable version of this FloatVector.
|
FloatLengthVector.Abs |
toDense()
Create a dense version of this FloatVector.
|
FloatLengthVector.Abs |
toSparse()
Create a sparse version of this FloatVector.
|
get, minus, minus, plusminus, 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,
LengthUnit 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, LengthUnit 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(FloatLength.Abs[] 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<LengthUnit>> values) throws ValueException
values - List; the values of the entries in the new Absolute Dense Immutable FloatVectorValueException - when values has zero entriespublic final MutableFloatLengthVector.Abs mutable()
mutable in interface FloatVectorInterface<LengthUnit>mutable in class FloatLengthVector.Absprotected final FloatVectorDataDense getData()
getData in class FloatVector<LengthUnit>public FloatLengthVector.Abs toDense()
toDense in interface FloatVectorInterface<LengthUnit>toDense in class FloatLengthVector.Abspublic FloatLengthVector.Abs toSparse()
toSparse in interface FloatVectorInterface<LengthUnit>toSparse in class FloatLengthVector.AbsCopyright © 2015 Delft University of Technology. All rights reserved.