|
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.model.csct.resources.XMath
public final class XMath
Simple mathematical functions. Some of those function will
be removed if JavaSoft provide a standard implementation
or fix some issues in Bug Parade:
Field Summary | |
---|---|
static double |
LN10
Natural logarithm of 10. |
Method Summary | |
---|---|
static double |
hypot(double x,
double y)
Compute the hypothenuse ( sqrt(x�+y�) ). |
static double |
log10(double x)
Compute the logarithm in base 10. |
static double |
pow10(double x)
Compute 10 power x. |
static double |
pow10(int x)
Compute 10 power x. |
static byte |
sgn(byte x)
Returns the sign of x. |
static int |
sgn(double x)
Returns the sign of x. |
static int |
sgn(float x)
Returns the sign of x. |
static int |
sgn(int x)
Returns the sign of x. |
static int |
sgn(long x)
Returns the sign of x. |
static short |
sgn(short x)
Returns the sign of x. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final double LN10
Method Detail |
---|
public static double hypot(double x, double y)
sqrt(x�+y�)
).
public static double log10(double x)
public static double pow10(double x)
public static double pow10(int x)
public static int sgn(double x)
NaN
and
+1 if x is positive.
public static int sgn(float x)
NaN
and
+1 if x is positive.
public static int sgn(long x)
public static int sgn(int x)
public static short sgn(short x)
public static byte sgn(byte x)
|
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net