26 #if defined (HAVE_CONFIG_H)
82 result = (*user_fcn) (
x);
90 result = (*float_user_fcn) (
x);
103 F77_INT leniw = 183*npts - 122;
114 double abs_tol = absolute_tolerance ();
115 double rel_tol = relative_tolerance ();
126 npts, points, abs_tol, rel_tol, result,
127 abserr, xneval, xier, leniw, lenw, last,
139 (*current_liboctave_error_handler) (
"incorrect integration function called");
179 double abs_tol = absolute_tolerance ();
180 double rel_tol = relative_tolerance ();
191 result, abserr, xneval, xier, leniw, lenw,
192 last, piwork, pwork));
203 (*current_liboctave_error_handler) (
"incorrect integration function called");
209 (*current_liboctave_error_handler) (
"incorrect integration function called");
220 F77_INT leniw = 183*npts - 122;
231 float abs_tol = single_precision_absolute_tolerance ();
232 float rel_tol = single_precision_relative_tolerance ();
243 npts, points, abs_tol, rel_tol, result,
244 abserr, xneval, xier, leniw, lenw, last,
256 (*current_liboctave_error_handler) (
"incorrect integration function called");
296 float abs_tol = single_precision_absolute_tolerance ();
297 float rel_tol = single_precision_relative_tolerance ();
308 result, abserr, xneval, xier, leniw, lenw,
309 last, piwork, pwork));
static F77_INT float_user_function(const float &x, int &, float &result)
F77_INT(* quad_float_fcn_ptr)(const float &, int &, float &)
F77_RET_T F77_FUNC(dqagp, DQAGP)(quad_fcn_ptr
static integrand_fcn user_fcn
static float_integrand_fcn float_user_fcn
F77_INT(* quad_fcn_ptr)(const double &, int &, double &)
F77_RET_T const F77_DBLE const F77_DBLE const F77_INT const F77_DBLE const F77_DBLE const F77_DBLE F77_DBLE F77_DBLE F77_INT F77_INT const F77_INT const F77_INT F77_INT F77_INT F77_DBLE *F77_RET_T const F77_DBLE const F77_INT const F77_DBLE const F77_DBLE F77_DBLE F77_DBLE F77_INT F77_INT const F77_INT const F77_INT F77_INT F77_INT F77_DBLE *F77_RET_T const F77_REAL const F77_REAL const F77_INT const F77_REAL const F77_REAL const F77_REAL F77_REAL F77_REAL F77_INT F77_INT const F77_INT const F77_INT F77_INT F77_INT F77_REAL *F77_RET_T const F77_REAL const F77_INT const F77_REAL const F77_REAL F77_REAL F77_REAL F77_INT F77_INT const F77_INT const F77_INT F77_INT F77_INT F77_REAL *static F77_INT user_function(const double &x, int &, double &result)
double(* integrand_fcn)(double x)
float(* float_integrand_fcn)(float x)
N Dimensional Array with copy-on-write semantics.
octave_idx_type numel(void) const
Number of elements in the array.
const T * fortran_vec(void) const
Size of the specified dimension.
ColumnVector singularities
double do_integrate(octave_idx_type &ier, octave_idx_type &neval, double &abserr)
FloatColumnVector singularities
OCTAVE_NORETURN double do_integrate(octave_idx_type &ier, octave_idx_type &neval, double &abserr)
OCTAVE_NORETURN double do_integrate(octave_idx_type &ier, octave_idx_type &neval, double &abserr)
double do_integrate(octave_idx_type &ier, octave_idx_type &neval, double &abserr)
Vector representing the dimensions (size) of an Array.
subroutine dqagi(F, BOUND, INF, EPSABS, EPSREL, RESULT, ABSERR, NEVAL, IER, LIMIT, LENW, LAST, IWORK, WORK)
subroutine dqagp(F, A, B, NPTS2, POINTS, EPSABS, EPSREL, RESULT, ABSERR, NEVAL, IER, LENIW, LENW, LAST, IWORK, WORK)
#define F77_XFCN(f, F, args)
octave_f77_int_type F77_INT
F77_RET_T(F77_CONST_CHAR_ARG_DECL, F77_CONST_CHAR_ARG_DECL, F77_CONST_CHAR_ARG_DECL, const F77_INT &, const F77_INT &, const F77_INT &, F77_INT &, F77_INT &, F77_DBLE *, const F77_INT &, F77_DBLE *, const F77_INT &, F77_DBLE *, F77_DBLE *, F77_DBLE *, const F77_INT &, F77_DBLE *, const F77_INT &, F77_DBLE *, const F77_INT &, F77_DBLE *, F77_INT *, F77_INT &F77_CHAR_ARG_LEN_DECL F77_CHAR_ARG_LEN_DECL F77_CHAR_ARG_LEN_DECL)
F77_RET_T const F77_DBLE * x
subroutine qagi(f, bound, inf, epsabs, epsrel, result, abserr, neval, ier, limit, lenw, last, iwork, work)
subroutine qagp(f, a, b, npts2, points, epsabs, epsrel, result, abserr, neval, ier, leniw, lenw, last, iwork, work)