Learn R Programming

pracma (version 0.2-2)

pracma-package: Practical Numerical Math Routines

Description

This package provides R implementations of more advanced math functions from Matlab and Octave (and the Euler Math Toolbox) with a special view on optimization and time series routines.

Some of these realizations are the result of courses on Scientific Computing (``Wissenschaftliches Rechnen'') and are mostly intended to demonstrate how to implement certain algorithms in R/S.

Arguments

Details

ll{ Package: pracma Type: Package Version: 0.2-2 Date: 2011-03-18 License: GPLv3 LazyLoad: yes } Several implementations of root finding routines are provided as examples.

References

Press, Teukolsky, Vetterling, and Flannery (1992). Numerical Recipes in C - The Art of Numerical Computing. Second Edition, Cambridge University Press.

Quarteroni, A., and F. Saleri (2006). Scientific Computing with Matlab and Octave. Second Edition, Springer-Verlag, Berlin Heidelberg.

See Also

The R package `matlab' contains some of the basic routines from Matlab, but unfortunatela not any of the higher math routines.

Examples

Run this code
tail(primes(1e7))  # the last 5 prime numbers below 10,000,000 .

Run the code above in your browser using DataLab