FUNCTIONAL APPROXIMATIONS IN C/C++


Choose a source program (*.cpp) by clicking the appropriate button.

AKIMA.CPP
AKIMA.TXT
MBERNOA.CPP
MEULERA.CPP
MMTU0.CPP
MAIRYA.CPP
MAIRYZO.CPP
CHEBYSHE.CPP
CHEBYSHE.TXT
TCHEBYSH.CPP
TCHEBINT.CPP
TCHEBDER.CPP
TCHEAPP.CPP
TPOLINT.CPP
TRATINT.CPP
CONFRACT.CPP
CONFRACT.TXT
TRIGPOLY.CPP
ARCSIN.CPP
HYPER.CPP
HYPER.TXT
INVHYPER.CPP
INVHYPER.TXT
CLIPTIC.CPP
CLIPTIC.TXT
DERIVATI.CPP
NDERIV.CPP
DIFROM.CPP
TDIFROM.CPP
LTDDEV.CPP
LTDDEV.TXT
LTDDEV1.CPP
LTDDEV2.CPP
LTDDEV3.CPP
HERMITE.CPP
INTEGRA.CPP
TGAUSS.CPP
TSIMPSON.CPP
DISINTEG.CPP
DINTEG.CPP
DINTEG.TXT
TQANC8.CPP
TROMBERG.CPP
CLENCURT.CPP
SININT.CPP
TSININTEGRAL.CPP
PRIMITIV.CPP
GPRIMITIV.CPP
F_BEISP.CPP
KUBNEC.CPP
TKUBNEC.CPP
TK3NEC.CPP
KUBGAUSS.CPP
TK4GAU.CPP
TK3GAN.CPP
LAGRANGE.CPP
LAGRANGE.TXT
LAGUERRE.CPP
LEGENDRE.CPP
EVAL_LEG.CPP
NEWTON.CPP
NEWTON.TXT
TSEVAL.CPP
MNBRAK.CPP
GOLDEN.PDF
GOLDEN.CPP
BRENT.PDF
BRENT.CPP
AMOEBA.PDF
TAMOEBA.CPP
POWELL.PDF
TPOWELL.CPP
STEEPDA.CPP
STEEPDA.TXT
STEEPDS.CPP
STEEPDS.TXT
ARMATH.H
ARMATH.CPP
FONCTION.CPP
GRFUNCT.CPP
GRFUNCT1.CPP
GRFUNCT1.MAK
Program Description

  • Program to demonstrate the Akima spline fitting
  • Explanation File of Program above (Akima)
  • Program to compute Bernoulli numbers using function BERNOA
  • Program to compute Euler numbers using function EULERA
  • Calculate Mathieu Functions and their First Derivatives
  • Calculate Airy functions and their First Derivatives using Subroutine AIRYA NEW
  • Calculate the first NT zeros of Airy functions NEW
  • Collection of routines for Chebyshev polynomial approximation
  • Explanation File of Chebyshev Approximation
  • Program to demonstrate the Chebyshev polynomial approximation
  • Program to demonstrate the Chebyshev polynomial approximation (integral)
  • Program to demonstrate the Chebyshev polynomial approximation (derivative)
  • Best approximation of a discreet real function F(X) by Stiefel-Remès's polynomial method
  • Polynomial Interpolation or Extrapolation of a Discreet Function F(x) using Polynomials.
  • Polynomial Interpolation or Extrapolation of a Discreet Function F(x) using a Quotient of Polynomials.
  • Interpolate a function F(x) by continuous fractions
  • Explanation File of Program above (Confract)
  • Interpolate a function by trigonometric polynoms
  • Program to demonstrate arcsine recursion
  • Program to demonstrate Hyperbolic Functions
  • Explanation File of Program above (Hyper)
  • Program to demonstrate Inverse Hyperbolic Functions
  • Explanation File of Program above (Invhyper)
  • Program to demonstrate Evaluating elliptic integrals of first and second kinds (complete)
  • Explanation File of Program above (Cliptic)
  • Program to demonstrate Lagrange derivative interpolation
  • Estimate the Nth derivative of a real function f(x), N=1 to 5
  • Module used by program below (difrom.cpp)
  • Computes an approximation for the first derivative of a function F(x) using the ROMBERG method
  • Calculate a limited development of a real function f(x) at point xo with step h (up to order 5)
  • Explanation File of Programs Ltddev
  • Calculate a limited development of a real function f(x)*g(x) at x=0 up to order 25, knowing the limited developments of f(x) and g(x)
  • Calculate a limited development of a real function f(x)/g(x) at x=0 up to order 25, knowing the limited developments of f(x) and g(x)
  • Calculate a limited development of a real function f(x) o g(x) at x=0 up to order 25, knowing the limited developments of f(x) and g(x)
  • Program to demonstrate Hermite coefficients
  • Program to demonstrate the general integration subroutine
  • Integration of a real function F(X),F(X,Y) or F(X,Y,Z) by Gauss method
  • Program to demonstrate the Simpson integration subroutine
  • Program to demonstrate the Discreet Simpson integration
  • Integration of a discreet function by the weighting coefficients Method
  • Explanation File of Program above (Dinteg)
  • Program to integrate a user-defined function f(x) from x1 to x2 by the QANC8 subroutine with control of absolute and relative precisions
  • Program to demonstrate the Romberg integration subroutine
  • Integrate F(x) by using the summed Clenshaw-Curtis formula
  • Module to calculate sinintegral(x) or cosintegral(x)
  • Demonstration Program of Module Sinint
  • Program to demonstrate the Discreet Primitive subroutine
  • Program to demonstrate the Discreet Primitive subroutine with graph
  • Example file used by programs below
  • Module used by two programs below (kubnec.cpp)
  • Test program for cubature over rectangles using Newton-Cotes
  • Test program for cubature over triangles using 3-point Newton-Cotes and Romberg-Richardson extrapolation
  • Module used by two programs below (kubgauss.cpp)
  • Test program for cubature over rectangles using Gauss
  • Test programm for cubature over triangles via summed Gaussian n-point formula
  • Program to demonstrate Lagrange interpolation
  • Explanation File of Program above (Lagrange)
  • Program to demonstrate Laguerre coefficients
  • Program to demonstrate Legendre coefficients
  • Evaluate a Legendre Polynomial P(x) of Order n for argument x by using Horner's Rule
  • Program to demonstrate Newton interpolation
  • Explanation File of Program above (Newton)
  • Cubic spline interpolation of a discreet function F(X), given by N points X(I),Y(I)
  • Bracketing a minimum of a real function F(X)
  • Explanation file of program below(GOLDEN)
  • Seek Minimum of a real function F(X) by Golden Section Search
  • Explanation file of program below(BRENT)
  • Seek Minimum of a real function F(X) by Brent's Method
  • Explanation file of program below(TAMOEBA)
  • Multidimensional minimization of a function FUNC(X) where X is an NDIM-dimensional vector, by the downhill simplex method of Nelder and Mead
  • Explanation file of program below(TPOWELL)
  • Minimization of a Function FUNC of N Variables By Powell's Method Discarding the Direction of Largest Decrease
  • Program to demonstrate multi-dimensional Steepest Descent Optimization (Partial derivatives not required)
  • Explanation File of Program above (Steepda)
  • Program to demonstrate multi-dimensional Steepest Descent Optimization (Partial derivatives required)
  • Explanation File of Program above (Steepds)
  • Header file used by modules and programs below
  • Math module used by programs using functions
  • Module to compile and evaluate a user defined function
  • Program to evaluate a real function F(x) or F(t) defined by its equation
  • Program to draw a real function F(x) or F(t) defined by its equation
  • Grfunct1 Project File


RETURN


© J-P Moreau Last modified 03/25/2014 - E-mail: jpmoreau@wanadoo.fr