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