GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
DefQuad Class Reference

#include "Quad.h"

Inheritance diagram for DefQuad:
Quad Quad_options

Public Member Functions

 DefQuad ()=delete
 
 DefQuad (integrand_fcn fcn)
 
 DefQuad (integrand_fcn fcn, const ColumnVector &sing)
 
 DefQuad (integrand_fcn fcn, double ll, double ul)
 
 DefQuad (integrand_fcn fcn, double ll, double ul, const ColumnVector &sing)
 
double do_integrate (octave_idx_type &ier, octave_idx_type &neval, double &abserr)
 
OCTAVE_NORETURN float do_integrate (octave_idx_type &ier, octave_idx_type &neval, float &abserr)
 
- Public Member Functions inherited from Quad
 Quad ()=delete
 
 Quad (float_integrand_fcn fcn)
 
 Quad (integrand_fcn fcn)
 
virtual ~Quad ()=default
 
virtual float float_integrate ()
 
virtual float float_integrate (octave_idx_type &ier)
 
virtual float float_integrate (octave_idx_type &ier, octave_idx_type &neval)
 
virtual float float_integrate (octave_idx_type &ier, octave_idx_type &neval, float &abserr)
 
virtual double integrate ()
 
virtual double integrate (octave_idx_type &ier)
 
virtual double integrate (octave_idx_type &ier, octave_idx_type &neval)
 
virtual double integrate (octave_idx_type &ier, octave_idx_type &neval, double &abserr)
 
- Public Member Functions inherited from Quad_options
 Quad_options ()
 
 Quad_options (const Quad_options &opt)
 
 ~Quad_options ()
 
double absolute_tolerance () const
 
void init ()
 
Quad_optionsoperator= (const Quad_options &opt)
 
double relative_tolerance () const
 
void set_absolute_tolerance (double val)
 
void set_default_options ()
 
void set_options (const Quad_options &opt)
 
void set_relative_tolerance (double val)
 
void set_single_precision_absolute_tolerance (float val)
 
void set_single_precision_relative_tolerance (float val)
 
float single_precision_absolute_tolerance () const
 
float single_precision_relative_tolerance () const
 

Additional Inherited Members

- Protected Attributes inherited from Quad
integrand_fcn m_f
 
float_integrand_fcn m_ff
 
- Protected Attributes inherited from Quad_options
bool m_reset
 

Detailed Description

Definition at line 121 of file Quad.h.

Constructor & Destructor Documentation

◆ DefQuad() [1/5]

DefQuad::DefQuad ( )
delete

◆ DefQuad() [2/5]

DefQuad::DefQuad ( integrand_fcn  fcn)
inline

Definition at line 129 of file Quad.h.

◆ DefQuad() [3/5]

DefQuad::DefQuad ( integrand_fcn  fcn,
double  ll,
double  ul 
)
inline

Definition at line 133 of file Quad.h.

◆ DefQuad() [4/5]

DefQuad::DefQuad ( integrand_fcn  fcn,
double  ll,
double  ul,
const ColumnVector sing 
)
inline

Definition at line 137 of file Quad.h.

◆ DefQuad() [5/5]

DefQuad::DefQuad ( integrand_fcn  fcn,
const ColumnVector sing 
)
inline

Definition at line 142 of file Quad.h.

Member Function Documentation

◆ do_integrate() [1/2]

double DefQuad::do_integrate ( octave_idx_type ier,
octave_idx_type neval,
double &  abserr 
)
virtual

Implements Quad.

Definition at line 96 of file Quad.cc.

References Array< T, Alloc >::fortran_vec(), and Array< T, Alloc >::numel().

◆ do_integrate() [2/2]

float DefQuad::do_integrate ( octave_idx_type ier,
octave_idx_type neval,
float &  abserr 
)
virtual

Implements Quad.

Definition at line 137 of file Quad.cc.


The documentation for this class was generated from the following files: