U
- Unitpublic static class MutableFloatVector.Abs.Sparse<U extends Unit<U>> extends MutableFloatVector.Abs<U> implements SparseData
MutableFloatVector.Abs.Dense<U extends Unit<U>>, MutableFloatVector.Abs.Sparse<U extends Unit<U>>
MutableFloatVector.Abs<U extends Unit<U>>, MutableFloatVector.Rel<U extends Unit<U>>
Modifier | Constructor and Description |
---|---|
|
MutableFloatVector.Abs.Sparse(float[] values,
U unit)
Construct a new Absolute Sparse MutableFloatVector.
|
protected |
MutableFloatVector.Abs.Sparse(cern.colt.matrix.tfloat.FloatMatrix1D values,
U unit)
For package internal use only.
|
|
MutableFloatVector.Abs.Sparse(FloatScalar.Abs<U>[] values)
Construct a new Absolute Sparse MutableFloatVector.
|
Modifier and Type | Method and Description |
---|---|
MutableFloatVector.Abs.Sparse<U> |
copy()
Create a deep copy of this Value.
|
protected cern.colt.matrix.tfloat.FloatMatrix1D |
createMatrix1D(int size)
Create storage for the data.
|
FloatVector.Abs.Sparse<U> |
immutable()
Make (immutable) FloatVector equivalent for any type of MutableFloatVector.
|
MutableFloatVector.Abs.Sparse<U> |
mutable()
Create a mutable version of this FloatVector.
|
abs, acos, asin, atan, cbrt, ceil, cos, cosh, decrementBy, exp, expm1, floor, get, incrementBy, inv, log, log10, log1p, pow, rint, round, signum, sin, sinh, sqrt, tan, tanh, toDegrees, toRadians
assign, checkCopyOnWrite, decrementBy, decrementByImpl, divide, incrementByImpl, multiply, normalize, scaleValueByValue, scaleValueByValue, set, setInUnit, setSI
cardinality, 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, zSum
expressAsSIUnit, expressAsSpecifiedUnit, getUnit, isAbsolute, isRelative
public MutableFloatVector.Abs.Sparse(float[] values, U unit) throws ValueException
values
- float[]; the initial values of the entries in the new Absolute Sparse MutableFloatVectorunit
- U; the unit of the new Absolute Sparse MutableFloatVectorValueException
- when values is nullpublic MutableFloatVector.Abs.Sparse(FloatScalar.Abs<U>[] values) throws ValueException
values
- FloatScalar.Abs<U>[]; the initial values of the entries in the new Absolute Sparse
MutableFloatVectorValueException
- when values has zero entriesprotected MutableFloatVector.Abs.Sparse(cern.colt.matrix.tfloat.FloatMatrix1D values, U unit)
values
- FloatMatrix1D; the initial values of the entries in the new Absolute Sparse
MutableFloatVectorunit
- U; the unit of the new Absolute Sparse MutableFloatVectorpublic final FloatVector.Abs.Sparse<U> immutable()
immutable
in class MutableFloatVector<U extends Unit<U>>
public final MutableFloatVector.Abs.Sparse<U> mutable()
mutable
in class FloatVector<U extends Unit<U>>
protected final cern.colt.matrix.tfloat.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.