public class Grid1DComplex extends Grid1D
Constructor and Description |
---|
Grid1DComplex(Grid1D grid) |
Grid1DComplex(Grid1D grid,
boolean extendToNextPowerOfTwo) |
Grid1DComplex(Grid1DComplex grid) |
Grid1DComplex(Grid1DComplex grid,
boolean extendToNextPowerOfTwo) |
Grid1DComplex(int width) |
Grid1DComplex(int width,
boolean extendToNextPowerOfTwo) |
Modifier and Type | Method and Description |
---|---|
void |
addAtIndex(int index,
float val) |
float |
getAtIndex(int index) |
float |
getImagAtIndex(int index) |
Grid1D |
getImagSubGrid(int startIndex,
int length) |
Grid1D |
getMagSubGrid(int startIndex,
int length) |
Grid1D |
getPhaseSubGrid(int startIndex,
int length) |
float |
getRealAtIndex(int index) |
Grid1D |
getRealSubGrid(int startIndex,
int length) |
int[] |
getSize() |
void |
multiplyAtIndex(int index,
float val) |
void |
multiplyAtIndex(int index,
float real,
float imag) |
void |
setAtIndex(int index,
float val) |
void |
setImagAtIndex(int index,
float val) |
void |
setRealAtIndex(int index,
float val) |
void |
transformForward() |
void |
transformInverse() |
clone, divideAtIndex, getBuffer, getSubGrid, getValue, indexToPhysical, initialize, physicalToIndex, show, show, subAtIndex, toString
getNumberOfElements, getOrigin, getSpacing, setOrigin, setSpacing
public Grid1DComplex(int width)
public Grid1DComplex(int width, boolean extendToNextPowerOfTwo)
public Grid1DComplex(Grid1D grid)
public Grid1DComplex(Grid1D grid, boolean extendToNextPowerOfTwo)
public Grid1DComplex(Grid1DComplex grid)
public Grid1DComplex(Grid1DComplex grid, boolean extendToNextPowerOfTwo)
public float getAtIndex(int index)
getAtIndex
in class Grid1D
public void multiplyAtIndex(int index, float val)
multiplyAtIndex
in class Grid1D
public void multiplyAtIndex(int index, float real, float imag)
public void addAtIndex(int index, float val)
addAtIndex
in class Grid1D
public void setAtIndex(int index, float val)
setAtIndex
in class Grid1D
public float getRealAtIndex(int index)
public float getImagAtIndex(int index)
public void setRealAtIndex(int index, float val)
public void setImagAtIndex(int index, float val)
public void transformForward()
public void transformInverse()
public Grid1D getRealSubGrid(int startIndex, int length)
public Grid1D getImagSubGrid(int startIndex, int length)
public Grid1D getMagSubGrid(int startIndex, int length)
public Grid1D getPhaseSubGrid(int startIndex, int length)