|
SSJ V. labo. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectumontreal.iro.lecuyer.util.Misc
public class Misc
Misc
This class provides miscellaneous functions that are hard to classify. Some may be moved to another class in the future.
| Method Summary | |||
|---|---|---|---|
static double |
evalPoly(double[] C,
int n,
double x)
|
static double |
evalPoly(int n,
double[] X,
double[] C,
double z)
. |
static double |
getMedian(double[] A,
int n)
. |
||
static double |
getMedian(int[] A,
int n)
[tabb47] Athe array nthe number of used elements the median of A |
||
static int |
getTimeInterval(double[] times,
int start,
int end,
double t)
. |
||
static void |
interpol(int n,
double[] X,
double[] Y,
double[] C)
|
static double |
quickSelect(double[] A,
int n,
int k)
. |
static int |
quickSelect(int[] A,
int n,
int k)
[tabb30] Athe array which contain the items nthe number of items in the array kthe index of the smallest item the kth smallest item of the array A |
||
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static double quickSelect(double[] A,
int n,
int k)
public static int quickSelect(int[] A,
int n,
int k)
public static double getMedian(double[] A,
int n)
public static double getMedian(int[] A,
int n)
public static int getTimeInterval(double[] times,
int start,
int end,
double t)
public static void interpol(int n,
double[] X,
double[] Y,
double[] C)
public static double evalPoly(int n,
double[] X,
double[] C,
double z)
public static double evalPoly(double[] C,
int n,
double x)
|
SSJ V. labo. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||