#include <cmath>
#include <algorithm>
#include "lo-ieee.h"
#include "oct-locbuf.h"
#include "defun.h"
#include "error.h"
#include "ovl.h"
#include "parse.h"
#include "utils.h"
#include "variables.h"
Go to the source code of this file.
Classes | |
struct | cquad_ival |
Macros | |
#define | DEBUG_QUADCC 0 |
Functions | |
static void | downdate (double *c, int n, int d, int *nans, int nnans) |
OCTAVE_EXPORT octave_value_list | Fquadcc (const octave_value_list &args, int) ar |
nd example oindent which uses the element by element dot form for all operators and the second element is the desired relative tolerance To choose a relative test set the absolute tolerance to zero To choose an absolute test set the relative tolerance to zero The default absolute tolerance | is (1e-5 for single) |
nd example oindent which uses the element by element dot form for all operators and the second element is the desired relative tolerance To choose a relative test set the absolute tolerance to zero To choose an absolute test set the relative tolerance to zero The default absolute tolerance and the default relative tolerance | is (1e-4 for single). The optional argument ar |
static void | Vinvfx (const double *fx, double *c, const int d) |
Variables | |
contains a list of points where the integrand has known or discontinuities in any of its inside the integration interval For the example | above |
ar {nr_points}] =} quadcc (ots{}) Numerically evaluate the integral of ar{f} from ar{a} to ar{b} using doubly-adaptive ospell{Clenshaw-Curtis} quadrature. ar{f} is a function handle, inline function, or string containing the name of the function to evaluate. The function ar{f} must be vectorized and must return a vector of output values if given a vector of input values. For example, xample f = @(x) x .* sin (1./x) .* sqrt (abs (1 - x)) | |
static const double | bee [68] |
contains a list of points where the integrand has known or discontinuities in any of its | derivatives |
static const double | DROP_RELTOL = std::numeric_limits<double>::epsilon () * 10 |
nd example The result of the integration is returned in the value of it is recommended to verify this value for difficult integrands and then a warning is issued and as may be less efficient for a smooth or otherwise well behaved integrand than other methods such as | Issue |
nd example The result of the integration is returned in the value of it is recommended to verify this value for difficult integrands and then a warning is issued and as may be less efficient for a smooth or otherwise well behaved integrand than other methods such as | ite {Increasing the Reliability of Adaptive Quadrature Using Explicit Interpolants} |
static const double | Lalpha [33] |
static const double | Lgamma [33] |
static const int | MIN_CQUAD_HEAPSIZE = 200 |
nd example The result of the integration is returned in the value of it is recommended to verify this value for difficult integrands and then a warning is issued and as may be less efficient for a smooth or otherwise well behaved integrand than other methods such as Article | No |
contains a list of points where the integrand has known or discontinuities in any of its inside the integration interval For the example which has a discontinuity at the call to | ode {quadcc} would be as follows xample int = quadcc (f, a, b, [], [ 1 ]) |
nd example oindent which uses the element by element dot form for all operators and the second element is the desired relative tolerance To choose a relative test | only |
nd example The result of the integration is returned in the value of it is recommended to verify this value for difficult integrands and then a warning is issued and as may be less efficient for a smooth or otherwise well behaved integrand than other methods such as | ospell {ACM} Transactions on Mathematical Software |
contains a list of points where the integrand has known | singularities |
nd example The result of the integration is returned in the value of it is recommended to verify this value for difficult integrands and then a warning is issued and as | such |
static const double | Tleft [33 *33] |
static const double | Tright [33 *33] |
static const double | V1inv [5 *5] |
static const double | V2inv [9 *9] |
static const double | V3inv [17 *17] |
static const double | V4inv [33 *33] |
nd example The result of the integration is returned in the value of it is recommended to verify this value for difficult integrands and then a warning is issued and as may be less efficient for a smooth or otherwise well behaved integrand than other methods such as | Vol |
contains a list of points where the integrand has known or discontinuities in any of its inside the integration interval For the example which has a discontinuity at | x =1 |
static const double | xi [33] |
|
static |
OCTAVE_EXPORT octave_value_list Fquadcc | ( | const octave_value_list & | args, |
int | |||
) |
nd example oindent which uses the element by element dot form for all operators and the second element is the desired relative tolerance To choose a relative test set the absolute tolerance to zero To choose an absolute test set the relative tolerance to zero The default absolute tolerance is | ( | 1e-5 for | single | ) |
nd example oindent which uses the element by element dot form for all operators and the second element is the desired relative tolerance To choose a relative test set the absolute tolerance to zero To choose an absolute test set the relative tolerance to zero The default absolute tolerance and the default relative tolerance is | ( | 1e-4 for | single | ) |
contains a list of points where the integrand has known or discontinuities in any of its inside the integration interval For the example above |
Definition at line 1567 of file quadcc.cc.
Referenced by TerminalView::extendSelection().
nd example The result of the integration is returned in the value of ar {nr_points}] =} quadcc (ots{}) Numerically evaluate the integral of ar{f} from ar{a} to ar{b} using doubly-adaptive ospell{Clenshaw-Curtis} quadrature. ar{f} is a function handle, inline function, or string containing the name of the function to evaluate. The function ar{f} must be vectorized and must return a vector of output values if given a vector of input values. For example, xample f = @(x) x .* sin (1./x) .* sqrt (abs (1 - x)) |
|
static |
Definition at line 79 of file quadcc.cc.
Referenced by downdate().
nd example The result of the integration is returned in the value of it is recommended to verify this value for difficult integrands and then a warning is issued and as may be less efficient for a smooth or otherwise well behaved integrand than other methods such as ite {Increasing the Reliability of Adaptive Quadrature Using Explicit Interpolants} |
|
static |
Definition at line 106 of file quadcc.cc.
Referenced by downdate().
|
static |
Definition at line 121 of file quadcc.cc.
Referenced by downdate().
nd example The result of the integration is returned in the value of it is recommended to verify this value for difficult integrands and then a warning is issued and as may be less efficient for a smooth or otherwise well behaved integrand than other methods such as Article No |
Definition at line 1567 of file quadcc.cc.
Referenced by octave::file_editor_tab::check_valid_codec(), octave::file_editor_tab::check_valid_identifier(), octave::files_dock_widget::contextmenu_delete(), octave::external_editor_interface::external_editor(), octave::file_editor_tab::file_has_changed(), and octave::shortcut_manager::shortcut_dialog_finished().
nd example The result of the integration is returned in the value of it is recommended to verify this value for difficult integrands and then a warning is issued and as may be less efficient for a smooth or otherwise well behaved integrand than other methods such as ode {quadcc} would be as follows xample int = quadcc (f, a, b, [], [ 1 ]) |
nd example The result of the integration is returned in the value of it is recommended to verify this value for difficult integrands and then a warning is issued and as may be less efficient for a smooth or otherwise well behaved integrand than other methods such as ospell {ACM} Transactions on Mathematical Software |
|
static |
Definition at line 136 of file quadcc.cc.
Referenced by Vinvfx().
|
static |
Definition at line 62 of file quadcc.cc.
Referenced by downdate(), and F__dsearchn__().