Linear Methods for Image Interpolation
|
Adaptive Lobatto quadrature. More...
Go to the source code of this file.
Functions | |
float | AdaptLob (float(*f)(float, const void *), float a, float b, float Tol, const void *Param) |
Adaptive Lobatto quadrature. More... | |
Adaptive Lobatto quadrature.
Copyright (c) 2010-2011, Pascal Getreuer All rights reserved.
This program is free software: you can use, modify and/or redistribute it under the terms of the simplified BSD License. You should have received a copy of this license along this program. If not, see http://www.opensource.org/licenses/bsd-license.html.
Definition in file adaptlob.h.
float AdaptLob | ( | float(*)(float, const void *) | f, |
float | a, | ||
float | b, | ||
float | Tol, | ||
const void * | Param | ||
) |
Adaptive Lobatto quadrature.
f | integrand |
a,b | integration interval |
Tol | absolute error tolerance |
Param | parameter to pass to f |
Based on W. Gander and W. Gautschi, "Adaptive Quadrature Revisited", 1998, the algorithm used by MATLAB's quadl function.
Definition at line 43 of file adaptlob.c.