linear_algebra
Mathematical Programming with Python
https://people.sc.fsu.edu/~jburkardt/classes/...
python_2025/linear_algebra/linear_algebra.html
linear_algebra:
working with vectors and matrices,
the np.linalg() and scipy libraries.
Lecture notes:
-
about_a_matrix.py,
things you could want to ask about a matrix,
including shape, size, determinant, inverse, transpose,
row and column sums, norm.
-
dif2.py,
the -1, 2, -1 second difference matrix for a 1D problem.
-
factors.py,
computing and using LU, QR, SVD, and eigenvalue factors of a matrix.
-
lapack_plu.py,
demonstrates np.tril() and np.triu() by decompressing a LAPACK
PLU factorization.
-
operations.py,
compute y=A*x, solve a linear system, use power method to find
dominant eigenvalue, use random multiplication to estimate
matrix norm.
-
qr_demo.py,
uses QR factors to determine the similarity of 5 vectors in 3 dimensions.
-
vectors.py,
row and column vectors, vector norms, dot product,
projection of one vector onto another.
Last revised on 06 February 2025.