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