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