|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.das2.util.DasMath
public class DasMath
Constructor Summary | |
---|---|
DasMath()
Creates a new instance of DasMath |
Method Summary | |
---|---|
static double |
biggerOf(double x1,
double x2)
|
static double |
exp10(double x)
|
static double |
exp10(int x)
|
static double[] |
findex(double[] datax,
double[] x)
Returns the "floating point indeces" of x within array datax. |
static double |
findex(double[] datax,
double x,
int guess)
|
static double |
gcd(double[] A,
double error)
|
static double |
interpolate(double[] datay,
double findex)
Interpolate just one point |
static double[] |
interpolate(double[] datay,
double[] findex)
interpolate an array of points. |
static double |
log10(double x)
|
static void |
main(java.lang.String[] args)
|
static double |
max(double[] A)
|
static double |
mean(double[] A)
|
static double |
median(double[] A)
|
static double |
min(double[] A)
|
static double |
modp(double x,
double t)
just like modulo (%) function, but negative numbers return positive phase. |
static int |
modp(int x,
int t)
just like modulo (%) function, but negative numbers return positive phase. |
static double |
roundNFractionalDigits(double x,
int n)
|
static double |
roundNSignificantDigits(double x,
int n)
|
static double[] |
sort(double[] A)
|
static double |
tanh(double x)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DasMath()
Method Detail |
---|
public static double log10(double x)
public static double exp10(double x)
public static double exp10(int x)
public static double roundNFractionalDigits(double x, int n)
public static double roundNSignificantDigits(double x, int n)
public static double tanh(double x)
public static double interpolate(double[] datay, double findex)
public static double[] interpolate(double[] datay, double[] findex)
public static double[] findex(double[] datax, double[] x)
public static final double findex(double[] datax, double x, int guess)
public static void main(java.lang.String[] args)
public static double modp(double x, double t)
public static int modp(int x, int t)
public static double biggerOf(double x1, double x2)
public static double gcd(double[] A, double error)
public static double mean(double[] A)
public static double median(double[] A)
public static double max(double[] A)
public static double min(double[] A)
public static double[] sort(double[] A)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |