public class MoneyPerArea extends DoubleScalar.Rel<MoneyPerAreaUnit> implements Relative
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.
$LastChangedDate: 2015-10-07 11:49:36 +0200 (Wed, 07 Oct 2015) $, @version $Revision: 92 $, by $Author: averbraeck $,
initial version Sep 5, 2015
DoubleScalar.Abs<U extends Unit<U>>, DoubleScalar.Rel<U extends Unit<U>>si| Constructor and Description |
|---|
MoneyPerArea(double value,
MoneyPerAreaUnit unit)
Construct MoneyPerArea scalar.
|
MoneyPerArea(DoubleScalar.Rel<MoneyPerAreaUnit> value)
Construct MoneyPerArea scalar.
|
| Modifier and Type | Method and Description |
|---|---|
MoneyPerArea |
abs()
Set the value(s) to their absolute value.
|
MoneyPerArea |
acos()
Set the value(s) to the arc cosine of the value(s); the resulting angle is in the range 0.0 through pi.
|
MoneyPerArea |
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.
|
MoneyPerArea |
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.
|
MoneyPerArea |
cbrt()
Set the value(s) to the(ir) cube root.
|
MoneyPerArea |
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.
|
MoneyPerArea |
cos()
Set the value(s) to the trigonometric cosine of the value(s).
|
MoneyPerArea |
cosh()
Set the value(s) to the hyperbolic cosine of the value(s).
|
MoneyPerArea |
divideBy(double divisor)
Scale the value(s) by the inverse of a factor; i.e.
|
Dimensionless.Rel |
divideBy(MoneyPerArea v)
Calculate the division of MoneyPerArea and MoneyPerArea, which results in a Dimensionless scalar.
|
MoneyPerArea |
exp()
Set the value(s) to Euler's number e raised to the power of the value(s).
|
MoneyPerArea |
expm1()
Set the value(s) to Euler's number e raised to the power of the value(s) minus 1 (e^x - 1).
|
MoneyPerArea |
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 MoneyPerArea |
interpolate(MoneyPerArea zero,
MoneyPerArea one,
double ratio)
Interpolate between two values.
|
MoneyPerArea |
inv()
Set the value(s) to the complement (1.0/x) of the value(s).
|
MoneyPerArea |
log()
Set the value(s) to the natural logarithm (base e) of the value(s).
|
MoneyPerArea |
log10()
Set the value(s) to the base 10 logarithm of the value(s).
|
MoneyPerArea |
log1p()
Set the value(s) to the natural logarithm of the sum of the value(s) and 1.
|
MoneyPerArea |
minus(MoneyPerArea v)
Relative scalar minus Relative scalar = Relative scalar.
|
Money |
multiplyBy(Area v)
Calculate the multiplication of MoneyPerArea and Area, which results in a Money scalar.
|
MoneyPerArea |
multiplyBy(double factor)
Scale the value(s) by a factor.
|
MoneyPerArea |
plus(MoneyPerArea v)
Relative scalar plus Relative scalar = Relative scalar.
|
MoneyPerArea |
pow(double x)
Set the value(s) to the value(s) raised to the power of the argument.
|
MoneyPerArea |
rint()
Set the value(s) to the value(s) that are closest in value to the argument and equal to a mathematical integer.
|
MoneyPerArea |
round()
Set the value(s) to the closest long to the argument with ties rounding up.
|
MoneyPerArea |
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.
|
MoneyPerArea |
sin()
Set the value(s) to the trigonometric sine of the value(s).
|
MoneyPerArea |
sinh()
Set the value(s) to the hyperbolic sine of the value(s).
|
MoneyPerArea |
sqrt()
Set the value(s) to the correctly rounded positive square root of the value(s).
|
MoneyPerArea |
tan()
Set the value(s) to the trigonometric tangent of the value(s).
|
MoneyPerArea |
tanh()
Set the value(s) to the hyperbolic tangent of the value(s).
|
MoneyPerArea |
toDegrees()
Set the value(s) to approximately equivalent angle(s) measured in degrees.
|
MoneyPerArea |
toRadians()
Set the value(s) to approximately equivalent angle(s) measured in radians.
|
compareTo, eq, ge, getSI, gt, le, lt, minus, ne, plusdivide, divide, doubleValue, equals, floatValue, getInUnit, getInUnit, hashCode, interpolate, interpolate, intValue, longValue, minus, minus, minus, multiply, multiply, plus, plus, plus, toString, toString, toString, toStringexpressAsSIUnit, expressAsSpecifiedUnit, getUnit, isAbsolute, isRelativebyteValue, shortValuepublic MoneyPerArea(double value,
MoneyPerAreaUnit unit)
value - double valueunit - unit for the double valuepublic MoneyPerArea(DoubleScalar.Rel<MoneyPerAreaUnit> value)
value - Scalar from which to construct this instancepublic static MoneyPerArea interpolate(MoneyPerArea zero, MoneyPerArea one, double ratio)
zero - the low valueone - the high valueratio - the ratio between 0 and 1, inclusivepublic final MoneyPerArea abs()
abs in interface MathFunctions<DoubleScalar<MoneyPerAreaUnit>>abs in class DoubleScalar.Rel<MoneyPerAreaUnit>public final MoneyPerArea acos()
acos in interface MathFunctions<DoubleScalar<MoneyPerAreaUnit>>acos in class DoubleScalar.Rel<MoneyPerAreaUnit>public final MoneyPerArea asin()
asin in interface MathFunctions<DoubleScalar<MoneyPerAreaUnit>>asin in class DoubleScalar.Rel<MoneyPerAreaUnit>public final MoneyPerArea atan()
atan in interface MathFunctions<DoubleScalar<MoneyPerAreaUnit>>atan in class DoubleScalar.Rel<MoneyPerAreaUnit>public final MoneyPerArea cbrt()
cbrt in interface MathFunctions<DoubleScalar<MoneyPerAreaUnit>>cbrt in class DoubleScalar.Rel<MoneyPerAreaUnit>public final MoneyPerArea ceil()
ceil in interface MathFunctions<DoubleScalar<MoneyPerAreaUnit>>ceil in class DoubleScalar.Rel<MoneyPerAreaUnit>public final MoneyPerArea cos()
cos in interface MathFunctions<DoubleScalar<MoneyPerAreaUnit>>cos in class DoubleScalar.Rel<MoneyPerAreaUnit>public final MoneyPerArea cosh()
cosh in interface MathFunctions<DoubleScalar<MoneyPerAreaUnit>>cosh in class DoubleScalar.Rel<MoneyPerAreaUnit>public final MoneyPerArea exp()
exp in interface MathFunctions<DoubleScalar<MoneyPerAreaUnit>>exp in class DoubleScalar.Rel<MoneyPerAreaUnit>public final MoneyPerArea expm1()
expm1 in interface MathFunctions<DoubleScalar<MoneyPerAreaUnit>>expm1 in class DoubleScalar.Rel<MoneyPerAreaUnit>public final MoneyPerArea floor()
floor in interface MathFunctions<DoubleScalar<MoneyPerAreaUnit>>floor in class DoubleScalar.Rel<MoneyPerAreaUnit>public final MoneyPerArea log()
log in interface MathFunctions<DoubleScalar<MoneyPerAreaUnit>>log in class DoubleScalar.Rel<MoneyPerAreaUnit>public final MoneyPerArea log10()
log10 in interface MathFunctions<DoubleScalar<MoneyPerAreaUnit>>log10 in class DoubleScalar.Rel<MoneyPerAreaUnit>public final MoneyPerArea log1p()
log1p in interface MathFunctions<DoubleScalar<MoneyPerAreaUnit>>log1p in class DoubleScalar.Rel<MoneyPerAreaUnit>public final MoneyPerArea rint()
rint in interface MathFunctions<DoubleScalar<MoneyPerAreaUnit>>rint in class DoubleScalar.Rel<MoneyPerAreaUnit>public final MoneyPerArea round()
round in interface MathFunctions<DoubleScalar<MoneyPerAreaUnit>>round in class DoubleScalar.Rel<MoneyPerAreaUnit>public final MoneyPerArea signum()
signum in interface MathFunctions<DoubleScalar<MoneyPerAreaUnit>>signum in class DoubleScalar.Rel<MoneyPerAreaUnit>public final MoneyPerArea sin()
sin in interface MathFunctions<DoubleScalar<MoneyPerAreaUnit>>sin in class DoubleScalar.Rel<MoneyPerAreaUnit>public final MoneyPerArea sinh()
sinh in interface MathFunctions<DoubleScalar<MoneyPerAreaUnit>>sinh in class DoubleScalar.Rel<MoneyPerAreaUnit>public final MoneyPerArea sqrt()
sqrt in interface MathFunctions<DoubleScalar<MoneyPerAreaUnit>>sqrt in class DoubleScalar.Rel<MoneyPerAreaUnit>public final MoneyPerArea tan()
tan in interface MathFunctions<DoubleScalar<MoneyPerAreaUnit>>tan in class DoubleScalar.Rel<MoneyPerAreaUnit>public final MoneyPerArea tanh()
tanh in interface MathFunctions<DoubleScalar<MoneyPerAreaUnit>>tanh in class DoubleScalar.Rel<MoneyPerAreaUnit>public final MoneyPerArea inv()
inv in interface MathFunctions<DoubleScalar<MoneyPerAreaUnit>>inv in class DoubleScalar.Rel<MoneyPerAreaUnit>public final MoneyPerArea toDegrees()
toDegrees in interface MathFunctions<DoubleScalar<MoneyPerAreaUnit>>toDegrees in class DoubleScalar.Rel<MoneyPerAreaUnit>public final MoneyPerArea toRadians()
toRadians in interface MathFunctions<DoubleScalar<MoneyPerAreaUnit>>toRadians in class DoubleScalar.Rel<MoneyPerAreaUnit>public final MoneyPerArea pow(double x)
pow in interface MathFunctions<DoubleScalar<MoneyPerAreaUnit>>pow in class DoubleScalar.Rel<MoneyPerAreaUnit>x - double; the value to use as the powerpublic final MoneyPerArea multiplyBy(double factor)
multiplyBy in interface DoubleMathFunctions<DoubleScalar<MoneyPerAreaUnit>>multiplyBy in class DoubleScalar.Rel<MoneyPerAreaUnit>factor - double; the multiplierpublic final MoneyPerArea divideBy(double divisor)
divideBy in interface DoubleMathFunctions<DoubleScalar<MoneyPerAreaUnit>>divideBy in class DoubleScalar.Rel<MoneyPerAreaUnit>divisor - double; the divisorpublic final MoneyPerArea plus(MoneyPerArea v)
v - the value to addpublic final MoneyPerArea minus(MoneyPerArea v)
v - the value to subtractpublic final Dimensionless.Rel divideBy(MoneyPerArea v)
v - MoneyPerArea scalarCopyright © 2015 Delft University of Technology. All rights reserved.