U - Unitpublic static class MutableFloatVector.Rel.Sparse<U extends Unit<U>> extends MutableFloatVector.Rel<U> implements SparseData
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>>| Modifier | Constructor and Description |
|---|---|
|
Sparse(float[] values,
U unit)
Construct a new Relative Sparse MutableFloatVector.
|
protected |
Sparse(FloatMatrix1D values,
U unit)
For package internal use only.
|
|
Sparse(FloatScalar.Rel<U>[] values)
Construct a new Relative Sparse MutableFloatVector.
|
| Modifier and Type | Method and Description |
|---|---|
MutableFloatVector.Rel.Sparse<U> |
copy()
Create a deep copy of this Value.
|
protected FloatMatrix1D |
createMatrix1D(int size)
Create storage for the data.
|
FloatVector.Rel.Sparse<U> |
immutable()
Make (immutable) FloatVector equivalent for any type of MutableFloatVector.
|
MutableFloatVector.Rel.Sparse<U> |
mutable()
Create a mutable version of this FloatVector.
|
abs, acos, asin, atan, cbrt, ceil, cos, cosh, decrementBy, divideBy, exp, expm1, floor, get, incrementBy, inv, log, log10, log1p, multiplyBy, pow, rint, round, signum, sin, sinh, sqrt, tan, tanh, toDegrees, toRadiansassign, checkCopyOnWrite, decrementBy, decrementByImpl, incrementByImpl, normalize, scaleValueByValue, scaleValueByValue, set, setInUnit, setSIcardinality, checkIndex, checkNonEmpty, checkSize, checkSize, deepCopyData, deepCopyOfData, denseToSparse, denseToSparse, equals, getInUnit, getInUnit, getSI, getValuesInUnit, getValuesInUnit, getValuesSI, getVectorSI, hashCode, initialize, initialize, initialize, interpolate, interpolate, interpolate, interpolate, minus, minus, minus, minus, minus, minus, minus, minus, minus, plus, plus, plus, plus, plus, plus, safeGet, safeSet, size, sparseToDense, sparseToDense, times, times, times, times, times, times, times, times, times, times, toString, toString, toString, toString, zSumexpressAsSIUnit, expressAsSpecifiedUnit, getUnit, isAbsolute, isRelativepublic Sparse(float[] values,
U unit)
throws ValueException
values - float[]; the initial values of the entries in the new Relative Sparse MutableFloatVectorunit - U; the unit of the new Relative Sparse MutableFloatVectorValueException - when values is nullpublic Sparse(FloatScalar.Rel<U>[] values) throws ValueException
values - FloatScalar.Rel<U>[]; the initial values of the entries in the new Relative Sparse
MutableFloatVectorValueException - when values has zero entriesprotected Sparse(FloatMatrix1D values, U unit)
values - FloatMatrix1D; the initial values of the entries in the new Relative Sparse
MutableFloatVectorunit - U; the unit of the new Relative Sparse MutableFloatVectorpublic final FloatVector.Rel.Sparse<U> immutable()
immutable in class MutableFloatVector<U extends Unit<U>>public final MutableFloatVector.Rel.Sparse<U> mutable()
mutable in class FloatVector<U extends Unit<U>>protected final FloatMatrix1D createMatrix1D(int size)
createMatrix1D in class FloatVector<U extends Unit<U>>size - int; the number of cells in the vectorCopyright © 2014–2015 Delft University of Technology. All rights reserved.