public static class MutableFloatLengthVector.Abs.Sparse extends MutableFloatLengthVector.Abs implements SparseData
MutableFloatLengthVector.Abs.Dense, MutableFloatLengthVector.Abs.SparseMutableFloatVector.Abs<U extends Unit<U>>, MutableFloatVector.Rel<U extends Unit<U>>data| Constructor and Description |
|---|
Sparse(float[] values,
LengthUnit unit)
Construct a new Absolute Sparse Mutable FloatLengthVector.
|
Sparse(FloatLength.Abs[] values)
Construct a new Absolute Sparse Mutable FloatLengthVector.
|
Sparse(SortedMap<Integer,Float> values,
LengthUnit unit,
int length)
Construct a new Absolute Sparse Mutable FloatLengthVector.
|
Sparse(SortedMap<Integer,FloatScalar.Abs<LengthUnit>> values,
int length)
Construct a new Absolute Sparse Mutable FloatLengthVector.
|
| Modifier and Type | Method and Description |
|---|---|
MutableFloatLengthVector.Abs |
copy()
Create a deep copy of this MutableFloatVector.
|
protected FloatVectorDataSparse |
getData() |
FloatLengthVector.Abs |
immutable()
Create a immutable version of this MutableFloatVector.
|
MutableFloatLengthVector.Abs |
mutable()
Create a mutable version of this FloatVector.
|
MutableFloatLengthVector.Abs |
toDense()
Create a dense version of this FloatVector.
|
MutableFloatLengthVector.Abs |
toSparse()
Create a sparse version of this FloatVector.
|
abs, acos, asin, atan, cbrt, ceil, cos, cosh, divideBy, exp, expm1, floor, get, inv, log, log10, log1p, minus, minus, multiplyBy, plus, pow, rint, round, signum, sin, sinh, sqrt, tan, tanh, toDegrees, toRadiansdecrementBy, incrementBy, minus, minus, plusassign, 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 Sparse(SortedMap<Integer,Float> values, LengthUnit unit, int length) throws ValueException
values - Map; the map of indexes to values of the Absolute Sparse Mutable FloatLengthVectorunit - U; the unit of the new Absolute Sparse Mutable FloatLengthVectorlength - the size of the vectorValueException - when values is nullpublic Sparse(SortedMap<Integer,FloatScalar.Abs<LengthUnit>> values, int length) throws ValueException
values - FloatLength.Abs<U>[]; the values of the entries in the new Absolute Sparse Mutable
FloatLengthVectorlength - the size of the vectorValueException - when values has zero entriespublic Sparse(float[] values,
LengthUnit unit)
throws ValueException
values - float[]; the values of the entries in the new Absolute Sparse Mutable FloatLengthVectorunit - U; the unit of the new Absolute Sparse Mutable FloatLengthVectorValueException - when values is nullpublic Sparse(FloatLength.Abs[] values) throws ValueException
values - FloatLength.Abs<U>[]; the values of the entries in the new Absolute Sparse Mutable
FloatLengthVectorValueException - when values has zero entriespublic FloatLengthVector.Abs immutable()
immutable in interface MutableFloatVectorInterface<LengthUnit>immutable in class MutableFloatLengthVector.Abspublic MutableFloatLengthVector.Abs mutable()
mutable in interface FloatVectorInterface<LengthUnit>mutable in class MutableFloatLengthVector.Abspublic MutableFloatLengthVector.Abs copy()
copy in interface MutableFloatVectorInterface<LengthUnit>copy in class MutableFloatLengthVector.Absprotected final FloatVectorDataSparse getData()
getData in class FloatVector<LengthUnit>public MutableFloatLengthVector.Abs toDense()
toDense in interface FloatVectorInterface<LengthUnit>toDense in interface MutableFloatVectorInterface<LengthUnit>toDense in class MutableFloatLengthVector.Abspublic MutableFloatLengthVector.Abs toSparse()
toSparse in interface FloatVectorInterface<LengthUnit>toSparse in interface MutableFloatVectorInterface<LengthUnit>toSparse in class MutableFloatLengthVector.AbsCopyright © 2015 Delft University of Technology. All rights reserved.