GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
Quad Class Referenceabstract

#include "Quad.h"

Inheritance diagram for Quad:
Collaboration diagram for Quad:

Public Member Functions

 Quad (float_integrand_fcn fcn)
 
 Quad (integrand_fcn fcn)
 
virtual ~Quad (void)=default
 
virtual double do_integrate (octave_idx_type &ier, octave_idx_type &neval, double &abserr)=0
 
virtual float do_integrate (octave_idx_type &ier, octave_idx_type &neval, float &abserr)=0
 
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 float float_integrate (void)
 
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)
 
virtual double integrate (void)
 

Protected Attributes

integrand_fcn f
 
float_integrand_fcn ff
 

Detailed Description

Definition at line 39 of file Quad.h.

Constructor & Destructor Documentation

◆ Quad() [1/2]

Quad::Quad ( integrand_fcn  fcn)
inline

Definition at line 45 of file Quad.h.

◆ Quad() [2/2]

Quad::Quad ( float_integrand_fcn  fcn)
inline

Definition at line 48 of file Quad.h.

◆ ~Quad()

virtual Quad::~Quad ( void  )
virtualdefault

Member Function Documentation

◆ do_integrate() [1/2]

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

Implemented in FloatIndefQuad, FloatDefQuad, IndefQuad, and DefQuad.

◆ do_integrate() [2/2]

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

Implemented in FloatIndefQuad, FloatDefQuad, IndefQuad, and DefQuad.

◆ float_integrate() [1/4]

virtual float Quad::float_integrate ( octave_idx_type ier)
inlinevirtual

Definition at line 74 of file Quad.h.

◆ float_integrate() [2/4]

virtual float Quad::float_integrate ( octave_idx_type ier,
octave_idx_type neval 
)
inlinevirtual

Definition at line 87 of file Quad.h.

◆ float_integrate() [3/4]

virtual float Quad::float_integrate ( octave_idx_type ier,
octave_idx_type neval,
float &  abserr 
)
inlinevirtual

Definition at line 99 of file Quad.h.

◆ float_integrate() [4/4]

virtual float Quad::float_integrate ( void  )
inlinevirtual

Definition at line 60 of file Quad.h.

Referenced by DEFMETHODX().

◆ integrate() [1/4]

virtual double Quad::integrate ( octave_idx_type ier)
inlinevirtual

Definition at line 67 of file Quad.h.

◆ integrate() [2/4]

virtual double Quad::integrate ( octave_idx_type ier,
octave_idx_type neval 
)
inlinevirtual

Definition at line 81 of file Quad.h.

◆ integrate() [3/4]

virtual double Quad::integrate ( octave_idx_type ier,
octave_idx_type neval,
double &  abserr 
)
inlinevirtual

Definition at line 93 of file Quad.h.

◆ integrate() [4/4]

virtual double Quad::integrate ( void  )
inlinevirtual

Definition at line 53 of file Quad.h.

Referenced by DEFMETHODX().

Member Data Documentation

◆ f

integrand_fcn Quad::f
protected

Definition at line 113 of file Quad.h.

Referenced by DefQuad::do_integrate(), and IndefQuad::do_integrate().

◆ ff

float_integrand_fcn Quad::ff
protected

Definition at line 114 of file Quad.h.

Referenced by FloatDefQuad::do_integrate(), and FloatIndefQuad::do_integrate().


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