U
- Unitpublic static class MutableDoubleVector.Rel.Dense<U extends Unit<U>> extends MutableDoubleVector.Rel<U> implements DenseData
MutableDoubleVector.Rel.Dense<U extends Unit<U>>, MutableDoubleVector.Rel.Sparse<U extends Unit<U>>
MutableDoubleVector.Abs<U extends Unit<U>>, MutableDoubleVector.Rel<U extends Unit<U>>
Modifier | Constructor and Description |
---|---|
|
MutableDoubleVector.Rel.Dense(double[] values,
U unit)
Construct a new Relative Dense MutableDoubleVector.
|
protected |
MutableDoubleVector.Rel.Dense(cern.colt.matrix.tdouble.DoubleMatrix1D values,
U unit)
For package internal use only.
|
|
MutableDoubleVector.Rel.Dense(DoubleScalar.Rel<U>[] values)
Construct a new Relative Dense MutableDoubleVector.
|
Modifier and Type | Method and Description |
---|---|
MutableDoubleVector.Rel.Dense<U> |
copy()
Create a deep copy of this Value.
|
protected cern.colt.matrix.tdouble.DoubleMatrix1D |
createMatrix1D(int size)
Create storage for the data.
|
DoubleVector.Rel.Dense<U> |
immutable()
Make (immutable) DoubleVector equivalent for any type of MutableDoubleVector.
|
MutableDoubleVector.Rel.Dense<U> |
mutable()
Create a mutable version of this DoubleVector.
|
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 MutableDoubleVector.Rel.Dense(double[] values, U unit) throws ValueException
values
- double[]; the initial values of the entries in the new Relative Dense MutableDoubleVectorunit
- U; the unit of the new Relative Dense MutableDoubleVectorValueException
- when values is nullpublic MutableDoubleVector.Rel.Dense(DoubleScalar.Rel<U>[] values) throws ValueException
values
- DoubleScalar.Rel<U>[]; the initial values of the entries in the new Relative Dense
MutableDoubleVectorValueException
- when values has zero entriesprotected MutableDoubleVector.Rel.Dense(cern.colt.matrix.tdouble.DoubleMatrix1D values, U unit)
values
- DoubleMatrix1D; the initial values of the entries in the new Relative Dense
MutableDoubleVectorunit
- U; the unit of the new Relative Dense MutableDoubleVectorpublic final DoubleVector.Rel.Dense<U> immutable()
immutable
in class MutableDoubleVector<U extends Unit<U>>
public final MutableDoubleVector.Rel.Dense<U> mutable()
mutable
in class DoubleVector<U extends Unit<U>>
protected final cern.colt.matrix.tdouble.DoubleMatrix1D createMatrix1D(int size)
createMatrix1D
in class DoubleVector<U extends Unit<U>>
size
- int; the number of cells in the vectorCopyright © 2014–2015 Delft University of Technology. All rights reserved.