| Package | Description |
|---|---|
| org.djunits.value |
Base classes for unit-based 0-d (Scalar), 1-d (Vector) and 2-d (Matrix) values.
|
| 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.Rel<AngleUnit> |
AngleUtil.normalize(DoubleScalar.Rel<AngleUnit> angle)
Normalize an angle between 0 and 2 * PI.
|
| Modifier and Type | Method and Description |
|---|---|
static DoubleScalar.Rel<AngleUnit> |
AngleUtil.normalize(DoubleScalar.Rel<AngleUnit> angle)
Normalize an angle between 0 and 2 * PI.
|
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
MutableTypedDoubleMatrixDimensionless<U extends Unit<U>,R extends TypedDoubleMatrixRel<U,R,MR,S>,MR extends MutableTypedDoubleMatrixDimensionless<U,R,MR,S>,S extends DoubleScalar.Rel<U>>
Relative Mutable typed Matrix.
|
(package private) class |
MutableTypedDoubleMatrixRel<U extends Unit<U>,R extends TypedDoubleMatrixRel<U,R,MR,S>,MR extends MutableTypedDoubleMatrixRel<U,R,MR,S>,S extends DoubleScalar.Rel<U>>
Relative Mutable typed Matrix.
|
(package private) class |
TypedDoubleMatrixRel<U extends Unit<U>,R extends TypedDoubleMatrixRel<U,R,MR,S>,MR extends MutableTypedDoubleMatrixRel<U,R,MR,S>,S extends DoubleScalar.Rel<U>>
Relative Immutable typed matrix.
|
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Rel<U> |
MutableDoubleMatrix.Rel.get(int row,
int column)
Retrieve the value stored at a specified row and column as a DoubleScalar.
|
DoubleScalar.Rel<U> |
DoubleMatrix.Rel.get(int row,
int column)
Retrieve the value stored at a specified row and column as a DoubleScalar.
|
| Modifier and Type | Method and Description |
|---|---|
MutableDoubleMatrix.Abs<U> |
MutableDoubleMatrix.Abs.decrementBy(DoubleScalar.Rel<U> decrement)
Decrement the value by the supplied value and return the changed vector.
|
MutableDoubleMatrix.Rel<U> |
MutableDoubleMatrix.Rel.decrementBy(DoubleScalar.Rel<U> decrement)
Decrement the value by the supplied value and return the changed vector.
|
MutableDoubleMatrix.Abs<U> |
MutableDoubleMatrix.Abs.divideBy(DoubleScalar.Rel<U> factor)
Divide the values in the vector by the supplied value and return the changed vector.
|
MutableDoubleMatrix.Rel<U> |
MutableDoubleMatrix.Rel.divideBy(DoubleScalar.Rel<U> factor)
Divide the values in the vector by the supplied value and return the changed vector.
|
MutableDoubleMatrix.Abs<U> |
MutableDoubleMatrix.Abs.incrementBy(DoubleScalar.Rel<U> increment)
Increment the value by the supplied value and return the changed vector.
|
MutableDoubleMatrix.Rel<U> |
MutableDoubleMatrix.Rel.incrementBy(DoubleScalar.Rel<U> increment)
Increment the value by the supplied value and return the changed vector.
|
MutableDoubleMatrix.Abs<U> |
MutableDoubleMatrix.Abs.multiplyBy(DoubleScalar.Rel<U> factor)
Multiply the values in the vector by the supplied value and return the changed vector.
|
MutableDoubleMatrix.Rel<U> |
MutableDoubleMatrix.Rel.multiplyBy(DoubleScalar.Rel<U> factor)
Multiply the values in the vector by the supplied value and return the changed vector.
|
| Constructor and Description |
|---|
MutableTypedDoubleMatrixDimensionless(S[][] values,
StorageType storageType)
Construct a new Relative Mutable DoubleMatrix.
|
MutableTypedDoubleMatrixRel(S[][] values,
StorageType storageType)
Construct a new Relative Mutable DoubleMatrix.
|
Rel(DoubleScalar.Rel<U>[][] values,
StorageType storageType)
Construct a new Relative Mutable DoubleMatrix.
|
Rel(DoubleScalar.Rel<U>[][] values,
StorageType storageType)
Construct a new Relative Immutable DoubleMatrix.
|
TypedDoubleMatrixRel(S[][] values,
StorageType storageType)
Construct a new Relative Immutable DoubleMatrix.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Acceleration
Easy access methods for the Acceleration DoubleScalar, which is relative by definition.
|
class |
Angle
Easy access methods for the Relative Angle DoubleScalar.
|
class |
AngleSolid
Easy access methods for the AngleSolid DoubleScalar, which is relative by definition.
|
class |
Area
Easy access methods for the Area DoubleScalar, which is relative by definition.
|
class |
Density
Easy access methods for the Density DoubleScalar, which is relative by definition.
|
class |
Dimensionless
Easy access methods for the Dimensionless DoubleScalar, which is relative by definition.
|
class |
Duration
Easy access methods for the Relative Duration DoubleScalar.
|
class |
ElectricalCharge
Easy access methods for the ElectricalCharge DoubleScalar, which is relative by definition.
|
class |
ElectricalCurrent
Easy access methods for the ElectricalCurrent DoubleScalar, which is relative by definition.
|
class |
ElectricalPotential
Easy access methods for the ElectricalPotential DoubleScalar, which is relative by definition.
|
class |
ElectricalResistance
Easy access methods for the ElectricalResistance DoubleScalar, which is relative by definition.
|
class |
Energy
Easy access methods for the Energy DoubleScalar, which is relative by definition.
|
class |
FlowMass
Easy access methods for the FlowMass DoubleScalar, which is relative by definition.
|
class |
FlowVolume
Easy access methods for the FlowVolume DoubleScalar, which is relative by definition.
|
class |
Force
Easy access methods for the Force DoubleScalar, which is relative by definition.
|
class |
Frequency
Easy access methods for the Frequency DoubleScalar, which is relative by definition.
|
class |
Length
Easy access methods for the Relative Length DoubleScalar.
|
class |
LinearDensity
Easy access methods for the LinearDensity DoubleScalar, which is relative by definition.
|
class |
Mass
Easy access methods for the Mass DoubleScalar, which is relative by definition.
|
class |
Money
Easy access methods for the Money DoubleScalar, which is relative by definition.
|
class |
MoneyPerArea
Easy access methods for the MoneyPerArea DoubleScalar, which is relative by definition.
|
class |
MoneyPerEnergy
Easy access methods for the MoneyPerEnergy DoubleScalar, which is relative by definition.
|
class |
MoneyPerLength
Easy access methods for the MoneyPerLength DoubleScalar, which is relative by definition.
|
class |
MoneyPerMass
Easy access methods for the MoneyPerMass DoubleScalar, which is relative by definition.
|
class |
MoneyPerTime
Easy access methods for the MoneyPerTime DoubleScalar, which is relative by definition.
|
class |
MoneyPerVolume
Easy access methods for the MoneyPerVolume DoubleScalar, which is relative by definition.
|
class |
Power
Easy access methods for the Power DoubleScalar, which is relative by definition.
|
class |
Pressure
Easy access methods for the Pressure DoubleScalar, which is relative by definition.
|
class |
Speed
Easy access methods for the Speed DoubleScalar, which is relative by definition.
|
class |
Temperature
Easy access methods for the Relative Temperature DoubleScalar.
|
class |
Torque
Easy access methods for the Torque DoubleScalar, which is relative by definition.
|
class |
TypedDoubleScalarDimensionless<U extends Unit<U>,R extends TypedDoubleScalarDimensionless<U,R>>
Absolute Relative typed scalar.
|
class |
TypedDoubleScalarRel<U extends Unit<U>,R extends TypedDoubleScalarRel<U,R>>
Absolute Relative typed scalar.
|
class |
Volume
Easy access methods for the Volume DoubleScalar, which is relative by definition.
|
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Rel<U> |
DoubleScalar.Rel.abs()
Set the value(s) to their absolute value.
|
DoubleScalar.Rel<U> |
DoubleScalar.Rel.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.
|
static DoubleScalar.Rel<SIUnit> |
DoubleScalar.divide(DoubleScalar.Rel<?> left,
DoubleScalar.Rel<?> right)
Divide two values; the result is a new instance with a different (existing or generated) SI unit.
|
DoubleScalar.Rel<U> |
DoubleScalar.Rel.divideBy(double constant)
Scale the value(s) by the inverse of a factor; i.e.
|
DoubleScalar.Rel<U> |
DoubleScalar.Rel.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.Rel<U> zero,
DoubleScalar.Rel<U> one,
double ratio)
Interpolate between or extrapolate over two values.
|
DoubleScalar.Rel<U> |
DoubleScalar.Abs.minus(DoubleScalar.Abs<U> decrement)
Decrement the value by the supplied value and return the result.
|
static <U extends Unit<U>> |
DoubleScalar.minus(DoubleScalar.Abs<U> left,
DoubleScalar.Abs<U> right)
Subtract two absolute values.
|
DoubleScalar.Rel<U> |
DoubleScalar.Rel.minus(DoubleScalar.Rel<U> decrement)
Decrement the value by the supplied value and return the result.
|
static <U extends Unit<U>> |
DoubleScalar.minus(DoubleScalar.Rel<U> left,
DoubleScalar.Rel<U> right)
Subtract a relative value from a relative value.
|
static DoubleScalar.Rel<SIUnit> |
DoubleScalar.multiply(DoubleScalar.Rel<?> left,
DoubleScalar.Rel<?> right)
Multiply two values; the result is a new instance with a different (existing or generated) SI unit.
|
DoubleScalar.Rel<U> |
DoubleScalar.Rel.multiplyBy(double constant)
Scale the value(s) by a factor.
|
DoubleScalar.Rel<U> |
DoubleScalar.Rel.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.Rel<U> right)
Add a Relative value to a Relative value.
|
DoubleScalar.Rel<U> |
DoubleScalar.Rel.rint()
Set the value(s) to the value(s) that are closest in value to the argument and equal to a mathematical integer.
|
DoubleScalar.Rel<U> |
DoubleScalar.Rel.round()
Set the value(s) to the closest long to the argument with ties rounding up.
|
| Modifier and Type | Method and Description |
|---|---|
int |
DoubleScalar.Rel.compareTo(DoubleScalar.Rel<U> o) |
static DoubleScalar.Rel<SIUnit> |
DoubleScalar.divide(DoubleScalar.Rel<?> left,
DoubleScalar.Rel<?> right)
Divide two values; the result is a new instance with a different (existing or generated) SI unit.
|
static DoubleScalar.Rel<SIUnit> |
DoubleScalar.divide(DoubleScalar.Rel<?> left,
DoubleScalar.Rel<?> right)
Divide two values; the result is a new instance with a different (existing or generated) SI unit.
|
boolean |
DoubleScalar.Rel.eq(DoubleScalar.Rel<U> o)
Test if this DoubleScalar.Rel<U> is equal to a DoubleScalar.Rel<U>.
|
boolean |
DoubleScalar.Rel.ge(DoubleScalar.Rel<U> o)
Test if this DoubleScalar.Rel<U> is greater than a DoubleScalar.Rel<U>.
|
boolean |
DoubleScalar.Rel.gt(DoubleScalar.Rel<U> o)
Test if this DoubleScalar.Rel<U> is greater than or equal to a DoubleScalar.Rel<U>.
|
static <U extends Unit<U>> |
DoubleScalar.interpolate(DoubleScalar.Rel<U> zero,
DoubleScalar.Rel<U> one,
double ratio)
Interpolate between or extrapolate over two values.
|
static <U extends Unit<U>> |
DoubleScalar.interpolate(DoubleScalar.Rel<U> zero,
DoubleScalar.Rel<U> one,
double ratio)
Interpolate between or extrapolate over two values.
|
boolean |
DoubleScalar.Rel.le(DoubleScalar.Rel<U> o)
Test if this DoubleScalar.Rel<U> is less than or equal to a DoubleScalar.Rel<U>.
|
boolean |
DoubleScalar.Rel.lt(DoubleScalar.Rel<U> o)
Test if this DoubleScalar.Rel<U> is less than a DoubleScalar.Rel<U>.
|
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.
|
DoubleScalar.Rel<U> |
DoubleScalar.Rel.minus(DoubleScalar.Rel<U> decrement)
Decrement the value by the supplied value and return the result.
|
static <U extends Unit<U>> |
DoubleScalar.minus(DoubleScalar.Rel<U> left,
DoubleScalar.Rel<U> right)
Subtract a relative value from a relative value.
|
static <U extends Unit<U>> |
DoubleScalar.minus(DoubleScalar.Rel<U> left,
DoubleScalar.Rel<U> right)
Subtract a relative value from a relative value.
|
static DoubleScalar.Rel<SIUnit> |
DoubleScalar.multiply(DoubleScalar.Rel<?> left,
DoubleScalar.Rel<?> right)
Multiply two values; the result is a new instance with a different (existing or generated) SI unit.
|
static DoubleScalar.Rel<SIUnit> |
DoubleScalar.multiply(DoubleScalar.Rel<?> left,
DoubleScalar.Rel<?> right)
Multiply two values; the result is a new instance with a different (existing or generated) SI unit.
|
boolean |
DoubleScalar.Rel.ne(DoubleScalar.Rel<U> o)
Test if this DoubleScalar.Rel<U> is not equal to a DoubleScalar.Rel<U>.
|
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.
|
DoubleScalar.Rel<U> |
DoubleScalar.Rel.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.
|
static <U extends Unit<U>> |
DoubleScalar.plus(DoubleScalar.Rel<U> left,
DoubleScalar.Rel<U> right)
Add a Relative value to a Relative value.
|
static <U extends Unit<U>> |
DoubleScalar.plus(DoubleScalar.Rel<U> left,
DoubleScalar.Rel<U> right)
Add a Relative value to a Relative value.
|
| Constructor and Description |
|---|
Rel(DoubleScalar.Rel<U> value)
Construct a new Relative Immutable DoubleScalar from an existing Relative Immutable DoubleScalar.
|
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
MutableTypedDoubleVectorDimensionless<U extends Unit<U>,R extends TypedDoubleVectorRel<U,R,MR,S>,MR extends MutableTypedDoubleVectorDimensionless<U,R,MR,S>,S extends DoubleScalar.Rel<U>>
Relative Mutable typed Dimensionless Vector.
|
(package private) class |
MutableTypedDoubleVectorRel<U extends Unit<U>,R extends TypedDoubleVectorRel<U,R,MR,S>,MR extends MutableTypedDoubleVectorRel<U,R,MR,S>,S extends DoubleScalar.Rel<U>>
Relative Mutable typed Vector.
|
(package private) class |
TypedDoubleVectorRel<U extends Unit<U>,R extends TypedDoubleVectorRel<U,R,MR,S>,MR extends MutableTypedDoubleVectorRel<U,R,MR,S>,S extends DoubleScalar.Rel<U>>
Relative Immutable typed vector.
|
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Rel<U> |
MutableDoubleVector.Rel.get(int index)
Retrieve the value stored at a specified index as a DoubleScalar.
|
DoubleScalar.Rel<U> |
DoubleVector.Rel.get(int index)
Retrieve the value stored at a specified index as a DoubleScalar.
|
| Modifier and Type | Method and Description |
|---|---|
MutableDoubleVector.Abs<U> |
MutableDoubleVector.Abs.decrementBy(DoubleScalar.Rel<U> decrement)
Decrement the value by the supplied value and return the changed vector.
|
MutableDoubleVector.Rel<U> |
MutableDoubleVector.Rel.decrementBy(DoubleScalar.Rel<U> decrement)
Decrement the value by the supplied value and return the changed vector.
|
MutableDoubleVector.Abs<U> |
MutableDoubleVector.Abs.divideBy(DoubleScalar.Rel<U> factor)
Divide the values in the vector by the supplied value and return the changed vector.
|
MutableDoubleVector.Rel<U> |
MutableDoubleVector.Rel.divideBy(DoubleScalar.Rel<U> factor)
Divide the values in the vector by the supplied value and return the changed vector.
|
MutableDoubleVector.Abs<U> |
MutableDoubleVector.Abs.incrementBy(DoubleScalar.Rel<U> increment)
Increment the value by the supplied value and return the changed vector.
|
MutableDoubleVector.Rel<U> |
MutableDoubleVector.Rel.incrementBy(DoubleScalar.Rel<U> increment)
Increment the value by the supplied value and return the changed vector.
|
MutableDoubleVector.Abs<U> |
MutableDoubleVector.Abs.multiplyBy(DoubleScalar.Rel<U> factor)
Multiply the values in the vector by the supplied value and return the changed vector.
|
MutableDoubleVector.Rel<U> |
MutableDoubleVector.Rel.multiplyBy(DoubleScalar.Rel<U> factor)
Multiply the values in the vector by the supplied value and return the changed vector.
|
| Constructor and Description |
|---|
MutableTypedDoubleVectorDimensionless(S[] values,
StorageType storageType)
Construct a new Relative Mutable DoubleVector.
|
MutableTypedDoubleVectorRel(S[] values,
StorageType storageType)
Construct a new Relative Mutable DoubleVector.
|
Rel(DoubleScalar.Rel<U>[] values,
StorageType storageType)
Construct a new Relative Mutable DoubleVector.
|
Rel(DoubleScalar.Rel<U>[] values,
StorageType storageType)
Construct a new Relative Immutable DoubleVector.
|
TypedDoubleVectorRel(S[] values,
StorageType storageType)
Construct a new Relative Immutable DoubleVector.
|
Copyright © 2015–2016 Delft University of Technology. All rights reserved.