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