Skip to content

Computing Resources

Tutorials

A Java Tutorial: Java Notes
A Unix Tutorial: Unix Notes
A C++ Tutorial:   C++ Notes

C++ codes

Random number generators (C++)  - Header file
Create in Address Book (C++)
Prints a calendar for any specified year (C++)
Gaussian and Exponential    deviates (C++)
The H2+ molecule    (C++)    -   header
Program for statistics analysis (C++)
Integration routines (C++)  - Header file
Fast Fourier Transform   (C++)
Routines for array sorting, ranking, and indexing (C++) + Class Sort: Header file 1 and 2
Sorting names (C++) - A nice example of recursion: Quick sort
Adaptive Runge-Kutta ODE integration (C++) - Header file
A class for manipulating complex numbers (C++)  - Header file   (This is how you could, but you shouldn't)
A class for manipulating complex numbers (C++)  - Headers:1   and  2   (This is how you should, with operator overloading)
Solving linear equations (C++) + Header file
Solving ordinary diferential equations (C++):   1 , 2 ,3 , 4 , 5 , 6
Derivatives of continuous functions and of tabulated ones   -   header file
Spline interpolation     -   header file
Minimum of functions (C++)  -  header
Root finding (C++)  -  header
Simple plotting routine (C++)
Special (why special?) functions (C++):
Airy , Bessel functions , binomial coefficient , error function , exponential integral
gamma function ,   incomplete beta function ,   incomplete gamma function ,    Legendre polynomials

Java Applets
A Gregorian calendar  Applet (source)
Atom Applet     (source)
Quantum tunneling in a potential barrier Applet      (source)
Numerical solution of the hydrogen atom Applet     (source)
Wave packet in a square-well Applet     (source)
Heat diffusion  Applet     (source)
Chaos: (a) Fern  Applet    (source), (b) Sierpinski Gasket  Applet    (source)
Electric field lines   Applet    (source)

by C.A. Bertulani