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