Main

 
RF21 - Libraries
RF21  Libraries


Library files contain the program's user defined functions. They are created, edited, tested and used during sessions. 25 libraries are part of the distribution package, containing 800 functions and applications. Some 200 standard functions are listed  here . The full set covers such different topics as
 
calculus, combinatorics, stochastics, different kinds of random numbers, number theory and diophantic problems, complex numbers, coordinate based geometry, lines, planes and simplices,  polynomial roots, eigenvalues, unit conversions, constants from physics and astronomy, geodesic travel routes on Earth, Keplerian orbits, celestial mechanics.

Keep checking this page:  It will collect additional specialized libraries, written by myself or submitted by users

 
1. Advanced numeric Integration Library

This library provides functions and operators to facilitate one- and multidimensional numeric integration. It features

  1. Integration of a 2-argument, single valued function over 2-dimensional domains:
    • rectangular domains [a;b]x[c;d]
    • triangular domains bounded by three given points
    • circular domains  (given  r  and the center point)
  2. Integration of a 3-argument  function over a spherical domain (given  r  and the center point of that sphere)
  3. Integration of a 3-argument function over a rectangular prism [a;b]x[c;d]x[e;f]
  4. Integration of the flow of a 3,3-vector field through a given sphere
  5. One dimensional integration with infinity limits
  6. Operators and helper functions permitting precise calculation of integrals even where Romberg's method fails without such assistance:  like functions  having a pole (such as ln(x) and 1/sqr(x)) or other type of singularity (such as sqr(1-x2)) at the integration limits.
All of the above features rely on RF21's built-in Romberg procedure. Multidimensional integration is done by operators performing nested calls to one-dimensional numeric integration. They all have a parameter p to let you chose the desired precision. For each, there is an alternate (and more stable) implementation provided using the Monte Carlo technique. It serves as a low precision control for the Romberg results, and can be used in cases too tough for Romberg integration.
   The package contains two documentation text files. They introduce to the library and have usage examples for each operator.

Download integral.zip
(28659 bytes)
Unzip after download
Read: integral.wri

Did you write libraries covering any field of mathematics, science or engineering?  Are they bug-free and well-commented?  If so, send them to me, and they will be posted on this page.  Please include your name, e-mail address, copyright and any written documentation.