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