next up previous contents
Next: Physics and steepest descents: Up: Infrastructure Previous: vector-vector product: pvector `*'

sho()

Complex sho(d3vec r,double k)

Return value:

Input:

In the next problem, we will solve for the ground state of the simple harmonic oscillator. Provide the above function (not as part of the pvector class definition!) to your program so that it may be used with evalr() in your main() program to create the potential pvector V.



Tomas Arias
Sun Apr 15 22:02:59 EDT 2001