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