Computational Methods for Numerical Analysis with R
Book details, ISBNs, DOI, chapter structure, purchase links, and the role of CMNA as a computational treatment of numerical analysis.
Search
Search methods, R functions, laboratories, teaching material, and the Numerical Zoo. This is deliberately a site index, not a general numerical analysis search engine.
Book details, ISBNs, DOI, chapter structure, purchase links, and the role of CMNA as a computational treatment of numerical analysis.
Interactive numerical-analysis laboratories powered by real R in the browser, with playback, source inspection, export, sharing, and Workbench handoff.
The cmna R package, companion source code, package DOI, GitHub repository, and Emacs support.
Course maps, chapter guidance, laboratory notes, Break It assignments, adoption material, and prediction worksheets.
A complete semester course map pairing chapters, classroom demonstrations, laboratories, and assignment seeds.
Learning objectives, representative functions, laboratory crosswalks, and misconceptions worth provoking across all seven chapters.
Prediction questions, public parameter changes, and follow-up prompts for the CMNA browser laboratories.
Failure-driven numerical-analysis exercises built around cancellation, instability, bad starting values, conditioning, and convergence assumptions.
Prerequisites, course roles, software expectations, sample syllabus language, and assessment guidance.
Book, package, and website citations with downloadable BibTeX and RIS files.
Corrections, software changes, teaching additions, and continuing project updates around the 2017 book.
An unrestricted browser-side R session using webR with CMNA functions loaded.
A guided decision tree for moving from a computational problem to suitable CMNA methods.
Error and elementary computation. CMNA functions: naivepoly.
Error and elementary computation. CMNA functions: betterpoly.
Error and elementary computation. CMNA functions: horner, rhorner.
Error and elementary computation. CMNA functions: naivesum.
Error and elementary computation. CMNA functions: kahansum.
Error and elementary computation. CMNA functions: naivediv.
Error and elementary computation. CMNA functions: longdiv.
Error and elementary computation. CMNA functions: isPrime.
Error and elementary computation. CMNA functions: nthroot.
Error and elementary computation. CMNA functions: quadratic, quadratic2.
Error and elementary computation. CMNA functions: fibonacci.
Error and elementary computation. CMNA functions: wilkinson.
Error and elementary computation. CMNA functions: himmelblau.
Linear algebra. CMNA functions: replacerow.
Linear algebra. CMNA functions: scalerow.
Linear algebra. CMNA functions: swaprows.
Linear algebra. CMNA functions: vecnorm.
Linear algebra. CMNA functions: detmatrix.
Linear algebra. CMNA functions: invmatrix.
Linear algebra. CMNA functions: refmatrix.
Linear algebra. CMNA functions: rrefmatrix.
Linear algebra. CMNA functions: solvematrix.
Linear algebra. CMNA functions: choleskymatrix.
Linear algebra. CMNA functions: lumatrix.
Linear algebra. CMNA functions: cgmmatrix.
Linear algebra. CMNA functions: gaussseidel.
Linear algebra. CMNA functions: jacobi.
Linear algebra. CMNA functions: tridiagmatrix.
Interpolation and extrapolation. CMNA functions: linterp.
Interpolation and extrapolation. CMNA functions: polyinterp.
Interpolation and extrapolation. CMNA functions: pwiselinterp.
Interpolation and extrapolation. CMNA functions: cubicspline.
Interpolation and extrapolation. CMNA functions: qbezier.
Interpolation and extrapolation. CMNA functions: cbezier.
Interpolation and extrapolation. CMNA functions: bilinear.
Interpolation and extrapolation. CMNA functions: nn.
Interpolation and extrapolation. CMNA functions: resizeImageNN.
Interpolation and extrapolation. CMNA functions: resizeImageBL.
Differentiation. CMNA functions: findiff.
Differentiation. CMNA functions: symdiff.
Differentiation. CMNA functions: rdiff.
Differentiation. CMNA functions: findiff2.
Numerical integration. CMNA functions: midpt.
Numerical integration. CMNA functions: trap.
Numerical integration. CMNA functions: simp.
Numerical integration. CMNA functions: simp38.
Numerical integration. CMNA functions: gaussint.
Numerical integration. CMNA functions: gauss.hermite.
Numerical integration. CMNA functions: gauss.laguerre.
Numerical integration. CMNA functions: gauss.legendre.
Numerical integration. CMNA functions: adaptint.
Numerical integration. CMNA functions: romberg.
Numerical integration. CMNA functions: mcint.
Numerical integration. CMNA functions: mcint2.
Numerical integration. CMNA functions: shellmethod.
Numerical integration. CMNA functions: discmethod.
Numerical integration. CMNA functions: giniquintile.
Root finding. CMNA functions: bisection.
Root finding. CMNA functions: newton.
Root finding. CMNA functions: secant.
Optimization. CMNA functions: goldsectmax.
Optimization. CMNA functions: goldsectmin.
Optimization. CMNA functions: gd, gdls, graddsc.
Optimization. CMNA functions: gradasc.
Optimization. CMNA functions: hillclimbing.
Optimization. CMNA functions: sa.
Optimization. CMNA functions: tspsa.
Differential equations. CMNA functions: euler.
Differential equations. CMNA functions: midptivp.
Differential equations. CMNA functions: rungekutta4.
Differential equations. CMNA functions: adamsbashforth.
Differential equations. CMNA functions: eulersys.
Differential equations. CMNA functions: heat.
Differential equations. CMNA functions: wave.
Differential equations. CMNA functions: bvpexample, bvpexample10.
Twenty perfectly ordinary integer roots and a frankly unreasonable sensitivity to small perturbations.
Every entry looks harmless. The linear system does not.
A smooth function that teaches high-degree polynomial interpolation some humility.
The algebra is correct. One subtraction is still a terrible idea.
Four minima, one landscape, and several ways for a starting point to make the decision for us.
A lot can happen between two perfectly reasonable sample points.
A smooth integrand can still hide most of its area in a very small neighborhood.
The differential equation decays peacefully. A bad step size does not have to.