|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.nabla.NablaStrictMath
public class NablaStrictMath
StrictMath
-like utility class computing differentials.
This class provides mathematical functions similar to the functions
provided by the standard java.lang.StrictMath
class but
using DifferentialPair
instances instead of doubles.
Method Summary | |
---|---|
static DifferentialPair |
abs(DifferentialPair a)
Absolute value function. |
static DifferentialPair |
acos(DifferentialPair a)
Inverse cosine function. |
static DifferentialPair |
acosh(DifferentialPair a)
Inverse hyperbolic cosine function. |
static DifferentialPair |
asin(DifferentialPair a)
Inverse sine function. |
static DifferentialPair |
asinh(DifferentialPair a)
Inverse hyperbolic sine function. |
static DifferentialPair |
atan(DifferentialPair a)
Inverse tangent function. |
static DifferentialPair |
atan2(DifferentialPair y,
DifferentialPair x)
Cartesian to polar conversion function. |
static DifferentialPair |
atan2(DifferentialPair y,
double x)
Cartesian to polar conversion function. |
static DifferentialPair |
atan2(double y,
DifferentialPair x)
Cartesian to polar conversion function. |
static DifferentialPair |
atanh(DifferentialPair a)
Inverse hyperbolic tangent function. |
static DifferentialPair |
cbrt(DifferentialPair a)
Cubic root function. |
static DifferentialPair |
ceil(DifferentialPair a)
Ceil function. |
static DifferentialPair |
copySign(DifferentialPair magnitude,
DifferentialPair sign)
Sign copy function. |
static DifferentialPair |
copySign(DifferentialPair magnitude,
double sign)
Sign copy function. |
static DifferentialPair |
copySign(double magnitude,
DifferentialPair sign)
Sign copy function. |
static DifferentialPair |
cos(DifferentialPair a)
Cosine function. |
static DifferentialPair |
cosh(DifferentialPair a)
Hyperbolic cosine function. |
static DifferentialPair |
exp(DifferentialPair a)
Exponential function. |
static DifferentialPair |
expm1(DifferentialPair a)
Exponential minus 1 function. |
static DifferentialPair |
floor(DifferentialPair a)
Floor function. |
static DifferentialPair |
hypot(DifferentialPair x,
DifferentialPair y)
Cartesian to polar conversion function. |
static DifferentialPair |
hypot(DifferentialPair x,
double y)
Cartesian to polar conversion function. |
static DifferentialPair |
hypot(double x,
DifferentialPair y)
Cartesian to polar conversion function. |
static DifferentialPair |
IEEEremainder(DifferentialPair f1,
DifferentialPair f2)
Remainder function. |
static DifferentialPair |
IEEEremainder(DifferentialPair f1,
double f2)
Remainder function. |
static DifferentialPair |
IEEEremainder(double f1,
DifferentialPair f2)
Remainder function. |
static DifferentialPair |
log(DifferentialPair a)
Natural logarithm function. |
static DifferentialPair |
log10(DifferentialPair a)
Base 10 logarithm function. |
static DifferentialPair |
log1p(DifferentialPair a)
Shifted natural logarithm function. |
static DifferentialPair |
max(DifferentialPair a,
DifferentialPair b)
Max function. |
static DifferentialPair |
max(DifferentialPair a,
double b)
Max function. |
static DifferentialPair |
max(double a,
DifferentialPair b)
Max function. |
static DifferentialPair |
min(DifferentialPair a,
DifferentialPair b)
Min function. |
static DifferentialPair |
min(DifferentialPair a,
double b)
Min function. |
static DifferentialPair |
min(double a,
DifferentialPair b)
Min function. |
static DifferentialPair |
nextAfter(DifferentialPair start,
DifferentialPair direction)
Neighbor function. |
static DifferentialPair |
nextAfter(DifferentialPair start,
double direction)
Neighbor function. |
static DifferentialPair |
nextAfter(double start,
DifferentialPair direction)
Neighbor function. |
static DifferentialPair |
nextUp(DifferentialPair a)
Neighbor function. |
static DifferentialPair |
pow(DifferentialPair a,
DifferentialPair b)
Power function. |
static DifferentialPair |
pow(DifferentialPair a,
double b)
Power function. |
static DifferentialPair |
pow(double a,
DifferentialPair b)
Power function. |
static DifferentialPair |
rint(DifferentialPair a)
Rounding function. |
static DifferentialPair |
scalb(DifferentialPair a,
int scale)
Binary rescaling function. |
static DifferentialPair |
signum(DifferentialPair a)
Sign function. |
static DifferentialPair |
sin(DifferentialPair a)
Sine function. |
static DifferentialPair |
sinh(DifferentialPair a)
Hyperbolic sine function. |
static DifferentialPair |
sqrt(DifferentialPair a)
Square root function. |
static DifferentialPair |
tan(DifferentialPair a)
Tangent function. |
static DifferentialPair |
tanh(DifferentialPair a)
Hyperbolic tangent function. |
static DifferentialPair |
toDegrees(DifferentialPair a)
Angular conversion function. |
static DifferentialPair |
toRadians(DifferentialPair a)
Angular conversion function. |
static DifferentialPair |
ulp(DifferentialPair a)
Unit in Last Position function. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static DifferentialPair exp(DifferentialPair a)
a
- function input value
public static DifferentialPair expm1(DifferentialPair a)
a
- function input value
public static DifferentialPair log(DifferentialPair a)
a
- function input value
public static DifferentialPair log1p(DifferentialPair a)
a
- function input value
public static DifferentialPair log10(DifferentialPair a)
a
- function input value
public static DifferentialPair cos(DifferentialPair a)
a
- function input value
public static DifferentialPair sin(DifferentialPair a)
a
- function input value
public static DifferentialPair tan(DifferentialPair a)
a
- function input value
public static DifferentialPair acos(DifferentialPair a)
a
- function input value
public static DifferentialPair asin(DifferentialPair a)
a
- function input value
public static DifferentialPair atan(DifferentialPair a)
a
- function input value
public static DifferentialPair atan2(DifferentialPair y, double x)
y
- cartesian ordinate of the pointx
- cartesian abscissa of the point
public static DifferentialPair atan2(double y, DifferentialPair x)
y
- cartesian ordinate of the pointx
- cartesian abscissa of the point
public static DifferentialPair atan2(DifferentialPair y, DifferentialPair x)
y
- cartesian ordinate of the pointx
- cartesian abscissa of the point
public static DifferentialPair hypot(DifferentialPair x, double y)
x
- cartesian abscissa of the pointy
- cartesian ordinate of the point
public static DifferentialPair hypot(double x, DifferentialPair y)
x
- cartesian abscissa of the pointy
- cartesian ordinate of the point
public static DifferentialPair hypot(DifferentialPair x, DifferentialPair y)
x
- cartesian abscissa of the pointy
- cartesian ordinate of the point
public static DifferentialPair cosh(DifferentialPair a)
a
- function input value
public static DifferentialPair sinh(DifferentialPair a)
a
- function input value
public static DifferentialPair tanh(DifferentialPair a)
a
- function input value
public static DifferentialPair acosh(DifferentialPair a)
a
- function input value
public static DifferentialPair asinh(DifferentialPair a)
a
- function input value
public static DifferentialPair atanh(DifferentialPair a)
a
- function input value
public static DifferentialPair sqrt(DifferentialPair a)
a
- function input value
public static DifferentialPair cbrt(DifferentialPair a)
a
- function input value
public static DifferentialPair pow(DifferentialPair a, double b)
a
- base valueb
- exponent value
public static DifferentialPair pow(double a, DifferentialPair b)
a
- base valueb
- exponent value
public static DifferentialPair pow(DifferentialPair a, DifferentialPair b)
a
- base valueb
- exponent value
public static DifferentialPair abs(DifferentialPair a)
a
- function input value
public static DifferentialPair signum(DifferentialPair a)
a
- function input value
public static DifferentialPair copySign(DifferentialPair magnitude, double sign)
magnitude
- function input valuesign
- sign reference
public static DifferentialPair copySign(double magnitude, DifferentialPair sign)
magnitude
- function input valuesign
- sign reference
public static DifferentialPair copySign(DifferentialPair magnitude, DifferentialPair sign)
magnitude
- function input valuesign
- sign reference
public static DifferentialPair floor(DifferentialPair a)
a
- function input value
public static DifferentialPair rint(DifferentialPair a)
a
- function input value
public static DifferentialPair ceil(DifferentialPair a)
a
- function input value
public static DifferentialPair nextUp(DifferentialPair a)
a
- function input value
public static DifferentialPair nextAfter(DifferentialPair start, double direction)
start
- function input valuedirection
- direction of neighboring (relative to a)
public static DifferentialPair nextAfter(double start, DifferentialPair direction)
start
- function input valuedirection
- direction of neighboring (relative to a)
public static DifferentialPair nextAfter(DifferentialPair start, DifferentialPair direction)
start
- function input valuedirection
- direction of neighboring (relative to a)
public static DifferentialPair ulp(DifferentialPair a)
a
- function input value
public static DifferentialPair scalb(DifferentialPair a, int scale)
a
- function input valuescale
- exponent part of the 2scale multiplication factor
public static DifferentialPair IEEEremainder(DifferentialPair f1, double f2)
f1
- dividendf2
- divisor
public static DifferentialPair IEEEremainder(double f1, DifferentialPair f2)
f1
- dividendf2
- divisor
public static DifferentialPair IEEEremainder(DifferentialPair f1, DifferentialPair f2)
f1
- dividendf2
- divisor
public static DifferentialPair toDegrees(DifferentialPair a)
a
- angle in radians
public static DifferentialPair toRadians(DifferentialPair a)
a
- angle in degrees
public static DifferentialPair max(DifferentialPair a, double b)
a
- first function input valueb
- second function input value
public static DifferentialPair max(double a, DifferentialPair b)
a
- first function input valueb
- second function input value
public static DifferentialPair max(DifferentialPair a, DifferentialPair b)
a
- first function input valueb
- second function input value
public static DifferentialPair min(DifferentialPair a, double b)
a
- first function input valueb
- second function input value
public static DifferentialPair min(double a, DifferentialPair b)
a
- first function input valueb
- second function input value
public static DifferentialPair min(DifferentialPair a, DifferentialPair b)
a
- first function input valueb
- second function input value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |