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