| Package | Description |
|---|---|
| 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 |
|---|---|
Money |
Money.abs()
Set the value(s) to their absolute value.
|
Money |
Money.acos()
Set the value(s) to the arc cosine of the value(s); the resulting angle is in the range 0.0 through pi.
|
Money |
Money.asin()
Set the value(s) to the arc sine of the value(s); the resulting angle is in the range -pi/2 through pi/2.
|
Money |
Money.atan()
Set the value(s) to the arc tangent of the value(s); the resulting angle is in the range -pi/2 through pi/2.
|
Money |
Money.cbrt()
Set the value(s) to the(ir) cube root.
|
Money |
Money.ceil()
Set the value(s) to the smallest (closest to negative infinity) value(s) that are greater than or equal to the argument
and equal to a mathematical integer.
|
Money |
Money.cos()
Set the value(s) to the trigonometric cosine of the value(s).
|
Money |
Money.cosh()
Set the value(s) to the hyperbolic cosine of the value(s).
|
Money |
Money.divideBy(double divisor)
Scale the value(s) by the inverse of a factor; i.e.
|
Money |
MoneyPerTime.divideBy(Frequency v)
Calculate the division of MoneyPerTime 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.exp()
Set the value(s) to Euler's number e raised to the power of the value(s).
|
Money |
Money.expm1()
Set the value(s) to Euler's number e raised to the power of the value(s) minus 1 (e^x - 1).
|
Money |
Money.floor()
Set the value(s) to the largest (closest to positive infinity) value(s) that are less than or equal to the argument and
equal to a mathematical integer.
|
static Money |
Money.interpolate(Money zero,
Money one,
double ratio)
Interpolate between two values.
|
Money |
Money.inv()
Set the value(s) to the complement (1.0/x) of the value(s).
|
Money |
Money.log()
Set the value(s) to the natural logarithm (base e) of the value(s).
|
Money |
Money.log10()
Set the value(s) to the base 10 logarithm of the value(s).
|
Money |
Money.log1p()
Set the value(s) to the natural logarithm of the sum of the value(s) and 1.
|
Money |
Money.minus(Money v)
Relative scalar minus Relative scalar = Relative scalar.
|
Money |
MoneyPerArea.multiplyBy(Area v)
Calculate the multiplication of MoneyPerArea and Area, which results in a Money scalar.
|
Money |
Money.multiplyBy(double factor)
Scale the value(s) by a factor.
|
Money |
MoneyPerEnergy.multiplyBy(Energy v)
Calculate the multiplication of MoneyPerEnergy and Energy, which results in a Money scalar.
|
Money |
MoneyPerLength.multiplyBy(Length.Rel 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.Rel.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 |
Energy.multiplyBy(MoneyPerEnergy v)
Calculate the multiplication of Energy and MoneyPerEnergy, which results in a Money scalar.
|
Money |
Length.Rel.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 |
Time.Rel.multiplyBy(MoneyPerTime v)
Calculate the multiplication of Time and MoneyPerTime, 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 |
MoneyPerTime.multiplyBy(Time.Rel v)
Calculate the multiplication of MoneyPerTime and Time, which results in a Money scalar.
|
Money |
MoneyPerVolume.multiplyBy(Volume v)
Calculate the multiplication of MoneyPerVolume and Volume, which results in a Money scalar.
|
Money |
Money.plus(Money v)
Relative scalar plus Relative scalar = Relative scalar.
|
Money |
Money.pow(double x)
Set the value(s) to the value(s) raised to the power of the argument.
|
Money |
Money.rint()
Set the value(s) to the value(s) that are closest in value to the argument and equal to a mathematical integer.
|
Money |
Money.round()
Set the value(s) to the closest long to the argument with ties rounding up.
|
Money |
Money.signum()
Set the value(s) to the signum function of the value(s); zero if the argument is zero, 1.0 if the argument is greater
than zero, -1.0 if the argument is less than zero.
|
Money |
Money.sin()
Set the value(s) to the trigonometric sine of the value(s).
|
Money |
Money.sinh()
Set the value(s) to the hyperbolic sine of the value(s).
|
Money |
Money.sqrt()
Set the value(s) to the correctly rounded positive square root of the value(s).
|
Money |
Money.tan()
Set the value(s) to the trigonometric tangent of the value(s).
|
Money |
Money.tanh()
Set the value(s) to the hyperbolic tangent of the value(s).
|
Money |
Money.toDegrees()
Set the value(s) to approximately equivalent angle(s) measured in degrees.
|
Money |
Money.toRadians()
Set the value(s) to approximately equivalent angle(s) measured in radians.
|
| Modifier and Type | Method and Description |
|---|---|
Dimensionless.Rel |
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.
|
Money |
Money.minus(Money v)
Relative scalar minus Relative scalar = Relative scalar.
|
MoneyPerLength |
LinearDensity.multiplyBy(Money v)
Calculate the multiplication of LinearDensity and Money, which results in a MoneyPerLength scalar.
|
MoneyPerTime |
Frequency.multiplyBy(Money v)
Calculate the multiplication of Frequency and Money, which results in a MoneyPerTime scalar.
|
Money |
Dimensionless.Rel.multiplyBy(Money v)
Calculate the multiplication of Dimensionless and Money, which results in a Money scalar.
|
Money |
Money.plus(Money v)
Relative scalar plus Relative scalar = Relative scalar.
|
| Modifier and Type | Method and Description |
|---|---|
Money |
MutableMoneyVector.get(int index)
Retrieve the value stored at a specified index as a DoubleScalar.
|
Money |
MoneyVector.get(int index)
Retrieve the value stored at a specified index as a DoubleScalar.
|
| Constructor and Description |
|---|
Dense(Money[] values)
Construct a new Relative Dense Immutable Money Vector.
|
Dense(Money[] values)
Construct a new Relative Dense Immutable Money Vector.
|
Sparse(Money[] values)
Construct a new Relative Sparse Immutable Money Vector.
|
Sparse(Money[] values)
Construct a new Relative Sparse Immutable Money Vector.
|
Copyright © 2015 Delft University of Technology. All rights reserved.