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