Class functions

Known Direct Subclasses:
convolutionFunction, cosinusFunction, diracFunction, multiplicateFunction, plusFunction, rampFunction, rectangulaimpulseFunction, sincFunction, stepFunction

public class functions
extends java.lang.Object

functions Other functions and operators are children of this class They inheritate from this class Defines the importend methods Author: Christiane Adler

Field Summary

boolean
FIsDirac
boolean
FTFImaginaerIsDirac
boolean
FTFReellIsDirac
Complex
complexy
int
diracFTFxylength
int
diracxylength
double
end
double
endFT
Complex
extrema
String
formelF
String
formelFTF
String
functionName
JPanel
functionPanel
JTextArea
funktionFormula
boolean
isMirrowFunction
double
maxx
double
maxxFT
double
maxy
double
minx
double
minxFT
double
miny
Complex
shiftComplex
double
start
double
startFT
JTextField
var1Fct
JTextField
var2Fct
JTextField
var3Fct
double
varShiftfct
JPanel
variablenPanel
double
x1AxialCaption
double
x1AxialCaption2
double
x1FTAxialCaption
double
x1FTAxialCaption2
double
x2AxialCaption
double
x2AxialCaption2
double
x2FTAxialCaption
double
x2FTAxialCaption2
double
y1AxialCaption
double
y1AxialCaption2
double
y1FTAxialCaption
double
y1FTAxialCaption2
double
y2AxialCaption
double
y2AxialCaption2
double
y2FTAxialCaption
double
y2FTAxialCaption2

Constructor Summary

functions()

Method Summary

Complex
calculatePixelFTFct(double x, double ix)
Calculating the H(f)-value in the frequency domain and returning it as a Complex
Complex
calculatePixelFct(double x, double ix)
Calculating the h(t)-value in the time domain and returning it as a Complex
Complex
getExtrema(double x, double ix)
Calculates the extrema
Complex
getExtremaFT(double x, double ix)
Complex
mirrowFunction(Complex mycomplexy)
Takes the function with a mirrow on the x-axis
void
setChild1(functions myChild)
Setting the first function Importent for the operators
void
setChild2(functions myChild)
Setting the second function Importent for the operators
void
setFTFunctionTextArea(int fi)
void
setFctLabel()
void
setVariables()
setting the variables has to be called, after setting the children and before calculating the y-value
void
setVariablesLimits()
Importent for the interceptions
void
setVariablesLimits2()
Importent for the interceptions
Complex
shiftFunction(Complex mycomplexy, double varShift, double x)
Shifts the fourier transformed function in the frequency range Shifting S = varShift

Field Details

FIsDirac

public boolean FIsDirac

FTFImaginaerIsDirac

public boolean FTFImaginaerIsDirac

FTFReellIsDirac

public boolean FTFReellIsDirac

complexy

public Complex complexy

diracFTFxylength

public int diracFTFxylength

diracxylength

public int diracxylength

end

public double end

endFT

public double endFT

extrema

public Complex extrema

formelF

public String formelF

formelFTF

public String formelFTF

functionName

public String functionName

functionPanel

public JPanel functionPanel

funktionFormula

public JTextArea funktionFormula

isMirrowFunction

public boolean isMirrowFunction

maxx

public double maxx

maxxFT

public double maxxFT

maxy

public double maxy

minx

public double minx

minxFT

public double minxFT

miny

public double miny

shiftComplex

public Complex shiftComplex

start

public double start

startFT

public double startFT

var1Fct

public JTextField var1Fct

var2Fct

public JTextField var2Fct

var3Fct

public JTextField var3Fct

varShiftfct

public double varShiftfct

variablenPanel

public JPanel variablenPanel

x1AxialCaption

public double x1AxialCaption

x1AxialCaption2

public double x1AxialCaption2

x1FTAxialCaption

public double x1FTAxialCaption

x1FTAxialCaption2

public double x1FTAxialCaption2

x2AxialCaption

public double x2AxialCaption

x2AxialCaption2

public double x2AxialCaption2

x2FTAxialCaption

public double x2FTAxialCaption

x2FTAxialCaption2

public double x2FTAxialCaption2

y1AxialCaption

public double y1AxialCaption

y1AxialCaption2

public double y1AxialCaption2

y1FTAxialCaption

public double y1FTAxialCaption

y1FTAxialCaption2

public double y1FTAxialCaption2

y2AxialCaption

public double y2AxialCaption

y2AxialCaption2

public double y2AxialCaption2

y2FTAxialCaption

public double y2FTAxialCaption

y2FTAxialCaption2

public double y2FTAxialCaption2

Constructor Details

functions

public functions()

Method Details

calculatePixelFTFct

public Complex calculatePixelFTFct(double x,
                                   double ix)
Calculating the H(f)-value in the frequency domain and returning it as a Complex

calculatePixelFct

public Complex calculatePixelFct(double x,
                                 double ix)
Calculating the h(t)-value in the time domain and returning it as a Complex

getExtrema

public Complex getExtrema(double x,
                          double ix)
Calculates the extrema

getExtremaFT

public Complex getExtremaFT(double x,
                            double ix)

mirrowFunction

public Complex mirrowFunction(Complex mycomplexy)
Takes the function with a mirrow on the x-axis

setChild1

public void setChild1(functions myChild)
Setting the first function Importent for the operators

setChild2

public void setChild2(functions myChild)
Setting the second function Importent for the operators

setFTFunctionTextArea

public void setFTFunctionTextArea(int fi)

setFctLabel

public void setFctLabel()

setVariables

public void setVariables()
setting the variables has to be called, after setting the children and before calculating the y-value

setVariablesLimits

public void setVariablesLimits()
Importent for the interceptions

setVariablesLimits2

public void setVariablesLimits2()
Importent for the interceptions

shiftFunction

public Complex shiftFunction(Complex mycomplexy,
                             double varShift,
                             double x)
Shifts the fourier transformed function in the frequency range Shifting S = varShift