-
pivot(row_i, row_j, A)
: Performs row pivoting on a given matrixA
by swapping rowsrow_i
androw_j
. -
scale(row_i, λ, A)
: Scales a specified rowrow_i
of a matrixA
by a scalar factorλ
. -
Tmatrix(A)
: Computes the upper triangular matrix using Gaussian elimination on matrixA
. -
matmul(A, B)
: Calculates the number of arithmetic operations required to multiply two matricesA
andB
. -
checksym(A)
: Checks if a matrixA
is symmetric and returnsTrue
if it is. -
cholesky_decomposition(A)
: Computes the Cholesky decomposition of a matrixA
. -
gaus_seidal(A, b, x0, tol, max_iterations)
: Implements the Gauss-Seidel method to solve a system of linear equations. -
jacobi(A, b, x0, tol, max_iterations)
: Implements the Jacobi method to solve a system of linear equations. -
CycTridJacobi(n, tol, max_iterations)
: Solves a tridiagonal linear system using the Jacobi iterative method. -
bisection(f, x0, x1, kmax, tol)
: Implements the bisection method to find the root of a given functionf
within an interval[x0, x1]
.
pivot
- Used for row pivoting in matrix operations.scale
- Used for scaling a row in a matrix.Tmatrix
- Used for computing the upper triangular matrix using Gaussian elimination.matmul
- Used for matrix multiplication and counting arithmetic operations.checksym
- Used for checking if a matrix is symmetric.cholesky_decomposition
- Used for computing the Cholesky decomposition of a matrix.gaus_seidal
- Used for solving a system of linear equations using the Gauss-Seidel method.jacobi
- Used for solving a system of linear equations using the Jacobi method.CycTridJacobi
- Used for solving a tridiagonal linear system using the Jacobi iterative method.bisection
- Used for finding the root of a function within an interval using the bisection method.
These are the method names used throughout code for various mathematical and computational operations.