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