|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmath.complex.ComplexFloat1d
public class ComplexFloat1d
User: lyon Date: Nov 13, 2005 Time: 8:00:08 AM Copyright DocJava, Inc. 2005.
Field Summary | |
---|---|
float[] |
im
|
float[] |
re
|
Constructor Summary | |
---|---|
ComplexFloat1d()
|
|
ComplexFloat1d(float[] realPart,
float[] imaginaryPart)
|
|
ComplexFloat1d(int n)
|
|
ComplexFloat1d(short[][] s)
Copy the s input into the real number plane and set the imaginary plane to zero. |
Method Summary | |
---|---|
void |
center()
|
void |
conjugate()
|
ComplexFloat1d |
getCopy()
|
float[] |
getIm()
|
float |
getIm(int i)
|
int |
getLength()
|
float |
getMaxReal()
Search the real part of the complex array |
float |
getMinReal()
Search the real part of the complex array |
float[] |
getPSD()
|
static float[] |
getPSD(float[] in_r,
float[] in_i)
Compute the power spectral density of the input arrays |
float[] |
getRe()
|
float |
getRe(int i)
|
short[][] |
getRealAs2dShort(int w,
int h)
|
float |
getRealSum()
|
float[] |
logScaleMagnitude(float magScale)
|
static void |
main(java.lang.String[] args)
|
void |
minus(ComplexFloat1d b)
|
void |
mult(ComplexFloat1d b)
|
void |
normalize()
|
void |
plus(ComplexFloat1d b)
|
void |
print()
|
void |
removeDcComponent()
|
void |
scale(float sc)
|
void |
scaleAndMask(short[][] r)
Mask the image kernal with the real and imaginary numbers. |
void |
scaleIntoRange(float min,
float max,
int maxValueOuput)
|
void |
setIm(float[] im)
|
void |
setRe(float[] re)
|
void |
setRe(short[] re)
|
void |
swap(int i,
int j)
|
void |
swapInt(int i,
int j)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public float[] re
public float[] im
Constructor Detail |
---|
public ComplexFloat1d()
public ComplexFloat1d(short[][] s)
s
- public ComplexFloat1d(int n)
public ComplexFloat1d(float[] realPart, float[] imaginaryPart)
Method Detail |
---|
public short[][] getRealAs2dShort(int w, int h)
public static void main(java.lang.String[] args)
public void swapInt(int i, int j)
public void plus(ComplexFloat1d b)
public ComplexFloat1d getCopy()
public void scaleAndMask(short[][] r)
r
- public void scale(float sc)
public void mult(ComplexFloat1d b)
public void minus(ComplexFloat1d b)
public float[] logScaleMagnitude(float magScale)
public float[] getIm()
public float getIm(int i)
public void setIm(float[] im)
public float getRe(int i)
public float[] getRe()
public int getLength()
public void setRe(float[] re)
public void swap(int i, int j)
public float[] getPSD()
public static float[] getPSD(float[] in_r, float[] in_i)
in_r
- real part of an fftin_i
- imaginary part of an fft
public void center()
public void setRe(short[] re)
public void print()
public void normalize()
public float getMaxReal()
public float getMinReal()
public float getRealSum()
public void conjugate()
public void removeDcComponent()
public void scaleIntoRange(float min, float max, int maxValueOuput)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |