public static class FloatTemperature.Abs extends FloatScalar.Abs<TemperatureUnit>
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
All rights reserved.
BSD-style license. See OpenTrafficSim License.
$LastChangedDate: 2015-10-04 20:47:10 +0200 (Sun, 04 Oct 2015) $, @version $Revision: 86 $, by $Author: averbraeck $,
initial version Sep 1, 2015
FloatScalar.Abs<U extends Unit<U>>, FloatScalar.Rel<U extends Unit<U>>si| Constructor and Description |
|---|
Abs(double value,
TemperatureUnit unit)
Construct FloatTemperature.Abs scalar using a double value.
|
Abs(FloatScalar.Abs<TemperatureUnit> value)
Construct FloatTemperature.Abs scalar.
|
Abs(float value,
TemperatureUnit unit)
Construct FloatTemperature.Abs scalar.
|
| Modifier and Type | Method and Description |
|---|---|
FloatTemperature.Abs |
abs()
Set the value(s) to their absolute value.
|
FloatTemperature.Abs |
acos()
Set the value(s) to the arc cosine of the value(s); the resulting angle is in the range 0.0 through pi.
|
FloatTemperature.Abs |
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.
|
FloatTemperature.Abs |
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.
|
FloatTemperature.Abs |
cbrt()
Set the value(s) to the(ir) cube root.
|
FloatTemperature.Abs |
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.
|
FloatTemperature.Abs |
cos()
Set the value(s) to the trigonometric cosine of the value(s).
|
FloatTemperature.Abs |
cosh()
Set the value(s) to the hyperbolic cosine of the value(s).
|
FloatTemperature.Abs |
exp()
Set the value(s) to Euler's number e raised to the power of the value(s).
|
FloatTemperature.Abs |
expm1()
Set the value(s) to Euler's number e raised to the power of the value(s) minus 1 (e^x - 1).
|
FloatTemperature.Abs |
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 FloatTemperature.Abs |
interpolate(FloatTemperature.Abs zero,
FloatTemperature.Abs one,
double ratio)
Interpolate between two values.
|
static FloatTemperature.Abs |
interpolate(FloatTemperature.Abs zero,
FloatTemperature.Abs one,
float ratio)
Interpolate between two values.
|
FloatTemperature.Abs |
inv()
Set the value(s) to the complement (1.0/x) of the value(s).
|
FloatTemperature.Abs |
log()
Set the value(s) to the natural logarithm (base e) of the value(s).
|
FloatTemperature.Abs |
log10()
Set the value(s) to the base 10 logarithm of the value(s).
|
FloatTemperature.Abs |
log1p()
Set the value(s) to the natural logarithm of the sum of the value(s) and 1.
|
FloatTemperature.Rel |
minus(FloatTemperature.Abs v)
Absolute scalar minus Absolute scalar = Relative scalar.
|
FloatTemperature.Abs |
minus(FloatTemperature.Rel v)
Absolute scalar minus Relative scalar = Absolute scalar.
|
FloatTemperature.Abs |
plus(FloatTemperature.Rel v)
Absolute scalar plus Relative scalar = Absolute scalar.
|
FloatTemperature.Abs |
pow(double x)
Set the value(s) to the value(s) raised to the power of the argument.
|
FloatTemperature.Abs |
rint()
Set the value(s) to the value(s) that are closest in value to the argument and equal to a mathematical integer.
|
FloatTemperature.Abs |
round()
Set the value(s) to the closest long to the argument with ties rounding up.
|
FloatTemperature.Abs |
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.
|
FloatTemperature.Abs |
sin()
Set the value(s) to the trigonometric sine of the value(s).
|
FloatTemperature.Abs |
sinh()
Set the value(s) to the hyperbolic sine of the value(s).
|
FloatTemperature.Abs |
sqrt()
Set the value(s) to the correctly rounded positive square root of the value(s).
|
FloatTemperature.Abs |
tan()
Set the value(s) to the trigonometric tangent of the value(s).
|
FloatTemperature.Abs |
tanh()
Set the value(s) to the hyperbolic tangent of the value(s).
|
FloatTemperature.Abs |
toDegrees()
Set the value(s) to approximately equivalent angle(s) measured in degrees.
|
FloatTemperature.Abs |
toRadians()
Set the value(s) to approximately equivalent angle(s) measured in radians.
|
FloatTemperature.Rel |
toRel()
Translate the absolute scalar into a relative scalar (e.g., before or after a multiplication or division).
|
compareTo, divideBy, eq, ge, getSI, gt, le, lt, minus, multiplyBy, 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 Abs(float value,
TemperatureUnit unit)
value - float valueunit - unit for the float valuepublic Abs(double value,
TemperatureUnit unit)
value - float valueunit - unit for the float valuepublic Abs(FloatScalar.Abs<TemperatureUnit> value)
value - Scalar from which to construct this instancepublic static FloatTemperature.Abs interpolate(FloatTemperature.Abs zero, FloatTemperature.Abs one, float ratio)
zero - the low valueone - the high valueratio - the ratio between 0 and 1, inclusivepublic static FloatTemperature.Abs interpolate(FloatTemperature.Abs zero, FloatTemperature.Abs one, double ratio)
zero - the low valueone - the high valueratio - the ratio between 0 and 1, inclusivepublic final FloatTemperature.Abs abs()
abs in interface MathFunctions<FloatScalar<TemperatureUnit>>abs in class FloatScalar.Abs<TemperatureUnit>public final FloatTemperature.Abs acos()
acos in interface MathFunctions<FloatScalar<TemperatureUnit>>acos in class FloatScalar.Abs<TemperatureUnit>public final FloatTemperature.Abs asin()
asin in interface MathFunctions<FloatScalar<TemperatureUnit>>asin in class FloatScalar.Abs<TemperatureUnit>public final FloatTemperature.Abs atan()
atan in interface MathFunctions<FloatScalar<TemperatureUnit>>atan in class FloatScalar.Abs<TemperatureUnit>public final FloatTemperature.Abs cbrt()
cbrt in interface MathFunctions<FloatScalar<TemperatureUnit>>cbrt in class FloatScalar.Abs<TemperatureUnit>public final FloatTemperature.Abs ceil()
ceil in interface MathFunctions<FloatScalar<TemperatureUnit>>ceil in class FloatScalar.Abs<TemperatureUnit>public final FloatTemperature.Abs cos()
cos in interface MathFunctions<FloatScalar<TemperatureUnit>>cos in class FloatScalar.Abs<TemperatureUnit>public final FloatTemperature.Abs cosh()
cosh in interface MathFunctions<FloatScalar<TemperatureUnit>>cosh in class FloatScalar.Abs<TemperatureUnit>public final FloatTemperature.Abs exp()
exp in interface MathFunctions<FloatScalar<TemperatureUnit>>exp in class FloatScalar.Abs<TemperatureUnit>public final FloatTemperature.Abs expm1()
expm1 in interface MathFunctions<FloatScalar<TemperatureUnit>>expm1 in class FloatScalar.Abs<TemperatureUnit>public final FloatTemperature.Abs floor()
floor in interface MathFunctions<FloatScalar<TemperatureUnit>>floor in class FloatScalar.Abs<TemperatureUnit>public final FloatTemperature.Abs log()
log in interface MathFunctions<FloatScalar<TemperatureUnit>>log in class FloatScalar.Abs<TemperatureUnit>public final FloatTemperature.Abs log10()
log10 in interface MathFunctions<FloatScalar<TemperatureUnit>>log10 in class FloatScalar.Abs<TemperatureUnit>public final FloatTemperature.Abs log1p()
log1p in interface MathFunctions<FloatScalar<TemperatureUnit>>log1p in class FloatScalar.Abs<TemperatureUnit>public final FloatTemperature.Abs rint()
rint in interface MathFunctions<FloatScalar<TemperatureUnit>>rint in class FloatScalar.Abs<TemperatureUnit>public final FloatTemperature.Abs round()
round in interface MathFunctions<FloatScalar<TemperatureUnit>>round in class FloatScalar.Abs<TemperatureUnit>public final FloatTemperature.Abs signum()
signum in interface MathFunctions<FloatScalar<TemperatureUnit>>signum in class FloatScalar.Abs<TemperatureUnit>public final FloatTemperature.Abs sin()
sin in interface MathFunctions<FloatScalar<TemperatureUnit>>sin in class FloatScalar.Abs<TemperatureUnit>public final FloatTemperature.Abs sinh()
sinh in interface MathFunctions<FloatScalar<TemperatureUnit>>sinh in class FloatScalar.Abs<TemperatureUnit>public final FloatTemperature.Abs sqrt()
sqrt in interface MathFunctions<FloatScalar<TemperatureUnit>>sqrt in class FloatScalar.Abs<TemperatureUnit>public final FloatTemperature.Abs tan()
tan in interface MathFunctions<FloatScalar<TemperatureUnit>>tan in class FloatScalar.Abs<TemperatureUnit>public final FloatTemperature.Abs tanh()
tanh in interface MathFunctions<FloatScalar<TemperatureUnit>>tanh in class FloatScalar.Abs<TemperatureUnit>public final FloatTemperature.Abs inv()
inv in interface MathFunctions<FloatScalar<TemperatureUnit>>inv in class FloatScalar.Abs<TemperatureUnit>public final FloatTemperature.Abs toDegrees()
toDegrees in interface MathFunctions<FloatScalar<TemperatureUnit>>toDegrees in class FloatScalar.Abs<TemperatureUnit>public final FloatTemperature.Abs toRadians()
toRadians in interface MathFunctions<FloatScalar<TemperatureUnit>>toRadians in class FloatScalar.Abs<TemperatureUnit>public final FloatTemperature.Abs pow(double x)
pow in interface MathFunctions<FloatScalar<TemperatureUnit>>pow in class FloatScalar.Abs<TemperatureUnit>x - double; the value to use as the powerpublic final FloatTemperature.Abs plus(FloatTemperature.Rel v)
v - the value to addpublic final FloatTemperature.Rel minus(FloatTemperature.Abs v)
v - the value to subtractpublic final FloatTemperature.Abs minus(FloatTemperature.Rel v)
v - the value to subtractpublic final FloatTemperature.Rel toRel()
Copyright © 2015 Delft University of Technology. All rights reserved.