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 Length |
MutableLengthMatrix.instantiateScalar(double value,
LengthUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
protected Length |
LengthMatrix.instantiateScalar(double value,
LengthUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
Constructor and Description |
---|
LengthMatrix(Length[][] values,
StorageType storageType)
Construct a new Relative Immutable Double LengthMatrix.
|
MutableLengthMatrix(Length[][] values,
StorageType storageType)
Construct a new Relative Mutable Double LengthMatrix.
|
Modifier and Type | Field and Description |
---|---|
static Length |
Length.NaN
constant with value NaN.
|
static Length |
Length.NEG_MAXVALUE
constant with value -MAX_VALUE.
|
static Length |
Length.NEGATIVE_INFINITY
constant with value NEGATIVE_INFINITY.
|
static Length |
Length.POS_MAXVALUE
constant with value MAX_VALUE.
|
static Length |
Length.POSITIVE_INFINITY
constant with value POSITIVE_INFINITY.
|
static Length |
Length.ZERO
constant with value zero.
|
Modifier and Type | Method and Description |
---|---|
static Length |
Length.createSI(double value)
Construct Length scalar.
|
Length |
Volume.divideBy(Area v)
Calculate the division of Volume and Area, which results in a Length scalar.
|
Length |
Torque.divideBy(Force v)
Calculate the division of Torque and Force, which results in a Length scalar.
|
Length |
Energy.divideBy(Force v)
Calculate the division of Energy and Force, which results in a Length scalar.
|
Length |
Speed.divideBy(Frequency v)
Calculate the division of Speed and Frequency, which results in a Length scalar.
|
Length |
Area.divideBy(Length v)
Calculate the division of Area and Length, which results in a Length scalar.
|
Length |
Dimensionless.divideBy(LinearDensity v)
Calculate the division of Dimensionless and LinearDensity, which results in a Length scalar.
|
Length |
Position.instantiateRel(double value,
LengthUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
Length |
Length.instantiateRel(double value,
LengthUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
static Length |
Length.interpolate(Length zero,
Length one,
double ratio)
Interpolate between two values.
|
static Length |
Length.max(Length r1,
Length r2)
Return the maximum value of two relative scalars.
|
static Length |
Length.max(Length r1,
Length r2,
Length... rn)
Return the maximum value of more than two relative scalars.
|
static Length |
Length.min(Length r1,
Length r2)
Return the minimum value of two relative scalars.
|
static Length |
Length.min(Length r1,
Length r2,
Length... rn)
Return the minimum value of more than two relative scalars.
|
Length |
LinearDensity.multiplyBy(Area v)
Calculate the multiplication of LinearDensity and Area, which results in a Length scalar.
|
Length |
Speed.multiplyBy(Duration v)
Calculate the multiplication of Speed and Duration, which results in a Length scalar.
|
Length |
Dimensionless.multiplyBy(Length v)
Calculate the multiplication of Dimensionless and Length, which results in a Length scalar.
|
Length |
Area.multiplyBy(LinearDensity v)
Calculate the multiplication of Area and LinearDensity, which results in a Length scalar.
|
Length |
Duration.multiplyBy(Speed v)
Calculate the multiplication of Duration and Speed, which results in a Length scalar.
|
Modifier and Type | Method and Description |
---|---|
Area |
Volume.divideBy(Length v)
Calculate the division of Volume and Length, which results in a Area scalar.
|
Force |
Torque.divideBy(Length v)
Calculate the division of Torque and Length, which results in a Force scalar.
|
Frequency |
Speed.divideBy(Length v)
Calculate the division of Speed and Length, which results in a Frequency scalar.
|
MoneyPerLength |
Money.divideBy(Length v)
Calculate the division of Money and Length, which results in a MoneyPerLength scalar.
|
Dimensionless |
Length.divideBy(Length v)
Calculate the division of Length and Length, which results in a Dimensionless scalar.
|
Force |
Energy.divideBy(Length v)
Calculate the division of Energy and Length, which results in a Force scalar.
|
LinearDensity |
Dimensionless.divideBy(Length v)
Calculate the division of Dimensionless and Length, which results in a LinearDensity scalar.
|
Length |
Area.divideBy(Length v)
Calculate the division of Area and Length, which results in a Length scalar.
|
static Length |
Length.interpolate(Length zero,
Length one,
double ratio)
Interpolate between two values.
|
static Length |
Length.max(Length r1,
Length r2)
Return the maximum value of two relative scalars.
|
static Length |
Length.max(Length r1,
Length r2,
Length... rn)
Return the maximum value of more than two relative scalars.
|
static Length |
Length.max(Length r1,
Length r2,
Length... rn)
Return the maximum value of more than two relative scalars.
|
static Length |
Length.min(Length r1,
Length r2)
Return the minimum value of two relative scalars.
|
static Length |
Length.min(Length r1,
Length r2,
Length... rn)
Return the minimum value of more than two relative scalars.
|
static Length |
Length.min(Length r1,
Length r2,
Length... rn)
Return the minimum value of more than two relative scalars.
|
Money |
MoneyPerLength.multiplyBy(Length v)
Calculate the multiplication of MoneyPerLength and Length, which results in a Money scalar.
|
Area |
Length.multiplyBy(Length v)
Calculate the multiplication of Length and Length, which results in a Area scalar.
|
Speed |
Frequency.multiplyBy(Length v)
Calculate the multiplication of Frequency and Length, which results in a Speed scalar.
|
Energy |
Force.multiplyBy(Length v)
Calculate the multiplication of Force and Length, which results in a Energy scalar.
|
Length |
Dimensionless.multiplyBy(Length v)
Calculate the multiplication of Dimensionless and Length, which results in a Length scalar.
|
Volume |
Area.multiplyBy(Length v)
Calculate the multiplication of Area and Length, which results in a Volume scalar.
|
Constructor and Description |
---|
Length(Length value)
Construct Length scalar.
|
Modifier and Type | Method and Description |
---|---|
protected Length |
MutableLengthVector.instantiateScalar(double value,
LengthUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
protected Length |
LengthVector.instantiateScalar(double value,
LengthUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
Length[] |
MutableLengthVector.toArray()
Return an array of Length Scalars from this vector.
|
Length[] |
LengthVector.toArray()
Return an array of Length Scalars from this vector.
|
Constructor and Description |
---|
LengthVector(Length[] values,
StorageType storageType)
Construct a new Relative Immutable Double LengthVector.
|
MutableLengthVector(Length[] values,
StorageType storageType)
Construct a new Relative Mutable Double LengthVector.
|
Constructor and Description |
---|
LengthVector(List<Length> values,
StorageType storageType)
Construct a new Relative Immutable Double LengthVector.
|
LengthVector(SortedMap<Integer,Length> values,
int length,
StorageType storageType)
Construct a new Relative Immutable Double LengthVector.
|
MutableLengthVector(List<Length> values,
StorageType storageType)
Construct a new Relative Mutable Double LengthVector.
|
MutableLengthVector(SortedMap<Integer,Length> values,
int length,
StorageType storageType)
Construct a new Relative Mutable Double LengthVector.
|
Copyright © 2015–2018 Delft University of Technology. All rights reserved.