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