public static class MutableAngleSlopeVector.Abs.Sparse extends MutableAngleSlopeVector.Abs implements SparseData
MutableAngleSlopeVector.Abs.Dense, MutableAngleSlopeVector.Abs.SparseMutableDoubleVector.Abs<U extends Unit<U>>, MutableDoubleVector.Rel<U extends Unit<U>>data| Constructor and Description |
|---|
Sparse(AngleSlope.Abs[] values)
Construct a new Absolute Sparse Mutable AngleSlopeVector.
|
Sparse(double[] values,
AngleSlopeUnit unit)
Construct a new Absolute Sparse Mutable AngleSlopeVector.
|
Sparse(SortedMap<Integer,Double> values,
AngleSlopeUnit unit,
int angleslope)
Construct a new Absolute Sparse Mutable AngleSlopeVector.
|
Sparse(SortedMap<Integer,DoubleScalar.Abs<AngleSlopeUnit>> values,
int angleslope)
Construct a new Absolute Sparse Mutable AngleSlopeVector.
|
| Modifier and Type | Method and Description |
|---|---|
MutableAngleSlopeVector.Abs |
copy()
Create a deep copy of this MutableDoubleVector.
|
protected DoubleVectorDataSparse |
getData() |
AngleSlopeVector.Abs |
immutable()
Create a immutable version of this MutableDoubleVector.
|
MutableAngleSlopeVector.Abs |
mutable()
Create a mutable version of this DoubleVector.
|
MutableAngleSlopeVector.Abs |
toDense()
Create a dense version of this DoubleVector.
|
MutableAngleSlopeVector.Abs |
toSparse()
Create a sparse version of this DoubleVector.
|
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,Double> values, AngleSlopeUnit unit, int angleslope) throws ValueException
values - Map; the map of indexes to values of the Absolute Sparse Mutable AngleSlopeVectorunit - U; the unit of the new Absolute Sparse Mutable AngleSlopeVectorangleslope - the size of the vectorValueException - when values is nullpublic Sparse(SortedMap<Integer,DoubleScalar.Abs<AngleSlopeUnit>> values, int angleslope) throws ValueException
values - AngleSlope.Abs<U>[]; the values of the entries in the new Absolute Sparse Mutable
AngleSlopeVectorangleslope - the size of the vectorValueException - when values has zero entriespublic Sparse(double[] values,
AngleSlopeUnit unit)
throws ValueException
values - double[]; the values of the entries in the new Absolute Sparse Mutable AngleSlopeVectorunit - U; the unit of the new Absolute Sparse Mutable AngleSlopeVectorValueException - when values is nullpublic Sparse(AngleSlope.Abs[] values) throws ValueException
values - AngleSlope.Abs<U>[]; the values of the entries in the new Absolute Sparse Mutable
AngleSlopeVectorValueException - when values has zero entriespublic AngleSlopeVector.Abs immutable()
immutable in interface MutableDoubleVectorInterface<AngleSlopeUnit>immutable in class MutableAngleSlopeVector.Abspublic MutableAngleSlopeVector.Abs mutable()
mutable in interface DoubleVectorInterface<AngleSlopeUnit>mutable in class MutableAngleSlopeVector.Abspublic MutableAngleSlopeVector.Abs copy()
copy in interface MutableDoubleVectorInterface<AngleSlopeUnit>copy in class MutableAngleSlopeVector.Absprotected final DoubleVectorDataSparse getData()
getData in class DoubleVector<AngleSlopeUnit>public MutableAngleSlopeVector.Abs toDense()
toDense in interface DoubleVectorInterface<AngleSlopeUnit>toDense in interface MutableDoubleVectorInterface<AngleSlopeUnit>toDense in class MutableAngleSlopeVector.Abspublic MutableAngleSlopeVector.Abs toSparse()
toSparse in interface DoubleVectorInterface<AngleSlopeUnit>toSparse in interface MutableDoubleVectorInterface<AngleSlopeUnit>toSparse in class MutableAngleSlopeVector.AbsCopyright © 2015 Delft University of Technology. All rights reserved.