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