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