U
- Unitpublic static class MutableFloatScalar.Abs<U extends Unit<U>> extends MutableFloatScalar<U> implements Absolute, Comparable<MutableFloatScalar.Abs<U>>
MutableFloatScalar.Abs<U extends Unit<U>>, MutableFloatScalar.Rel<U extends Unit<U>>
Constructor and Description |
---|
MutableFloatScalar.Abs(FloatScalar.Abs<U> value)
Construct a new Absolute MutableFloatScalar from an existing Absolute Immutable FloatScalar.
|
MutableFloatScalar.Abs(float value,
U unit)
Construct a new Absolute MutableFloatScalar.
|
MutableFloatScalar.Abs(MutableFloatScalar.Abs<U> value)
Construct a new Absolute MutableFloatScalar from an existing Absolute MutableFloatScalar.
|
Modifier and Type | Method and Description |
---|---|
MutableFloatScalar.Abs<U> |
abs()
Set the value(s) to their absolute value.
|
MutableFloatScalar.Abs<U> |
acos()
Set the value(s) to the arc cosine of the value(s); the resulting angle is in the range 0.0 through pi.
|
MutableFloatScalar.Abs<U> |
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.
|
MutableFloatScalar.Abs<U> |
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.
|
MutableFloatScalar.Abs<U> |
cbrt()
Set the value(s) to the(ir) cube root.
|
MutableFloatScalar.Abs<U> |
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.
|
int |
compareTo(MutableFloatScalar.Abs<U> o) |
MutableFloatScalar.Abs<U> |
copy()
Create a deep copy of this Value.
|
MutableFloatScalar.Abs<U> |
cos()
Set the value(s) to the trigonometric cosine of the value(s).
|
MutableFloatScalar.Abs<U> |
cosh()
Set the value(s) to the hyperbolic cosine of the value(s).
|
MutableFloatScalar.Abs<U> |
decrementBy(FloatScalar.Rel<U> decrement)
Decrement the value by the supplied value and return the result.
|
MutableFloatScalar.Abs<U> |
exp()
Set the value(s) to Euler's number e raised to the power of the value(s).
|
MutableFloatScalar.Abs<U> |
expm1()
Set the value(s) to Euler's number e raised to the power of the value(s) minus 1 (e^x - 1).
|
MutableFloatScalar.Abs<U> |
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.
|
FloatScalar.Abs<U> |
immutable()
Make (immutable) FloatScalar equivalent for any type of MutableFloatScalar.
|
MutableFloatScalar.Abs<U> |
incrementBy(FloatScalar.Rel<U> increment)
Increment the value by the supplied value and return the result.
|
MutableFloatScalar.Abs<U> |
inv()
Set the value(s) to the complement (1.0/x) of the value(s).
|
MutableFloatScalar.Abs<U> |
log()
Set the value(s) to the natural logarithm (base e) of the value(s).
|
MutableFloatScalar.Abs<U> |
log10()
Set the value(s) to the base 10 logarithm of the value(s).
|
MutableFloatScalar.Abs<U> |
log1p()
Set the value(s) to the natural logarithm of the sum of the value(s) and 1.
|
MutableFloatScalar.Abs<U> |
mutable()
Create a mutable version of this FloatScalar.
|
MutableFloatScalar.Abs<U> |
pow(double x)
Set the value(s) to the value(s) raised to the power of the argument.
|
MutableFloatScalar.Abs<U> |
rint()
Set the value(s) to the value(s) that are closest in value to the argument and equal to a mathematical integer.
|
MutableFloatScalar.Abs<U> |
round()
Set the value(s) to the closest long to the argument with ties rounding up.
|
MutableFloatScalar.Abs<U> |
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.
|
MutableFloatScalar.Abs<U> |
sin()
Set the value(s) to the trigonometric sine of the value(s).
|
MutableFloatScalar.Abs<U> |
sinh()
Set the value(s) to the hyperbolic sine of the value(s).
|
MutableFloatScalar.Abs<U> |
sqrt()
Set the value(s) to the correctly rounded positive square root of the value(s).
|
MutableFloatScalar.Abs<U> |
tan()
Set the value(s) to the trigonometric tangent of the value(s).
|
MutableFloatScalar.Abs<U> |
tanh()
Set the value(s) to the hyperbolic tangent of the value(s).
|
MutableFloatScalar.Abs<U> |
toDegrees()
Set the value(s) to approximately equivalent angle(s) measured in degrees.
|
MutableFloatScalar.Abs<U> |
toRadians()
Set the value(s) to approximately equivalent angle(s) measured in radians.
|
decrementBy, decrementByImpl, divide, incrementBy, incrementByImpl, multiply
divide, divide, doubleValue, equals, floatValue, getInUnit, getInUnit, getSI, hashCode, initialize, initialize, interpolate, interpolate, intValue, longValue, minus, minus, minus, multiply, multiply, plus, plus, setValueSI, toString, toString, toString, toString
expressAsSIUnit, expressAsSpecifiedUnit, getUnit, isAbsolute, isRelative
byteValue, shortValue
public MutableFloatScalar.Abs(float value, U unit)
value
- float; the value of the new Absolute MutableFloatScalarunit
- U; the unit of the new Absolute MutableFloatScalarpublic MutableFloatScalar.Abs(FloatScalar.Abs<U> value)
value
- FloatScalar.Abs<U>; the referencepublic MutableFloatScalar.Abs(MutableFloatScalar.Abs<U> value)
value
- MutableFloatScalar.Abs<U>; the referencepublic final MutableFloatScalar.Abs<U> mutable()
mutable
in class FloatScalar<U extends Unit<U>>
public final FloatScalar.Abs<U> immutable()
immutable
in class MutableFloatScalar<U extends Unit<U>>
public final int compareTo(MutableFloatScalar.Abs<U> o)
compareTo
in interface Comparable<MutableFloatScalar.Abs<U extends Unit<U>>>
public final MutableFloatScalar.Abs<U> copy()
public final MutableFloatScalar.Abs<U> incrementBy(FloatScalar.Rel<U> increment)
increment
- FloatScalar.Rel<U>; amount by which the value is incrementedpublic final MutableFloatScalar.Abs<U> decrementBy(FloatScalar.Rel<U> decrement)
decrement
- FloatScalar.Rel<U>; amount by which the value is decrementedpublic final MutableFloatScalar.Abs<U> abs()
abs
in interface MathFunctions<FloatScalar<U extends Unit<U>>>
public final MutableFloatScalar.Abs<U> acos()
acos
in interface MathFunctions<FloatScalar<U extends Unit<U>>>
public final MutableFloatScalar.Abs<U> asin()
asin
in interface MathFunctions<FloatScalar<U extends Unit<U>>>
public final MutableFloatScalar.Abs<U> atan()
atan
in interface MathFunctions<FloatScalar<U extends Unit<U>>>
public final MutableFloatScalar.Abs<U> cbrt()
cbrt
in interface MathFunctions<FloatScalar<U extends Unit<U>>>
public final MutableFloatScalar.Abs<U> ceil()
ceil
in interface MathFunctions<FloatScalar<U extends Unit<U>>>
public final MutableFloatScalar.Abs<U> cos()
cos
in interface MathFunctions<FloatScalar<U extends Unit<U>>>
public final MutableFloatScalar.Abs<U> cosh()
cosh
in interface MathFunctions<FloatScalar<U extends Unit<U>>>
public final MutableFloatScalar.Abs<U> exp()
exp
in interface MathFunctions<FloatScalar<U extends Unit<U>>>
public final MutableFloatScalar.Abs<U> expm1()
expm1
in interface MathFunctions<FloatScalar<U extends Unit<U>>>
public final MutableFloatScalar.Abs<U> floor()
floor
in interface MathFunctions<FloatScalar<U extends Unit<U>>>
public final MutableFloatScalar.Abs<U> log()
log
in interface MathFunctions<FloatScalar<U extends Unit<U>>>
public final MutableFloatScalar.Abs<U> log10()
log10
in interface MathFunctions<FloatScalar<U extends Unit<U>>>
public final MutableFloatScalar.Abs<U> log1p()
log1p
in interface MathFunctions<FloatScalar<U extends Unit<U>>>
public final MutableFloatScalar.Abs<U> pow(double x)
pow
in interface MathFunctions<FloatScalar<U extends Unit<U>>>
x
- double; the value to use as the powerpublic final MutableFloatScalar.Abs<U> rint()
rint
in interface MathFunctions<FloatScalar<U extends Unit<U>>>
public final MutableFloatScalar.Abs<U> round()
round
in interface MathFunctions<FloatScalar<U extends Unit<U>>>
public final MutableFloatScalar.Abs<U> signum()
signum
in interface MathFunctions<FloatScalar<U extends Unit<U>>>
public final MutableFloatScalar.Abs<U> sin()
sin
in interface MathFunctions<FloatScalar<U extends Unit<U>>>
public final MutableFloatScalar.Abs<U> sinh()
sinh
in interface MathFunctions<FloatScalar<U extends Unit<U>>>
public final MutableFloatScalar.Abs<U> sqrt()
sqrt
in interface MathFunctions<FloatScalar<U extends Unit<U>>>
public final MutableFloatScalar.Abs<U> tan()
tan
in interface MathFunctions<FloatScalar<U extends Unit<U>>>
public final MutableFloatScalar.Abs<U> tanh()
tanh
in interface MathFunctions<FloatScalar<U extends Unit<U>>>
public final MutableFloatScalar.Abs<U> toDegrees()
toDegrees
in interface MathFunctions<FloatScalar<U extends Unit<U>>>
public final MutableFloatScalar.Abs<U> toRadians()
toRadians
in interface MathFunctions<FloatScalar<U extends Unit<U>>>
public final MutableFloatScalar.Abs<U> inv()
inv
in interface MathFunctions<FloatScalar<U extends Unit<U>>>
Copyright © 2014–2015 Delft University of Technology. All rights reserved.