public class FloatMoneyPerArea extends FloatScalar.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
FloatScalar.Abs<U extends Unit<U>>, FloatScalar.Rel<U extends Unit<U>>si| Constructor and Description |
|---|
FloatMoneyPerArea(double value,
MoneyPerAreaUnit unit)
Construct FloatMoneyPerArea scalar using a double value.
|
FloatMoneyPerArea(float value,
MoneyPerAreaUnit unit)
Construct FloatMoneyPerArea scalar.
|
FloatMoneyPerArea(FloatScalar.Rel<MoneyPerAreaUnit> value)
Construct FloatMoneyPerArea scalar.
|
| Modifier and Type | Method and Description |
|---|---|
FloatMoneyPerArea |
abs()
Set the value(s) to their absolute value.
|
FloatMoneyPerArea |
acos()
Set the value(s) to the arc cosine of the value(s); the resulting angle is in the range 0.0 through pi.
|
FloatMoneyPerArea |
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.
|
FloatMoneyPerArea |
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.
|
FloatMoneyPerArea |
cbrt()
Set the value(s) to the(ir) cube root.
|
FloatMoneyPerArea |
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.
|
FloatMoneyPerArea |
cos()
Set the value(s) to the trigonometric cosine of the value(s).
|
FloatMoneyPerArea |
cosh()
Set the value(s) to the hyperbolic cosine of the value(s).
|
FloatMoneyPerArea |
divideBy(double factor)
Divide scalar by a double factor.
|
FloatMoneyPerArea |
divideBy(float divisor)
Scale the value(s) by the inverse of a factor; i.e.
|
FloatDimensionless.Rel |
divideBy(FloatMoneyPerArea v)
Calculate the division of FloatMoneyPerArea and FloatMoneyPerArea, which results in a FloatDimensionless scalar.
|
FloatMoneyPerArea |
exp()
Set the value(s) to Euler's number e raised to the power of the value(s).
|
FloatMoneyPerArea |
expm1()
Set the value(s) to Euler's number e raised to the power of the value(s) minus 1 (e^x - 1).
|
FloatMoneyPerArea |
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 FloatMoneyPerArea |
interpolate(FloatMoneyPerArea zero,
FloatMoneyPerArea one,
double ratio)
Interpolate between two values.
|
static FloatMoneyPerArea |
interpolate(FloatMoneyPerArea zero,
FloatMoneyPerArea one,
float ratio)
Interpolate between two values.
|
FloatMoneyPerArea |
inv()
Set the value(s) to the complement (1.0/x) of the value(s).
|
FloatMoneyPerArea |
log()
Set the value(s) to the natural logarithm (base e) of the value(s).
|
FloatMoneyPerArea |
log10()
Set the value(s) to the base 10 logarithm of the value(s).
|
FloatMoneyPerArea |
log1p()
Set the value(s) to the natural logarithm of the sum of the value(s) and 1.
|
FloatMoneyPerArea |
minus(FloatMoneyPerArea v)
Relative scalar minus Relative scalar = Relative scalar.
|
FloatMoneyPerArea |
multiplyBy(double factor)
Multiply scalar with a double factor.
|
FloatMoneyPerArea |
multiplyBy(float factor)
Scale the value(s) by a factor.
|
FloatMoney |
multiplyBy(FloatArea v)
Calculate the multiplication of FloatMoneyPerArea and FloatArea, which results in a FloatMoney scalar.
|
FloatMoneyPerArea |
plus(FloatMoneyPerArea v)
Relative scalar plus Relative scalar = Relative scalar.
|
FloatMoneyPerArea |
pow(double x)
Set the value(s) to the value(s) raised to the power of the argument.
|
FloatMoneyPerArea |
rint()
Set the value(s) to the value(s) that are closest in value to the argument and equal to a mathematical integer.
|
FloatMoneyPerArea |
round()
Set the value(s) to the closest long to the argument with ties rounding up.
|
FloatMoneyPerArea |
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.
|
FloatMoneyPerArea |
sin()
Set the value(s) to the trigonometric sine of the value(s).
|
FloatMoneyPerArea |
sinh()
Set the value(s) to the hyperbolic sine of the value(s).
|
FloatMoneyPerArea |
sqrt()
Set the value(s) to the correctly rounded positive square root of the value(s).
|
FloatMoneyPerArea |
tan()
Set the value(s) to the trigonometric tangent of the value(s).
|
FloatMoneyPerArea |
tanh()
Set the value(s) to the hyperbolic tangent of the value(s).
|
FloatMoneyPerArea |
toDegrees()
Set the value(s) to approximately equivalent angle(s) measured in degrees.
|
FloatMoneyPerArea |
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 FloatMoneyPerArea(float value,
MoneyPerAreaUnit unit)
value - float valueunit - unit for the float valuepublic FloatMoneyPerArea(double value,
MoneyPerAreaUnit unit)
value - double valueunit - unit for the valuepublic FloatMoneyPerArea(FloatScalar.Rel<MoneyPerAreaUnit> value)
value - Scalar from which to construct this instancepublic static FloatMoneyPerArea interpolate(FloatMoneyPerArea zero, FloatMoneyPerArea one, float ratio)
zero - the low valueone - the high valueratio - the ratio between 0 and 1, inclusivepublic static FloatMoneyPerArea interpolate(FloatMoneyPerArea zero, FloatMoneyPerArea one, double ratio)
zero - the low valueone - the high valueratio - the ratio between 0 and 1, inclusivepublic final FloatMoneyPerArea abs()
abs in interface MathFunctions<FloatScalar<MoneyPerAreaUnit>>abs in class FloatScalar.Rel<MoneyPerAreaUnit>public final FloatMoneyPerArea acos()
acos in interface MathFunctions<FloatScalar<MoneyPerAreaUnit>>acos in class FloatScalar.Rel<MoneyPerAreaUnit>public final FloatMoneyPerArea asin()
asin in interface MathFunctions<FloatScalar<MoneyPerAreaUnit>>asin in class FloatScalar.Rel<MoneyPerAreaUnit>public final FloatMoneyPerArea atan()
atan in interface MathFunctions<FloatScalar<MoneyPerAreaUnit>>atan in class FloatScalar.Rel<MoneyPerAreaUnit>public final FloatMoneyPerArea cbrt()
cbrt in interface MathFunctions<FloatScalar<MoneyPerAreaUnit>>cbrt in class FloatScalar.Rel<MoneyPerAreaUnit>public final FloatMoneyPerArea ceil()
ceil in interface MathFunctions<FloatScalar<MoneyPerAreaUnit>>ceil in class FloatScalar.Rel<MoneyPerAreaUnit>public final FloatMoneyPerArea cos()
cos in interface MathFunctions<FloatScalar<MoneyPerAreaUnit>>cos in class FloatScalar.Rel<MoneyPerAreaUnit>public final FloatMoneyPerArea cosh()
cosh in interface MathFunctions<FloatScalar<MoneyPerAreaUnit>>cosh in class FloatScalar.Rel<MoneyPerAreaUnit>public final FloatMoneyPerArea exp()
exp in interface MathFunctions<FloatScalar<MoneyPerAreaUnit>>exp in class FloatScalar.Rel<MoneyPerAreaUnit>public final FloatMoneyPerArea expm1()
expm1 in interface MathFunctions<FloatScalar<MoneyPerAreaUnit>>expm1 in class FloatScalar.Rel<MoneyPerAreaUnit>public final FloatMoneyPerArea floor()
floor in interface MathFunctions<FloatScalar<MoneyPerAreaUnit>>floor in class FloatScalar.Rel<MoneyPerAreaUnit>public final FloatMoneyPerArea log()
log in interface MathFunctions<FloatScalar<MoneyPerAreaUnit>>log in class FloatScalar.Rel<MoneyPerAreaUnit>public final FloatMoneyPerArea log10()
log10 in interface MathFunctions<FloatScalar<MoneyPerAreaUnit>>log10 in class FloatScalar.Rel<MoneyPerAreaUnit>public final FloatMoneyPerArea log1p()
log1p in interface MathFunctions<FloatScalar<MoneyPerAreaUnit>>log1p in class FloatScalar.Rel<MoneyPerAreaUnit>public final FloatMoneyPerArea rint()
rint in interface MathFunctions<FloatScalar<MoneyPerAreaUnit>>rint in class FloatScalar.Rel<MoneyPerAreaUnit>public final FloatMoneyPerArea round()
round in interface MathFunctions<FloatScalar<MoneyPerAreaUnit>>round in class FloatScalar.Rel<MoneyPerAreaUnit>public final FloatMoneyPerArea signum()
signum in interface MathFunctions<FloatScalar<MoneyPerAreaUnit>>signum in class FloatScalar.Rel<MoneyPerAreaUnit>public final FloatMoneyPerArea sin()
sin in interface MathFunctions<FloatScalar<MoneyPerAreaUnit>>sin in class FloatScalar.Rel<MoneyPerAreaUnit>public final FloatMoneyPerArea sinh()
sinh in interface MathFunctions<FloatScalar<MoneyPerAreaUnit>>sinh in class FloatScalar.Rel<MoneyPerAreaUnit>public final FloatMoneyPerArea sqrt()
sqrt in interface MathFunctions<FloatScalar<MoneyPerAreaUnit>>sqrt in class FloatScalar.Rel<MoneyPerAreaUnit>public final FloatMoneyPerArea tan()
tan in interface MathFunctions<FloatScalar<MoneyPerAreaUnit>>tan in class FloatScalar.Rel<MoneyPerAreaUnit>public final FloatMoneyPerArea tanh()
tanh in interface MathFunctions<FloatScalar<MoneyPerAreaUnit>>tanh in class FloatScalar.Rel<MoneyPerAreaUnit>public final FloatMoneyPerArea inv()
inv in interface MathFunctions<FloatScalar<MoneyPerAreaUnit>>inv in class FloatScalar.Rel<MoneyPerAreaUnit>public final FloatMoneyPerArea toDegrees()
toDegrees in interface MathFunctions<FloatScalar<MoneyPerAreaUnit>>toDegrees in class FloatScalar.Rel<MoneyPerAreaUnit>public final FloatMoneyPerArea toRadians()
toRadians in interface MathFunctions<FloatScalar<MoneyPerAreaUnit>>toRadians in class FloatScalar.Rel<MoneyPerAreaUnit>public final FloatMoneyPerArea pow(double x)
pow in interface MathFunctions<FloatScalar<MoneyPerAreaUnit>>pow in class FloatScalar.Rel<MoneyPerAreaUnit>x - double; the value to use as the powerpublic final FloatMoneyPerArea multiplyBy(float factor)
multiplyBy in interface FloatMathFunctions<FloatScalar<MoneyPerAreaUnit>>multiplyBy in class FloatScalar.Rel<MoneyPerAreaUnit>factor - float; the multiplierpublic final FloatMoneyPerArea multiplyBy(double factor)
factor - the factor to multiply withpublic final FloatMoneyPerArea divideBy(float divisor)
divideBy in interface FloatMathFunctions<FloatScalar<MoneyPerAreaUnit>>divideBy in class FloatScalar.Rel<MoneyPerAreaUnit>divisor - float; the divisorpublic final FloatMoneyPerArea divideBy(double factor)
factor - the factor to divide bypublic final FloatMoneyPerArea plus(FloatMoneyPerArea v)
v - the value to addpublic final FloatMoneyPerArea minus(FloatMoneyPerArea v)
v - the value to subtractpublic final FloatDimensionless.Rel divideBy(FloatMoneyPerArea v)
v - FloatMoneyPerArea scalarpublic final FloatMoney multiplyBy(FloatArea v)
v - FloatMoneyPerArea scalarCopyright © 2015 Delft University of Technology. All rights reserved.