|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.sc.seis.fissuresUtil.freq.Cmplx
public class Cmplx
Field Summary | |
---|---|
double |
i
|
double |
r
|
Constructor Summary | |
---|---|
Cmplx(double re,
double im)
|
Method Summary | |
---|---|
static Cmplx |
add(Cmplx a,
Cmplx b)
|
static Cmplx |
add(Cmplx a,
double b)
|
static Cmplx |
add(double a,
Cmplx b)
|
Cmplx |
conjg()
|
static float[] |
convolve(float[] fdata,
float[] gdata,
float delta)
|
static float[] |
correlate(float[] fdata,
float[] gdata)
Computes the correlation of fdata with gdata. |
static Cmplx |
div(Cmplx a,
Cmplx b)
|
static Cmplx |
div(Cmplx a,
double b)
|
static Cmplx |
div(double a,
Cmplx b)
|
static Cmplx |
exp(Cmplx arg)
|
static Cmplx[] |
fft(float[] fdata)
Forward Fast Fourier Transform |
static float[] |
fftInverse(Cmplx[] cdata,
int nPoints)
Inverse Forward Fast Fourier Transform |
static double[] |
four1(double[] data,
int isign)
Fast Fourier Transform (adapted from Numerical Recipies in C) isign = 1 replace data by FFT = -1 replace data by inverse FFT data pseudo-complex array of length nn input as real pairs nn integer power of 2 |
static float[] |
four1(float[] data,
int isign)
|
static float[] |
four1Forward(float[] data)
|
static float[] |
four1Inverse(float[] data)
|
double |
imag()
|
boolean |
isNaN()
|
double |
mag()
|
static Cmplx |
mul(Cmplx a,
Cmplx b)
|
static Cmplx |
mul(Cmplx a,
double b)
|
static Cmplx |
mul(double a,
Cmplx b)
|
double |
phs()
|
double |
real()
|
Cmplx |
sqrt()
|
static Cmplx |
sub(Cmplx a,
Cmplx b)
|
static Cmplx |
sub(Cmplx a,
double b)
|
static Cmplx |
sub(double a,
Cmplx b)
|
java.lang.String |
toString()
|
Cmplx |
unitVector()
creates a unit mag complex number. |
Cmplx |
zeroOrUnitVector()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public double r
public double i
Constructor Detail |
---|
public Cmplx(double re, double im)
Method Detail |
---|
public static final Cmplx add(double a, Cmplx b)
public static final Cmplx add(Cmplx a, double b)
public static final Cmplx add(Cmplx a, Cmplx b)
public static final Cmplx sub(double a, Cmplx b)
public static final Cmplx sub(Cmplx a, double b)
public static final Cmplx sub(Cmplx a, Cmplx b)
public static final Cmplx mul(double a, Cmplx b)
public static final Cmplx mul(Cmplx a, double b)
public static final Cmplx mul(Cmplx a, Cmplx b)
public static final Cmplx div(double a, Cmplx b)
public static final Cmplx div(Cmplx a, double b)
public static final Cmplx div(Cmplx a, Cmplx b)
public final double real()
public final double imag()
public final double mag()
public final Cmplx unitVector()
public final Cmplx zeroOrUnitVector()
public final double phs()
public final Cmplx conjg()
public static final Cmplx exp(Cmplx arg)
public final Cmplx sqrt()
public boolean isNaN()
public static final Cmplx[] fft(float[] fdata)
public static final float[] fftInverse(Cmplx[] cdata, int nPoints)
public static final float[] convolve(float[] fdata, float[] gdata, float delta)
public static final float[] correlate(float[] fdata, float[] gdata)
section 13-2
public static float[] four1Forward(float[] data)
public static float[] four1Inverse(float[] data)
public static float[] four1(float[] data, int isign)
public static final double[] four1(double[] data, int isign)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |