|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netlib.util.Util
org.netlib.util.StrictUtil
public class StrictUtil
StrictMath versions of various math related Fortran intrinsic functions.
This file is part of the Fortran-to-Java (f2j) system, developed at the University of Tennessee.
This class contains Strict versions of the math related utilities
in Util
.
Constructor Summary | |
---|---|
StrictUtil()
|
Method Summary | |
---|---|
static double |
cosh(double a)
Fortran hyperbolic cosine (COSH) intrinsic function. |
static double |
ddim(double a1,
double a2)
Fortran double precision positive difference (DDIM) intrinsic function. |
static float |
dim(float a1,
float a2)
Fortran floating point positive difference (DIM) intrinsic function. |
static double |
dsign(double a1,
double a2)
Fortran double precision transfer of sign (DSIGN) intrinsic function. |
static int |
idim(int a1,
int a2)
Fortran integer positive difference (IDIM) intrinsic function. |
static int |
idnint(double x)
Fortran nearest integer (IDNINT) intrinsic function. |
static int |
isign(int a1,
int a2)
Fortran integer transfer of sign (ISIGN) intrinsic function. |
static double |
log10(double x)
Base-10 logarithm function. |
static float |
log10(float x)
Base-10 logarithm function. |
static double |
max(double x,
double y,
double z)
Three argument double precision max function. |
static float |
max(float x,
float y,
float z)
Three argument single precision max function. |
static int |
max(int x,
int y,
int z)
Three argument integer max function. |
static double |
min(double x,
double y,
double z)
Three argument double precision min function. |
static float |
min(float x,
float y,
float z)
Three argument single precision min function. |
static int |
min(int x,
int y,
int z)
Three argument integer min function. |
static int |
nint(float x)
Fortran nearest integer (NINT) intrinsic function. |
static float |
sign(float a1,
float a2)
Fortran floating point transfer of sign (SIGN) intrinsic function. |
static double |
sinh(double a)
Fortran hyperbolic sine (SINH) intrinsic function. |
static double |
tanh(double a)
Fortran hyperbolic tangent (TANH) intrinsic function. |
Methods inherited from class org.netlib.util.Util |
---|
f77read, f77write, f77write, pause, pause, strCharAt, stringInsert, stringInsert |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StrictUtil()
Method Detail |
---|
public static int max(int x, int y, int z)
This function uses Java's StrictMath package.
x
- value 1y
- value 2z
- value 3
public static float max(float x, float y, float z)
This function uses Java's StrictMath package.
x
- value 1y
- value 2z
- value 3
public static double max(double x, double y, double z)
This function uses Java's StrictMath package.
x
- value 1y
- value 2z
- value 3
public static int min(int x, int y, int z)
This function uses Java's StrictMath package.
x
- value 1y
- value 2z
- value 3
public static float min(float x, float y, float z)
This function uses Java's StrictMath package.
x
- value 1y
- value 2z
- value 3
public static double min(double x, double y, double z)
This function uses Java's StrictMath package.
x
- value 1y
- value 2z
- value 3
public static double log10(double x)
This function uses Java's StrictMath package.
x
- the value
public static float log10(float x)
This function uses Java's StrictMath package.
x
- the value
public static int nint(float x)
Returns:
This function uses Java's StrictMath package.
x
- the floating point value
public static int idnint(double x)
Returns:
This function uses Java's StrictMath package.
x
- the double precision floating point value
public static float sign(float a1, float a2)
Returns:
This function uses Java's StrictMath package.
a1
- floating point valuea2
- sign transfer indicator
public static int isign(int a1, int a2)
Returns:
This function uses Java's StrictMath package.
a1
- integer valuea2
- sign transfer indicator
public static double dsign(double a1, double a2)
Returns:
This function uses Java's StrictMath package.
a1
- double precision floating point valuea2
- sign transfer indicator
public static float dim(float a1, float a2)
Returns:
This function uses Java's StrictMath package.
a1
- floating point valuea2
- floating point value
public static int idim(int a1, int a2)
Returns:
This function uses Java's StrictMath package.
a1
- integer valuea2
- integer value
public static double ddim(double a1, double a2)
Returns:
This function uses Java's StrictMath package.
a1
- double precision floating point valuea2
- double precision floating point value
public static double sinh(double a)
This function uses Java's StrictMath package.
a
- the value to get the sine of
public static double cosh(double a)
This function uses Java's StrictMath package.
a
- the value to get the cosine of
public static double tanh(double a)
This function uses Java's StrictMath package.
a
- the value to get the tangent of
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |