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

#include "Quad.h"

Inheritance diagram for IndefQuad:
Collaboration diagram for IndefQuad:

Public Types

enum  IntegralType { bound_to_inf , neg_inf_to_bound , doubly_infinite }
 

Public Member Functions

 IndefQuad (integrand_fcn fcn)
 
 IndefQuad (integrand_fcn fcn, double b, IntegralType t)
 
 ~IndefQuad (void)=default
 
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)
 
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
 

Private Attributes

double bound
 
IntegralType type
 

Detailed Description

Definition at line 154 of file Quad.h.

Member Enumeration Documentation

◆ IntegralType

Enumerator
bound_to_inf 
neg_inf_to_bound 
doubly_infinite 

Definition at line 160 of file Quad.h.

Constructor & Destructor Documentation

◆ IndefQuad() [1/2]

IndefQuad::IndefQuad ( integrand_fcn  fcn)
inline

Definition at line 162 of file Quad.h.

◆ IndefQuad() [2/2]

IndefQuad::IndefQuad ( integrand_fcn  fcn,
double  b,
IntegralType  t 
)
inline

Definition at line 165 of file Quad.h.

◆ ~IndefQuad()

IndefQuad::~IndefQuad ( void  )
default

Member Function Documentation

◆ do_integrate() [1/2]

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

◆ do_integrate() [2/2]

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

Implements Quad.

Definition at line 201 of file Quad.cc.

◆ float_integrate() [1/4]

virtual float Quad::float_integrate ( octave_idx_type ier)
inlinevirtualinherited

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 
)
inlinevirtualinherited

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 
)
inlinevirtualinherited

Definition at line 99 of file Quad.h.

◆ float_integrate() [4/4]

virtual float Quad::float_integrate ( void  )
inlinevirtualinherited

Definition at line 60 of file Quad.h.

Referenced by DEFMETHODX().

◆ integrate() [1/4]

virtual double Quad::integrate ( octave_idx_type ier)
inlinevirtualinherited

Definition at line 67 of file Quad.h.

◆ integrate() [2/4]

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

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 
)
inlinevirtualinherited

Definition at line 93 of file Quad.h.

◆ integrate() [4/4]

virtual double Quad::integrate ( void  )
inlinevirtualinherited

Definition at line 53 of file Quad.h.

Referenced by DEFMETHODX().

Member Data Documentation

◆ bound

double IndefQuad::bound
private

Definition at line 178 of file Quad.h.

Referenced by do_integrate().

◆ f

integrand_fcn Quad::f
protectedinherited

Definition at line 113 of file Quad.h.

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

◆ ff

float_integrand_fcn Quad::ff
protectedinherited

Definition at line 114 of file Quad.h.

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

◆ type

IntegralType IndefQuad::type
private

Definition at line 179 of file Quad.h.

Referenced by do_integrate().


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