This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
numexercises7_14 [2014/07/14 08:03] bogner |
numexercises7_14 [2014/07/14 08:14] bogner |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== Numerical Exercises for Monday July 14 ===== | ===== Numerical Exercises for Monday July 14 ===== | ||
+ | * In your favorite programming language, make a program to construct a real symmetric $NxN$ matrix. Diagonalize it using the appropriate LAPACK or GSL routine, and write out some number of the lowest eigenvalues. (Suggestion: You might find it useful to use Mathematica (available on the ECT* computers) to diagonalize a small matrix that you can benchmark against.) This will help you test that you've linked to the GSL or LAPACK library. | ||
+ | |||
+ | * Install Git, and try out some of the commands covered in Morten or Nicolas's lecture slides ({{:computing.pdf|}} {{:talentdftguides.pdf|}}) for your code in the first problem. | ||
- | - In your favorite programming language, make a program to construct a real $NxN$ matrix. Diagonalize it using the appropriate LAPACK or GSL routine, and write out some number of the lowest eigenvalues. \\ | + | * The code calculates the relative matrix elements $\langle nl|V|n'l\rangle$ in HO states. From this, construct a subroutine that returns the properly normalized $r$-space HO wf's. For some basic background on HO wf's, see {{:ho_spherical.pdf| here}}. |
- | - Use your simple program as an opportunity to play with Git. Try out some of the commands covered in Morten or Nicolas's lecture slides {{:computing.pdf|}} {{:talentdftguides.pdf|}} | + | |
+ | * |