public static class Temperature.Abs extends DoubleScalar.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
DoubleScalar.Abs<U extends Unit<U>>, DoubleScalar.Rel<U extends Unit<U>>si| Constructor and Description |
|---|
Abs(DoubleScalar.Abs<TemperatureUnit> value)
Construct Temperature.Abs scalar.
|
Abs(double value,
TemperatureUnit unit)
Construct Temperature.Abs scalar.
|
| Modifier and Type | Method and Description |
|---|---|
Temperature.Abs |
abs()
Set the value(s) to their absolute value.
|
Temperature.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.
|
Temperature.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.
|
Temperature.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.
|
Temperature.Abs |
cbrt()
Set the value(s) to the(ir) cube root.
|
Temperature.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.
|
Temperature.Abs |
cos()
Set the value(s) to the trigonometric cosine of the value(s).
|
Temperature.Abs |
cosh()
Set the value(s) to the hyperbolic cosine of the value(s).
|
Temperature.Abs |
exp()
Set the value(s) to Euler's number e raised to the power of the value(s).
|
Temperature.Abs |
expm1()
Set the value(s) to Euler's number e raised to the power of the value(s) minus 1 (e^x - 1).
|
Temperature.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 Temperature.Abs |
interpolate(Temperature.Abs zero,
Temperature.Abs one,
double ratio)
Interpolate between two values.
|
Temperature.Abs |
inv()
Set the value(s) to the complement (1.0/x) of the value(s).
|
Temperature.Abs |
log()
Set the value(s) to the natural logarithm (base e) of the value(s).
|
Temperature.Abs |
log10()
Set the value(s) to the base 10 logarithm of the value(s).
|
Temperature.Abs |
log1p()
Set the value(s) to the natural logarithm of the sum of the value(s) and 1.
|
Temperature.Rel |
minus(Temperature.Abs v)
Absolute scalar minus Absolute scalar = Relative scalar.
|
Temperature.Abs |
minus(Temperature.Rel v)
Absolute scalar minus Relative scalar = Absolute scalar.
|
Temperature.Abs |
plus(Temperature.Rel v)
Absolute scalar plus Relative scalar = Absolute scalar.
|
Temperature.Abs |
pow(double x)
Set the value(s) to the value(s) raised to the power of the argument.
|
Temperature.Abs |
rint()
Set the value(s) to the value(s) that are closest in value to the argument and equal to a mathematical integer.
|
Temperature.Abs |
round()
Set the value(s) to the closest long to the argument with ties rounding up.
|
Temperature.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.
|
Temperature.Abs |
sin()
Set the value(s) to the trigonometric sine of the value(s).
|
Temperature.Abs |
sinh()
Set the value(s) to the hyperbolic sine of the value(s).
|
Temperature.Abs |
sqrt()
Set the value(s) to the correctly rounded positive square root of the value(s).
|
Temperature.Abs |
tan()
Set the value(s) to the trigonometric tangent of the value(s).
|
Temperature.Abs |
tanh()
Set the value(s) to the hyperbolic tangent of the value(s).
|
Temperature.Abs |
toDegrees()
Set the value(s) to approximately equivalent angle(s) measured in degrees.
|
Temperature.Abs |
toRadians()
Set the value(s) to approximately equivalent angle(s) measured in radians.
|
Temperature.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(double value,
TemperatureUnit unit)
value - double valueunit - unit for the double valuepublic Abs(DoubleScalar.Abs<TemperatureUnit> value)
value - Scalar from which to construct this instancepublic static Temperature.Abs interpolate(Temperature.Abs zero, Temperature.Abs one, double ratio)
zero - the low valueone - the high valueratio - the ratio between 0 and 1, inclusivepublic final Temperature.Abs abs()
abs in interface MathFunctions<DoubleScalar<TemperatureUnit>>abs in class DoubleScalar.Abs<TemperatureUnit>public final Temperature.Abs acos()
acos in interface MathFunctions<DoubleScalar<TemperatureUnit>>acos in class DoubleScalar.Abs<TemperatureUnit>public final Temperature.Abs asin()
asin in interface MathFunctions<DoubleScalar<TemperatureUnit>>asin in class DoubleScalar.Abs<TemperatureUnit>public final Temperature.Abs atan()
atan in interface MathFunctions<DoubleScalar<TemperatureUnit>>atan in class DoubleScalar.Abs<TemperatureUnit>public final Temperature.Abs cbrt()
cbrt in interface MathFunctions<DoubleScalar<TemperatureUnit>>cbrt in class DoubleScalar.Abs<TemperatureUnit>public final Temperature.Abs ceil()
ceil in interface MathFunctions<DoubleScalar<TemperatureUnit>>ceil in class DoubleScalar.Abs<TemperatureUnit>public final Temperature.Abs cos()
cos in interface MathFunctions<DoubleScalar<TemperatureUnit>>cos in class DoubleScalar.Abs<TemperatureUnit>public final Temperature.Abs cosh()
cosh in interface MathFunctions<DoubleScalar<TemperatureUnit>>cosh in class DoubleScalar.Abs<TemperatureUnit>public final Temperature.Abs exp()
exp in interface MathFunctions<DoubleScalar<TemperatureUnit>>exp in class DoubleScalar.Abs<TemperatureUnit>public final Temperature.Abs expm1()
expm1 in interface MathFunctions<DoubleScalar<TemperatureUnit>>expm1 in class DoubleScalar.Abs<TemperatureUnit>public final Temperature.Abs floor()
floor in interface MathFunctions<DoubleScalar<TemperatureUnit>>floor in class DoubleScalar.Abs<TemperatureUnit>public final Temperature.Abs log()
log in interface MathFunctions<DoubleScalar<TemperatureUnit>>log in class DoubleScalar.Abs<TemperatureUnit>public final Temperature.Abs log10()
log10 in interface MathFunctions<DoubleScalar<TemperatureUnit>>log10 in class DoubleScalar.Abs<TemperatureUnit>public final Temperature.Abs log1p()
log1p in interface MathFunctions<DoubleScalar<TemperatureUnit>>log1p in class DoubleScalar.Abs<TemperatureUnit>public final Temperature.Abs rint()
rint in interface MathFunctions<DoubleScalar<TemperatureUnit>>rint in class DoubleScalar.Abs<TemperatureUnit>public final Temperature.Abs round()
round in interface MathFunctions<DoubleScalar<TemperatureUnit>>round in class DoubleScalar.Abs<TemperatureUnit>public final Temperature.Abs signum()
signum in interface MathFunctions<DoubleScalar<TemperatureUnit>>signum in class DoubleScalar.Abs<TemperatureUnit>public final Temperature.Abs sin()
sin in interface MathFunctions<DoubleScalar<TemperatureUnit>>sin in class DoubleScalar.Abs<TemperatureUnit>public final Temperature.Abs sinh()
sinh in interface MathFunctions<DoubleScalar<TemperatureUnit>>sinh in class DoubleScalar.Abs<TemperatureUnit>public final Temperature.Abs sqrt()
sqrt in interface MathFunctions<DoubleScalar<TemperatureUnit>>sqrt in class DoubleScalar.Abs<TemperatureUnit>public final Temperature.Abs tan()
tan in interface MathFunctions<DoubleScalar<TemperatureUnit>>tan in class DoubleScalar.Abs<TemperatureUnit>public final Temperature.Abs tanh()
tanh in interface MathFunctions<DoubleScalar<TemperatureUnit>>tanh in class DoubleScalar.Abs<TemperatureUnit>public final Temperature.Abs inv()
inv in interface MathFunctions<DoubleScalar<TemperatureUnit>>inv in class DoubleScalar.Abs<TemperatureUnit>public final Temperature.Abs toDegrees()
toDegrees in interface MathFunctions<DoubleScalar<TemperatureUnit>>toDegrees in class DoubleScalar.Abs<TemperatureUnit>public final Temperature.Abs toRadians()
toRadians in interface MathFunctions<DoubleScalar<TemperatureUnit>>toRadians in class DoubleScalar.Abs<TemperatureUnit>public final Temperature.Abs pow(double x)
pow in interface MathFunctions<DoubleScalar<TemperatureUnit>>pow in class DoubleScalar.Abs<TemperatureUnit>x - double; the value to use as the powerpublic final Temperature.Abs plus(Temperature.Rel v)
v - the value to addpublic final Temperature.Rel minus(Temperature.Abs v)
v - the value to subtractpublic final Temperature.Abs minus(Temperature.Rel v)
v - the value to subtractpublic final Temperature.Rel toRel()
Copyright © 2015 Delft University of Technology. All rights reserved.