|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Facemorph.Numerical
public class Numerical
Some numberical methods
Field Summary | |
---|---|
static float |
EPS
A threshold value |
static float |
FPMIN
Floating point smallest value |
static int |
ITMAX
Maximum number of iterations |
Constructor Summary | |
---|---|
Numerical()
Creates a new instance of Numerical |
Method Summary | |
---|---|
static float |
betai(float a,
float b,
float x)
Incomplete beta function |
static void |
FFT(float[] data,
int[] nn,
int ndim,
int isign)
Compute the ndim dimensional FFT |
static float |
gammaq(float a,
float x)
Incomplete gamma function |
static int |
twoFFT(float[] data1,
float[] data2,
int[] nn,
int ndim,
int isign)
Replace two real arrays with their Fourier Transforms The complex left hand side of the transform is returned only the full transform can be recovered using symmetry |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ITMAX
public static final float EPS
public static final float FPMIN
Constructor Detail |
---|
public Numerical()
Method Detail |
---|
public static float gammaq(float a, float x)
a
- parameter ax
- parameter x
public static float betai(float a, float b, float x)
a
- ab
- bx
- x
public static void FFT(float[] data, int[] nn, int ndim, int isign)
data
- data to FFTnn
- array holding the length of each dimensionndim
- number of dimensionsisign
- isign=1 forward FFT, isign=-1 inverse FFTpublic static int twoFFT(float[] data1, float[] data2, int[] nn, int ndim, int isign)
data1
- first data arraydata2
- second data arraynn
- dimensionsndim
- number of dimensionsisign
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |