Package | Description |
---|---|
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 |
---|---|
protected Speed |
SpeedMatrix.instantiateScalar(double value,
SpeedUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
protected Speed |
MutableSpeedMatrix.instantiateScalar(double value,
SpeedUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
Constructor and Description |
---|
MutableSpeedMatrix(Speed[][] values,
StorageType storageType)
Construct a new Relative Immutable Double SpeedMatrix.
|
SpeedMatrix(Speed[][] values,
StorageType storageType)
Construct a new Relative Immutable Double SpeedMatrix.
|
Modifier and Type | Field and Description |
---|---|
static Speed |
Speed.NaN
constant with value NaN.
|
static Speed |
Speed.NEG_MAXVALUE
constant with value -MAX_VALUE.
|
static Speed |
Speed.NEGATIVE_INFINITY
constant with value NEGATIVE_INFINITY.
|
static Speed |
Speed.POS_MAXVALUE
constant with value MAX_VALUE.
|
static Speed |
Speed.POSITIVE_INFINITY
constant with value POSITIVE_INFINITY.
|
static Speed |
Speed.ZERO
constant with value zero.
|
Modifier and Type | Method and Description |
---|---|
static Speed |
Speed.createSI(double value)
Construct Speed scalar.
|
Speed |
FlowVolume.divideBy(Area v)
Calculate the division of FlowVolume and Area, which results in a Speed scalar.
|
Speed |
Length.divideBy(Duration v)
Calculate the division of Length and Duration, which results in a Speed scalar.
|
Speed |
Power.divideBy(Force v)
Calculate the division of Power and Force, which results in a Speed scalar.
|
Speed |
Acceleration.divideBy(Frequency v)
Calculate the division of Acceleration and Frequency, which results in a Speed scalar.
|
Speed |
Speed.instantiateRel(double value,
SpeedUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
static Speed |
Speed.interpolate(Speed zero,
Speed one,
double ratio)
Interpolate between two values.
|
static Speed |
Speed.max(Speed r1,
Speed r2)
Return the maximum value of two relative scalars.
|
static Speed |
Speed.max(Speed r1,
Speed r2,
Speed... rn)
Return the maximum value of more than two relative scalars.
|
static Speed |
Speed.min(Speed r1,
Speed r2)
Return the minimum value of two relative scalars.
|
static Speed |
Speed.min(Speed r1,
Speed r2,
Speed... rn)
Return the minimum value of more than two relative scalars.
|
Speed |
Duration.multiplyBy(Acceleration v)
Calculate the multiplication of Duration and Acceleration, which results in a Speed scalar.
|
Speed |
Acceleration.multiplyBy(Duration v)
Calculate the multiplication of Acceleration and Duration, which results in a Speed scalar.
|
Speed |
Length.multiplyBy(Frequency v)
Calculate the multiplication of Length and Frequency, which results in a Speed scalar.
|
Speed |
Frequency.multiplyBy(Length v)
Calculate the multiplication of Frequency and Length, which results in a Speed scalar.
|
Speed |
Dimensionless.multiplyBy(Speed v)
Calculate the multiplication of Dimensionless and Speed, which results in a Speed scalar.
|
static Speed |
Speed.valueOf(String text)
Returns a Speed representation of a textual representation of a value with a unit.
|
Modifier and Type | Method and Description |
---|---|
Dimensionless |
Speed.divideBy(Speed v)
Calculate the division of Speed and Speed, which results in a Dimensionless scalar.
|
Force |
Power.divideBy(Speed v)
Calculate the division of Power and Speed, which results in a Force scalar.
|
Duration |
Length.divideBy(Speed v)
Calculate the division of Length and Speed, which results in a Duration scalar.
|
Area |
FlowVolume.divideBy(Speed v)
Calculate the division of FlowVolume and Speed, which results in a Area scalar.
|
Frequency |
Acceleration.divideBy(Speed v)
Calculate the division of Acceleration and Speed, which results in a Frequency scalar.
|
static Speed |
Speed.interpolate(Speed zero,
Speed one,
double ratio)
Interpolate between two values.
|
static Speed |
Speed.max(Speed r1,
Speed r2)
Return the maximum value of two relative scalars.
|
static Speed |
Speed.max(Speed r1,
Speed r2,
Speed... rn)
Return the maximum value of more than two relative scalars.
|
static Speed |
Speed.max(Speed r1,
Speed r2,
Speed... rn)
Return the maximum value of more than two relative scalars.
|
static Speed |
Speed.min(Speed r1,
Speed r2)
Return the minimum value of two relative scalars.
|
static Speed |
Speed.min(Speed r1,
Speed r2,
Speed... rn)
Return the minimum value of more than two relative scalars.
|
static Speed |
Speed.min(Speed r1,
Speed r2,
Speed... rn)
Return the minimum value of more than two relative scalars.
|
Frequency |
LinearDensity.multiplyBy(Speed v)
Calculate the multiplication of LinearDensity and Speed, which results in a Frequency scalar.
|
Acceleration |
Frequency.multiplyBy(Speed v)
Calculate the multiplication of Frequency and Speed, which results in a Acceleration scalar.
|
Power |
Force.multiplyBy(Speed v)
Calculate the multiplication of Force and Speed, which results in a Power scalar.
|
Force |
FlowMass.multiplyBy(Speed v)
Calculate the multiplication of FlowMass and Speed, which results in a Force scalar.
|
Length |
Duration.multiplyBy(Speed v)
Calculate the multiplication of Duration and Speed, which results in a Length scalar.
|
Speed |
Dimensionless.multiplyBy(Speed v)
Calculate the multiplication of Dimensionless and Speed, which results in a Speed scalar.
|
FlowVolume |
Area.multiplyBy(Speed v)
Calculate the multiplication of Area and Speed, which results in a FlowVolume scalar.
|
Constructor and Description |
---|
Speed(Speed value)
Construct Speed scalar.
|
Modifier and Type | Method and Description |
---|---|
protected Speed |
SpeedVector.instantiateScalar(double value,
SpeedUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
protected Speed |
MutableSpeedVector.instantiateScalar(double value,
SpeedUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
Speed[] |
SpeedVector.toArray()
Return an array of Speed Scalars from this vector.
|
Speed[] |
MutableSpeedVector.toArray()
Return an array of Speed Scalars from this vector.
|
Constructor and Description |
---|
MutableSpeedVector(Speed[] values,
StorageType storageType)
Construct a new Relative Immutable Double SpeedVector.
|
SpeedVector(Speed[] values,
StorageType storageType)
Construct a new Relative Immutable Double SpeedVector.
|
Constructor and Description |
---|
MutableSpeedVector(List<Speed> values,
StorageType storageType)
Construct a new Relative Immutable Double SpeedVector.
|
MutableSpeedVector(SortedMap<Integer,Speed> values,
int length,
StorageType storageType)
Construct a new Relative Immutable Double SpeedVector.
|
SpeedVector(List<Speed> values,
StorageType storageType)
Construct a new Relative Immutable Double SpeedVector.
|
SpeedVector(SortedMap<Integer,Speed> values,
int length,
StorageType storageType)
Construct a new Relative Immutable Double SpeedVector.
|
Copyright © 2015–2019 Delft University of Technology. All rights reserved.