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 MoneyPerMass |
MutableMoneyPerMassMatrix.instantiateScalar(double value,
MoneyPerMassUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
protected MoneyPerMass |
MoneyPerMassMatrix.instantiateScalar(double value,
MoneyPerMassUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
Constructor and Description |
---|
MoneyPerMassMatrix(MoneyPerMass[][] values,
StorageType storageType)
Construct a new Relative Immutable Double MoneyPerMassMatrix.
|
MutableMoneyPerMassMatrix(MoneyPerMass[][] values,
StorageType storageType)
Construct a new Relative Immutable Double MoneyPerMassMatrix.
|
Modifier and Type | Method and Description |
---|---|
MoneyPerMass |
Money.divideBy(Mass v)
Calculate the division of Money and Mass, which results in a MoneyPerMass scalar.
|
MoneyPerMass |
MoneyPerMass.instantiateRel(double value,
MoneyPerMassUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
static MoneyPerMass |
MoneyPerMass.interpolate(MoneyPerMass zero,
MoneyPerMass one,
double ratio)
Interpolate between two values.
|
static MoneyPerMass |
MoneyPerMass.max(MoneyPerMass r1,
MoneyPerMass r2)
Return the maximum value of two monetary scalars.
|
static MoneyPerMass |
MoneyPerMass.max(MoneyPerMass r1,
MoneyPerMass r2,
MoneyPerMass... rn)
Return the maximum value of more than two monetary scalars.
|
static MoneyPerMass |
MoneyPerMass.min(MoneyPerMass r1,
MoneyPerMass r2)
Return the minimum value of two monetary scalars.
|
static MoneyPerMass |
MoneyPerMass.min(MoneyPerMass r1,
MoneyPerMass r2,
MoneyPerMass... rn)
Return the minimum value of more than two monetary scalars.
|
MoneyPerMass |
Dimensionless.multiplyBy(MoneyPerMass v)
Calculate the multiplication of Dimensionless and MoneyPerMass, which results in a MoneyPerMass scalar.
|
Modifier and Type | Method and Description |
---|---|
Dimensionless |
MoneyPerMass.divideBy(MoneyPerMass v)
Calculate the division of MoneyPerMass and MoneyPerMass, which results in a Dimensionless scalar.
|
static MoneyPerMass |
MoneyPerMass.interpolate(MoneyPerMass zero,
MoneyPerMass one,
double ratio)
Interpolate between two values.
|
static MoneyPerMass |
MoneyPerMass.max(MoneyPerMass r1,
MoneyPerMass r2)
Return the maximum value of two monetary scalars.
|
static MoneyPerMass |
MoneyPerMass.max(MoneyPerMass r1,
MoneyPerMass r2,
MoneyPerMass... rn)
Return the maximum value of more than two monetary scalars.
|
static MoneyPerMass |
MoneyPerMass.max(MoneyPerMass r1,
MoneyPerMass r2,
MoneyPerMass... rn)
Return the maximum value of more than two monetary scalars.
|
static MoneyPerMass |
MoneyPerMass.min(MoneyPerMass r1,
MoneyPerMass r2)
Return the minimum value of two monetary scalars.
|
static MoneyPerMass |
MoneyPerMass.min(MoneyPerMass r1,
MoneyPerMass r2,
MoneyPerMass... rn)
Return the minimum value of more than two monetary scalars.
|
static MoneyPerMass |
MoneyPerMass.min(MoneyPerMass r1,
MoneyPerMass r2,
MoneyPerMass... rn)
Return the minimum value of more than two monetary scalars.
|
Money |
Mass.multiplyBy(MoneyPerMass v)
Calculate the multiplication of Mass and MoneyPerMass, which results in a Money scalar.
|
MoneyPerMass |
Dimensionless.multiplyBy(MoneyPerMass v)
Calculate the multiplication of Dimensionless and MoneyPerMass, which results in a MoneyPerMass scalar.
|
Constructor and Description |
---|
MoneyPerMass(MoneyPerMass value)
Construct MoneyPerMass scalar.
|
Modifier and Type | Method and Description |
---|---|
protected MoneyPerMass |
MutableMoneyPerMassVector.instantiateScalar(double value,
MoneyPerMassUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
protected MoneyPerMass |
MoneyPerMassVector.instantiateScalar(double value,
MoneyPerMassUnit unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
MoneyPerMass[] |
MutableMoneyPerMassVector.toArray()
Return an array of MoneyPerMass Scalars from this vector.
|
MoneyPerMass[] |
MoneyPerMassVector.toArray()
Return an array of MoneyPerMass Scalars from this vector.
|
Constructor and Description |
---|
MoneyPerMassVector(MoneyPerMass[] values,
StorageType storageType)
Construct a new Relative Immutable Double MoneyPerMassVector.
|
MutableMoneyPerMassVector(MoneyPerMass[] values,
StorageType storageType)
Construct a new Relative Immutable Double MoneyPerMassVector.
|
Constructor and Description |
---|
MoneyPerMassVector(List<MoneyPerMass> values,
StorageType storageType)
Construct a new Relative Immutable Double MoneyPerMassVector.
|
MoneyPerMassVector(SortedMap<Integer,MoneyPerMass> values,
int length,
StorageType storageType)
Construct a new Relative Immutable Double MoneyPerMassVector.
|
MutableMoneyPerMassVector(List<MoneyPerMass> values,
StorageType storageType)
Construct a new Relative Immutable Double MoneyPerMassVector.
|
MutableMoneyPerMassVector(SortedMap<Integer,MoneyPerMass> values,
int length,
StorageType storageType)
Construct a new Relative Immutable Double MoneyPerMassVector.
|
Copyright © 2015–2018 Delft University of Technology. All rights reserved.