tailieunhanh - Numerical Recipes in C# part 3

Computer Programs by Chapter and Section flmoon julday badluk caldat gaussj ludcmp lubksb tridag banmul bandec banbks mprove svbksb svdcmp pythag cyclic sprsin sprsax | Computer Programs by Chapter and Section flmoon calculate phases of the moon by date julday Julian Day number from calendar date badluk Friday the 13th when the moon is full caldat calendar date from Julian day number gaussj Gauss-Jordan matrix inversion and linear equation solution ludcmp linear equation solution LU decomposition lubksb linear equation solution backsubstitution tridag solution of tridiagonal systems banmul multiply vector by band diagonal matrix bandec band diagonal systems decomposition banbks band diagonal systems backsubstitution mprove linear equation solution iterative improvement svbksb singular value backsubstitution svdcmp singular value decomposition of a matrix pythag calculate a2 b2 1 2 without overflow cyclic solution of cyclic tridiagonal systems sprsin convert matrix to sparse format sprsax product of sparse matrix and vector sprstx product of transpose sparse matrix and vector sprstp transpose of sparse matrix sprspm pattern multiply two sparse matrices sprstm threshold multiply two sparse matrices linbcg biconjugate gradient solution of sparse systems snrm used by linbcg for vector norm atimes used by linbcg for sparse multiplication asolve used by linbcg for preconditioner vander solve Vandermonde systems toeplz solve Toeplitz systems choldc Cholesky decomposition cholsl Cholesky backsubstitution qrdcmp QR decomposition qrsolv QR backsubstitution rsolv right triangular backsubstitution qrupdt update a QR decomposition rotate Jacobi rotation used by qrupdt polint polynomial interpolation ratint rational function interpolation spline construct a cubic spline splint cubic spline interpolation locate search an ordered table by bisection Sample page from NUMERICAL RECIPES IN C THE ART OF SCIENTIFIC COMPUTING ISBN 0-521-43108-5 xix xx Computer Programs by Chapter and Section