Codes developed for a course on numerical Linear Algebra.
Original repo: https://www.bitbucket.org/cpraveen/nla
Mirrored at: https://www.github.com/cpraveen/nla
The codes are written in Python and as Jupyter notebooks. A short Python tutorial is available here.
Some of the notebooks need some files to run which must be downloaded from bitbucket. If you are running from terminal, you can download all files once
cd DATA
sh ./download.sh
You can get a free account at https://studiolab.sagemaker.aws and clone this git repo into your account, and then run/edit the notebooks.
Run the code in binder: . When you first click on this link, it may take a few minutes to set up the environment with all required packages. Then you can edit and run the notebooks, but you cannot save them; but you can download the notebooks to your computer.
Open the src directory: https://nbviewer.org/github/cpraveen/nla/tree/master/src
or the individual files
- Singular value decomposition
- Applications of SVD
- QR factorization
- Least squares problems
- Floating point arithmetic
- Sensitivity of polynomial roots: Wilkinson polynomial
- Stability of Householder triangularization
- Triangular systems
- Stability of least squares algorithms
- Gaussian elimination
- Stability of Gaussian elimination
- Cholesky decomposition
- Reduction to Hessenberg form
- Power and inverse iteration
The following links open individual files in colab.
- Singular value decomposition
- Applications of SVD
- QR factorization
- Least squares problems
- Floating point arithmetic
- Sensitivity of polynomial roots: Wilkinson polynomial
- Stability of Householder triangularization
- Triangular systems
- Stability of least squares algorithms
- Gaussian elimination
- Stability of Gaussian elimination
- Cholesky decomposition
- Reduction to Hessenberg form
- Power and inverse iterations
http://www.github.com/cpraveen/na
- L. N. Trefethen and D. Bau, Numerical Linear Algebra, SIAM.
- S. L. Brunton and J. N. Katz, Data Driven Science and Engineering: Machine Learning, Dynamical Systems and Control, Cambridge Univ. Press.
- James Demmel, Applied Numerical Linear Algebra, SIAM.
- E. Darve and M. Wootters, Numerical Linear Algebra with Julia, SIAM.
- G. H. Golub and C. F. Van Loan, Matrix Computations, Hindustan Book Agency.