|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vividsolutions.jump.util.MathUtil
public class MathUtil
Additional math utilities.
Math| Constructor Summary | |
|---|---|
MathUtil()
|
|
| Method Summary | |
|---|---|
static double |
avg(double a,
double b)
Returns the average of two doubles |
static double |
base10Log(double x)
|
static int |
mostSignificantDigit(double x)
|
static double |
orderOfMagnitude(double x)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MathUtil()
| Method Detail |
|---|
public static double orderOfMagnitude(double x)
public static double base10Log(double x)
public static int mostSignificantDigit(double x)
public static double avg(double a,
double b)
a - one of the doubles to averageb - the other double to average
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||