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