| Package | Description |
|---|---|
| org.djunits.unit |
Classes for the unit system.
|
| org.djunits.value.vdouble.matrix |
Double Matrix storage and calculations with units, absolute/relative, sparse/dense.
|
| org.djunits.value.vdouble.scalar |
Double Scalar storage and calculations with units, absolute/relative.
|
| org.djunits.value.vdouble.vector |
Double Vector storage and calculations with units, absolute/relative, sparse/dense.
|
| Modifier and Type | Method and Description |
|---|---|
static DoubleScalar.Abs<AnglePlaneUnit> |
AnglePlaneUnit.normalize(DoubleScalar.Abs<AnglePlaneUnit> angle)
Normalize an angle between 0 and 2 * PI.
|
| Modifier and Type | Method and Description |
|---|---|
static DoubleScalar.Abs<AnglePlaneUnit> |
AnglePlaneUnit.normalize(DoubleScalar.Abs<AnglePlaneUnit> angle)
Normalize an angle between 0 and 2 * PI.
|
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Abs<U> |
MutableDoubleMatrix.Abs.get(int row,
int column)
Retrieve the value stored at a specified row and column as a DoubleScalar.
|
DoubleScalar.Abs<U> |
DoubleMatrix.Abs.get(int row,
int column)
Retrieve the value stored at a specified row and column as a DoubleScalar.
|
| Constructor and Description |
|---|
Dense(DoubleScalar.Abs<U>[][] values)
Construct a new Absolute Dense MutableDoubleMatrix.
|
Dense(DoubleScalar.Abs<U>[][] values)
Construct a new Absolute Dense Immutable DoubleMatrix.
|
Sparse(DoubleScalar.Abs<U>[][] values)
Construct a new Absolute Sparse MutableDoubleMatrix.
|
Sparse(DoubleScalar.Abs<U>[][] values)
Construct a new Absolute Sparse Immutable DoubleMatrix.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
AnglePlane.Abs
Easy access methods for the AnglePlane DoubleScalar.
|
static class |
AngleSlope.Abs
Easy access methods for the AngleSlope DoubleScalar.
|
static class |
Dimensionless.Abs
Easy access methods for the Dimensionless DoubleScalar.
|
static class |
Length.Abs
Easy access methods for the Length DoubleScalar.
|
static class |
Temperature.Abs
Easy access methods for the Temperature DoubleScalar.
|
static class |
Time.Abs
Easy access methods for the Time DoubleScalar.
|
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Abs<U> |
DoubleScalar.Abs.abs()
Set the value(s) to their absolute value.
|
DoubleScalar.Abs<U> |
DoubleScalar.Abs.acos()
Set the value(s) to the arc cosine of the value(s); the resulting angle is in the range 0.0 through pi.
|
DoubleScalar.Abs<U> |
DoubleScalar.Abs.asin()
Set the value(s) to the arc sine of the value(s); the resulting angle is in the range -pi/2 through pi/2.
|
DoubleScalar.Abs<U> |
DoubleScalar.Abs.atan()
Set the value(s) to the arc tangent of the value(s); the resulting angle is in the range -pi/2 through pi/2.
|
DoubleScalar.Abs<U> |
DoubleScalar.Abs.cbrt()
Set the value(s) to the(ir) cube root.
|
DoubleScalar.Abs<U> |
DoubleScalar.Abs.ceil()
Set the value(s) to the smallest (closest to negative infinity) value(s) that are greater than or equal to the argument
and equal to a mathematical integer.
|
DoubleScalar.Abs<U> |
DoubleScalar.Abs.cos()
Set the value(s) to the trigonometric cosine of the value(s).
|
DoubleScalar.Abs<U> |
DoubleScalar.Abs.cosh()
Set the value(s) to the hyperbolic cosine of the value(s).
|
static DoubleScalar.Abs<SIUnit> |
DoubleScalar.divide(DoubleScalar.Abs<?> left,
DoubleScalar.Abs<?> right)
Divide two values; the result is a new instance with a different (existing or generated) SI unit.
|
DoubleScalar.Abs<U> |
DoubleScalar.Abs.divideBy(double constant)
Scale the value(s) by the inverse of a factor; i.e.
|
DoubleScalar.Abs<U> |
DoubleScalar.Abs.exp()
Set the value(s) to Euler's number e raised to the power of the value(s).
|
DoubleScalar.Abs<U> |
DoubleScalar.Abs.expm1()
Set the value(s) to Euler's number e raised to the power of the value(s) minus 1 (e^x - 1).
|
DoubleScalar.Abs<U> |
DoubleScalar.Abs.floor()
Set the value(s) to the largest (closest to positive infinity) value(s) that are less than or equal to the argument and
equal to a mathematical integer.
|
static <U extends Unit<U>> |
DoubleScalar.interpolate(DoubleScalar.Abs<U> zero,
DoubleScalar.Abs<U> one,
double ratio)
Interpolate between or extrapolate over two values.
|
DoubleScalar.Abs<U> |
DoubleScalar.Abs.inv()
Set the value(s) to the complement (1.0/x) of the value(s).
|
DoubleScalar.Abs<U> |
DoubleScalar.Abs.log()
Set the value(s) to the natural logarithm (base e) of the value(s).
|
DoubleScalar.Abs<U> |
DoubleScalar.Abs.log10()
Set the value(s) to the base 10 logarithm of the value(s).
|
DoubleScalar.Abs<U> |
DoubleScalar.Abs.log1p()
Set the value(s) to the natural logarithm of the sum of the value(s) and 1.
|
static <U extends Unit<U>> |
DoubleScalar.minus(DoubleScalar.Abs<U> left,
DoubleScalar.Rel<U> right)
Subtract a Relative value from an absolute value.
|
DoubleScalar.Abs<U> |
DoubleScalar.Abs.minus(DoubleScalar.Rel<U> decrement)
Decrement the value by the supplied value and return the result.
|
static DoubleScalar.Abs<SIUnit> |
DoubleScalar.multiply(DoubleScalar.Abs<?> left,
DoubleScalar.Abs<?> right)
Multiply two values; the result is a new instance with a different (existing or generated) SI unit.
|
DoubleScalar.Abs<U> |
DoubleScalar.Abs.multiplyBy(double constant)
Scale the value(s) by a factor.
|
static <U extends Unit<U>> |
DoubleScalar.plus(DoubleScalar.Abs<U> left,
DoubleScalar.Rel<U> right)
Add a Relative value to an Absolute value.
|
DoubleScalar.Abs<U> |
DoubleScalar.Abs.plus(DoubleScalar.Rel<U> increment)
Increment the value by the supplied value and return the result.
|
static <U extends Unit<U>> |
DoubleScalar.plus(DoubleScalar.Rel<U> left,
DoubleScalar.Abs<U> right)
Add an Absolute value to a Relative value.
|
DoubleScalar.Abs<U> |
DoubleScalar.Abs.pow(double x)
Set the value(s) to the value(s) raised to the power of the argument.
|
DoubleScalar.Abs<U> |
DoubleScalar.Abs.rint()
Set the value(s) to the value(s) that are closest in value to the argument and equal to a mathematical integer.
|
DoubleScalar.Abs<U> |
DoubleScalar.Abs.round()
Set the value(s) to the closest long to the argument with ties rounding up.
|
DoubleScalar.Abs<U> |
DoubleScalar.Abs.signum()
Set the value(s) to the signum function of the value(s); zero if the argument is zero, 1.0 if the argument is greater
than zero, -1.0 if the argument is less than zero.
|
DoubleScalar.Abs<U> |
DoubleScalar.Abs.sin()
Set the value(s) to the trigonometric sine of the value(s).
|
DoubleScalar.Abs<U> |
DoubleScalar.Abs.sinh()
Set the value(s) to the hyperbolic sine of the value(s).
|
DoubleScalar.Abs<U> |
DoubleScalar.Abs.sqrt()
Set the value(s) to the correctly rounded positive square root of the value(s).
|
DoubleScalar.Abs<U> |
DoubleScalar.Abs.tan()
Set the value(s) to the trigonometric tangent of the value(s).
|
DoubleScalar.Abs<U> |
DoubleScalar.Abs.tanh()
Set the value(s) to the hyperbolic tangent of the value(s).
|
DoubleScalar.Abs<U> |
DoubleScalar.Abs.toDegrees()
Set the value(s) to approximately equivalent angle(s) measured in degrees.
|
DoubleScalar.Abs<U> |
DoubleScalar.Abs.toRadians()
Set the value(s) to approximately equivalent angle(s) measured in radians.
|
| Modifier and Type | Method and Description |
|---|---|
int |
DoubleScalar.Abs.compareTo(DoubleScalar.Abs<U> o) |
static DoubleScalar.Abs<SIUnit> |
DoubleScalar.divide(DoubleScalar.Abs<?> left,
DoubleScalar.Abs<?> right)
Divide two values; the result is a new instance with a different (existing or generated) SI unit.
|
static DoubleScalar.Abs<SIUnit> |
DoubleScalar.divide(DoubleScalar.Abs<?> left,
DoubleScalar.Abs<?> right)
Divide two values; the result is a new instance with a different (existing or generated) SI unit.
|
boolean |
DoubleScalar.Abs.eq(DoubleScalar.Abs<U> o)
Test if this DoubleScalar.Abs<U> is equal to a DoubleScalar.Abs<U>.
|
boolean |
DoubleScalar.Abs.ge(DoubleScalar.Abs<U> o)
Test if this DoubleScalar.Abs<U> is greater than a DoubleScalar.Abs<U>.
|
boolean |
DoubleScalar.Abs.gt(DoubleScalar.Abs<U> o)
Test if this DoubleScalar.Abs<U> is greater than or equal to a DoubleScalar.Abs<U>.
|
static <U extends Unit<U>> |
DoubleScalar.interpolate(DoubleScalar.Abs<U> zero,
DoubleScalar.Abs<U> one,
double ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>> |
DoubleScalar.interpolate(DoubleScalar.Abs<U> zero,
DoubleScalar.Abs<U> one,
double ratio)
Interpolate between or extrapolate over two values.
|
boolean |
DoubleScalar.Abs.le(DoubleScalar.Abs<U> o)
Test if this DoubleScalar.Abs<U> is less than or equal to a DoubleScalar.Abs<U>.
|
boolean |
DoubleScalar.Abs.lt(DoubleScalar.Abs<U> o)
Test if this DoubleScalar.Abs<U> is less than a DoubleScalar.Abs<U>.
|
static <U extends Unit<U>> |
DoubleScalar.minus(DoubleScalar.Abs<U> left,
DoubleScalar.Abs<U> right)
Subtract two absolute values.
|
static <U extends Unit<U>> |
DoubleScalar.minus(DoubleScalar.Abs<U> left,
DoubleScalar.Abs<U> right)
Subtract two absolute values.
|
static <U extends Unit<U>> |
DoubleScalar.minus(DoubleScalar.Abs<U> left,
DoubleScalar.Rel<U> right)
Subtract a Relative value from an absolute value.
|
static DoubleScalar.Abs<SIUnit> |
DoubleScalar.multiply(DoubleScalar.Abs<?> left,
DoubleScalar.Abs<?> right)
Multiply two values; the result is a new instance with a different (existing or generated) SI unit.
|
static DoubleScalar.Abs<SIUnit> |
DoubleScalar.multiply(DoubleScalar.Abs<?> left,
DoubleScalar.Abs<?> right)
Multiply two values; the result is a new instance with a different (existing or generated) SI unit.
|
boolean |
DoubleScalar.Abs.ne(DoubleScalar.Abs<U> o)
Test if this DoubleScalar.Abs<U> is not equal to a DoubleScalar.Abs<U>.
|
static <U extends Unit<U>> |
DoubleScalar.plus(DoubleScalar.Abs<U> left,
DoubleScalar.Rel<U> right)
Add a Relative value to an Absolute value.
|
static <U extends Unit<U>> |
DoubleScalar.plus(DoubleScalar.Rel<U> left,
DoubleScalar.Abs<U> right)
Add an Absolute value to a Relative value.
|
| Constructor and Description |
|---|
Abs(DoubleScalar.Abs<AnglePlaneUnit> value)
Construct AnglePlane.Abs scalar.
|
Abs(DoubleScalar.Abs<AngleSlopeUnit> value)
Construct AngleSlope.Abs scalar.
|
Abs(DoubleScalar.Abs<DimensionlessUnit> value)
Construct Dimensionless.Abs scalar.
|
Abs(DoubleScalar.Abs<LengthUnit> value)
Construct Length.Abs scalar.
|
Abs(DoubleScalar.Abs<TemperatureUnit> value)
Construct Temperature.Abs scalar.
|
Abs(DoubleScalar.Abs<TimeUnit> value)
Construct Time.Abs scalar.
|
Abs(DoubleScalar.Abs<U> value)
Construct a new Absolute Immutable DoubleScalar from an existing Absolute Immutable DoubleScalar.
|
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Abs<U> |
MutableDoubleVector.Abs.get(int index)
Retrieve the value stored at a specified index as a DoubleScalar.
|
DoubleScalar.Abs<U> |
DoubleVector.Abs.get(int index)
Retrieve the value stored at a specified index as a DoubleScalar.
|
| Modifier and Type | Method and Description |
|---|---|
protected DoubleVectorDataSparse |
DoubleVector.initializeSparseMA(SortedMap<Integer,DoubleScalar.Abs<U>> values,
int length)
Import the values from a sparse map of integers and values.
|
| Constructor and Description |
|---|
Dense(DoubleScalar.Abs<U>[] values)
Construct a new Absolute Dense Mutable DoubleVector.
|
Dense(DoubleScalar.Abs<U>[] values)
Construct a new Absolute Dense Immutable DoubleVector.
|
Sparse(DoubleScalar.Abs<U>[] values)
Construct a new Absolute Sparse Mutable DoubleVector.
|
Sparse(DoubleScalar.Abs<U>[] values)
Construct a new Absolute Sparse Immutable DoubleVector.
|
| Constructor and Description |
|---|
Dense(List<DoubleScalar.Abs<AnglePlaneUnit>> values)
Construct a new Absolute Dense Mutable AnglePlaneVector.
|
Dense(List<DoubleScalar.Abs<AnglePlaneUnit>> values)
Construct a new Absolute Dense Immutable DoubleVector.
|
Dense(List<DoubleScalar.Abs<AngleSlopeUnit>> values)
Construct a new Absolute Dense Mutable AngleSlopeVector.
|
Dense(List<DoubleScalar.Abs<AngleSlopeUnit>> values)
Construct a new Absolute Dense Immutable DoubleVector.
|
Dense(List<DoubleScalar.Abs<DimensionlessUnit>> values)
Construct a new Absolute Dense Mutable DimensionlessVector.
|
Dense(List<DoubleScalar.Abs<DimensionlessUnit>> values)
Construct a new Absolute Dense Immutable DoubleVector.
|
Dense(List<DoubleScalar.Abs<LengthUnit>> values)
Construct a new Absolute Dense Mutable LengthVector.
|
Dense(List<DoubleScalar.Abs<LengthUnit>> values)
Construct a new Absolute Dense Immutable DoubleVector.
|
Dense(List<DoubleScalar.Abs<TemperatureUnit>> values)
Construct a new Absolute Dense Immutable DoubleVector.
|
Dense(List<DoubleScalar.Abs<TemperatureUnit>> values)
Construct a new Absolute Dense Mutable TemperatureVector.
|
Dense(List<DoubleScalar.Abs<TimeUnit>> values)
Construct a new Absolute Dense Immutable DoubleVector.
|
Dense(List<DoubleScalar.Abs<TimeUnit>> values)
Construct a new Absolute Dense Mutable TimeVector.
|
Dense(List<DoubleScalar.Abs<U>> values)
Construct a new Absolute Dense Mutable DoubleVector.
|
Dense(List<DoubleScalar.Abs<U>> values)
Construct a new Absolute Dense Immutable DoubleVector.
|
Sparse(SortedMap<Integer,DoubleScalar.Abs<AnglePlaneUnit>> values,
int angleplane)
Construct a new Absolute Sparse Mutable AnglePlaneVector.
|
Sparse(SortedMap<Integer,DoubleScalar.Abs<AnglePlaneUnit>> values,
int angleplane)
Construct a new Absolute Sparse Immutable DoubleVector.
|
Sparse(SortedMap<Integer,DoubleScalar.Abs<AngleSlopeUnit>> values,
int angleslope)
Construct a new Absolute Sparse Mutable AngleSlopeVector.
|
Sparse(SortedMap<Integer,DoubleScalar.Abs<AngleSlopeUnit>> values,
int angleslope)
Construct a new Absolute Sparse Immutable DoubleVector.
|
Sparse(SortedMap<Integer,DoubleScalar.Abs<DimensionlessUnit>> values,
int dimensionless)
Construct a new Absolute Sparse Mutable DimensionlessVector.
|
Sparse(SortedMap<Integer,DoubleScalar.Abs<DimensionlessUnit>> values,
int dimensionless)
Construct a new Absolute Sparse Immutable DoubleVector.
|
Sparse(SortedMap<Integer,DoubleScalar.Abs<LengthUnit>> values,
int length)
Construct a new Absolute Sparse Mutable LengthVector.
|
Sparse(SortedMap<Integer,DoubleScalar.Abs<LengthUnit>> values,
int length)
Construct a new Absolute Sparse Immutable DoubleVector.
|
Sparse(SortedMap<Integer,DoubleScalar.Abs<TemperatureUnit>> values,
int temperature)
Construct a new Absolute Sparse Immutable DoubleVector.
|
Sparse(SortedMap<Integer,DoubleScalar.Abs<TemperatureUnit>> values,
int temperature)
Construct a new Absolute Sparse Mutable TemperatureVector.
|
Sparse(SortedMap<Integer,DoubleScalar.Abs<TimeUnit>> values,
int time)
Construct a new Absolute Sparse Immutable DoubleVector.
|
Sparse(SortedMap<Integer,DoubleScalar.Abs<TimeUnit>> values,
int time)
Construct a new Absolute Sparse Mutable TimeVector.
|
Sparse(SortedMap<Integer,DoubleScalar.Abs<U>> values,
int length)
Construct a new Absolute Sparse Mutable DoubleVector.
|
Sparse(SortedMap<Integer,DoubleScalar.Abs<U>> values,
int length)
Construct a new Absolute Sparse Immutable DoubleVector.
|
Copyright © 2015 Delft University of Technology. All rights reserved.