49 const double&,
const double&,
double&,
50 double&, octave_idx_type&, octave_idx_type&,
51 const octave_idx_type&,
const octave_idx_type&,
52 octave_idx_type&, octave_idx_type*,
double*);
56 const octave_idx_type&,
const double&,
57 const double&,
double&,
double&,
58 octave_idx_type&, octave_idx_type&,
59 const octave_idx_type&,
const octave_idx_type&,
60 octave_idx_type&, octave_idx_type*,
double*);
64 const octave_idx_type&,
const float*,
const float&,
65 const float&,
float&,
float&, octave_idx_type&,
66 octave_idx_type&,
const octave_idx_type&,
67 const octave_idx_type&, octave_idx_type&,
68 octave_idx_type*,
float*);
72 const octave_idx_type&,
const float&,
73 const float&,
float&,
float&, octave_idx_type&,
74 octave_idx_type&,
const octave_idx_type&,
75 const octave_idx_type&, octave_idx_type&,
76 octave_idx_type*,
float*);
82 BEGIN_INTERRUPT_WITH_EXCEPTIONS;
84 #if defined (__sparc) && defined (__GNUC__)
85 double xx = access_double (x);
90 quad_integration_error = 0;
92 double xresult = (*user_fcn) (xx);
94 #if defined (__sparc) && defined (__GNUC__)
95 assign_double (result, xresult);
100 if (quad_integration_error)
103 END_INTERRUPT_WITH_EXCEPTIONS;
111 BEGIN_INTERRUPT_WITH_EXCEPTIONS;
113 quad_integration_error = 0;
115 *result = (*float_user_fcn) (*x);
117 if (quad_integration_error)
120 END_INTERRUPT_WITH_EXCEPTIONS;
148 npts, points, abs_tol, rel_tol, result,
149 abserr, neval, ier, leniw, lenw, last,
158 (*current_liboctave_error_handler) (
"incorrect integration function called");
203 result, abserr, neval, ier, leniw, lenw,
204 last, piwork, pwork));
212 (*current_liboctave_error_handler) (
"incorrect integration function called");
219 (*current_liboctave_error_handler) (
"incorrect integration function called");
246 npts, points, abs_tol, rel_tol, result,
247 abserr, neval, ier, leniw, lenw, last,
256 (*current_liboctave_error_handler) (
"incorrect integration function called");
301 result, abserr, neval, ier, leniw, lenw,
302 last, piwork, pwork));
float(* float_integrand_fcn)(float x)
static float_integrand_fcn float_user_fcn
double(* integrand_fcn)(double x)
ColumnVector singularities
float single_precision_absolute_tolerance(void) const
subroutine dqagp(F, A, B, NPTS2, POINTS, EPSABS, EPSREL, RESULT, ABSERR, NEVAL, IER, LENIW, LENW, LAST, IWORK, WORK)
subroutine qagi(f, bound, inf, epsabs, epsrel, result, abserr, neval, ier, limit, lenw, last, iwork, work)
F77_RET_T const double const double double const octave_idx_type octave_idx_type * ierr
double do_integrate(octave_idx_type &ier, octave_idx_type &neval, double &abserr)
#define F77_XFCN(f, F, args)
double do_integrate(octave_idx_type &ier, octave_idx_type &neval, double &abserr)
FloatColumnVector singularities
subroutine qagp(f, a, b, npts2, points, epsabs, epsrel, result, abserr, neval, ier, leniw, lenw, last, iwork, work)
double do_integrate(octave_idx_type &ier, octave_idx_type &neval, double &abserr)
octave_idx_type(* quad_float_fcn_ptr)(float *, int &, float *)
F77_RET_T F77_FUNC(dqagp, DQAGP)(quad_fcn_ptr
F77_RET_T const double const double const octave_idx_type const double const double const double double double octave_idx_type octave_idx_type const octave_idx_type const octave_idx_type octave_idx_type octave_idx_type double *F77_RET_T const double const octave_idx_type const double const double double double octave_idx_type octave_idx_type const octave_idx_type const octave_idx_type octave_idx_type octave_idx_type double *F77_RET_T const float const float const octave_idx_type const float const float const float float float octave_idx_type octave_idx_type const octave_idx_type const octave_idx_type octave_idx_type octave_idx_type float *F77_RET_T const float const octave_idx_type const float const float float float octave_idx_type octave_idx_type const octave_idx_type const octave_idx_type octave_idx_type octave_idx_type float *static octave_idx_type user_function(double *x, int &ierr, double *result)
static octave_idx_type float_user_function(float *x, int &ierr, float *result)
float single_precision_relative_tolerance(void) const
octave_idx_type capacity(void) const
Number of elements in the array.
double relative_tolerance(void) const
octave_idx_type(* quad_fcn_ptr)(double *, int &, double *)
static integrand_fcn user_fcn
double absolute_tolerance(void) const
const T * fortran_vec(void) const
double do_integrate(octave_idx_type &ier, octave_idx_type &neval, double &abserr)
int quad_integration_error
F77_RET_T const double * x
subroutine dqagi(F, BOUND, INF, EPSABS, EPSREL, RESULT, ABSERR, NEVAL, IER, LIMIT, LENW, LAST, IWORK, WORK)