R: Functions Used in the Book "Computational Physics with R"

# Functions Used in the Book "Computational Physics with R"

## Documentation for package ‘comphy’ version 1.0.5

- DESCRIPTION file
- Package NEWS
- Package README

## Help Pages

backdif | Backward differences
BVPlinshoot2 | Linear shooting method for second-order linear BVPs
BVPshoot2 | Solves a second-order BVP using the shooting method
condet | Determinant of a square matrix
decidepoly_n | Degree of best-interpolating polynomial
deriv_irr | First derivative for an irregular grid
deriv_reg | First derivative on a regular grid
divdif | Divided differences
EPSturmLiouville2 | Sturm–Liouville eigenproblem with homogeneous Dirichlet boundary conditions
EulerODE | Euler method for systems of ODEs
forwdif | Forward differences
gauss_elim | Gaussian Elimination
Gquad | Numerical integration using n-point Gaussian quadrature.
GSeidel | The Gauss-Seidel algorithm
HeunODE | Heun method for systems of ODEs
illcond_sample | Ill-conditioned sampling
linpol | 1D linear interpolation
LUdeco | LU decomposition
nevaitpol | Neville-Aitken algorithm for polynomial interpolation
numint_reg | Numerical integration using the trapezoid or simpson's rule
oddity | Parity of a permutation
PJacobi | The Jacobi method
polydivdif | Approximating polynomial for divided differences
polysolveLS | Polynomial Least Squares
RK4ODE | Runge-Kutta 4th order method for systems of ODEs
roots_bisec | Bisection method for roots
roots_newton | Newton method for roots
roots_secant | Secant method for roots
solveLS | Multilinear Least Squares
solve_tridiag | Tridiagonal linear system
transform_upper | Transform to upper triangular
which_poly | Find optimal polynomial model