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