|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensourcephysics.sip.ch16.GaussianPacket
public class GaussianPacket
A Gaussian wave function with a momentum boost.
Constructor Summary | |
---|---|
GaussianPacket(double width,
double center,
double momentum)
Constructs the Gaussian wave function with the given center and momentum boost.\ |
Method Summary | |
---|---|
double |
getImaginary(double x)
Gets the imaginary part of the Gaussian wave function at the given x. |
double |
getReal(double x)
Gets the real part of the Gaussian wave function at the given x. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GaussianPacket(double width, double center, double momentum)
width
- doublecenter
- doublemomentum
- doubleMethod Detail |
---|
public double getReal(double x)
x
- double
public double getImaginary(double x)
x
- double
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |