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

#include "Quad.h"

Inheritance diagram for FloatDefQuad:
Quad Quad_options

Public Member Functions

 FloatDefQuad ()=delete
 
 FloatDefQuad (float_integrand_fcn fcn)
 
 FloatDefQuad (float_integrand_fcn fcn, const FloatColumnVector &sing)
 
 FloatDefQuad (float_integrand_fcn fcn, float ll, float ul)
 
 FloatDefQuad (float_integrand_fcn fcn, float ll, float ul, const FloatColumnVector &sing)
 
OCTAVE_NORETURN double do_integrate (octave_idx_type &ier, octave_idx_type &neval, double &abserr)
 
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 192 of file Quad.h.

Constructor & Destructor Documentation

◆ FloatDefQuad() [1/5]

FloatDefQuad::FloatDefQuad ( )
delete

◆ FloatDefQuad() [2/5]

FloatDefQuad::FloatDefQuad ( float_integrand_fcn  fcn)
inline

Definition at line 200 of file Quad.h.

◆ FloatDefQuad() [3/5]

FloatDefQuad::FloatDefQuad ( float_integrand_fcn  fcn,
float  ll,
float  ul 
)
inline

Definition at line 204 of file Quad.h.

◆ FloatDefQuad() [4/5]

FloatDefQuad::FloatDefQuad ( float_integrand_fcn  fcn,
float  ll,
float  ul,
const FloatColumnVector sing 
)
inline

Definition at line 208 of file Quad.h.

◆ FloatDefQuad() [5/5]

FloatDefQuad::FloatDefQuad ( float_integrand_fcn  fcn,
const FloatColumnVector sing 
)
inline

Definition at line 213 of file Quad.h.

Member Function Documentation

◆ do_integrate() [1/2]

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

Implements Quad.

Definition at line 207 of file Quad.cc.

◆ do_integrate() [2/2]

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

Implements Quad.

Definition at line 213 of file Quad.cc.

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


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