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

#include "Quad.h"

Inheritance diagram for FloatIndefQuad:
Collaboration diagram for FloatIndefQuad:

Public Types

enum  IntegralType { bound_to_inf , neg_inf_to_bound , doubly_infinite }
 

Public Member Functions

 FloatIndefQuad (float_integrand_fcn fcn)
 
 FloatIndefQuad (float_integrand_fcn fcn, double b, IntegralType t)
 
 ~FloatIndefQuad (void)=default
 
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)
 
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 m_f
 
float_integrand_fcn m_ff
 

Private Attributes

float m_bound
 
IntegralType m_type
 

Detailed Description

Definition at line 223 of file Quad.h.

Member Enumeration Documentation

◆ IntegralType

Enumerator
bound_to_inf 
neg_inf_to_bound 
doubly_infinite 

Definition at line 229 of file Quad.h.

Constructor & Destructor Documentation

◆ FloatIndefQuad() [1/2]

FloatIndefQuad::FloatIndefQuad ( float_integrand_fcn  fcn)
inline

Definition at line 231 of file Quad.h.

◆ FloatIndefQuad() [2/2]

FloatIndefQuad::FloatIndefQuad ( float_integrand_fcn  fcn,
double  b,
IntegralType  t 
)
inline

Definition at line 234 of file Quad.h.

◆ ~FloatIndefQuad()

FloatIndefQuad::~FloatIndefQuad ( void  )
default

Member Function Documentation

◆ do_integrate() [1/2]

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

Implements Quad.

Definition at line 254 of file Quad.cc.

◆ do_integrate() [2/2]

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

◆ 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

◆ m_bound

float FloatIndefQuad::m_bound
private

Definition at line 247 of file Quad.h.

Referenced by do_integrate().

◆ m_f

integrand_fcn Quad::m_f
protectedinherited

Definition at line 113 of file Quad.h.

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

◆ m_ff

float_integrand_fcn Quad::m_ff
protectedinherited

Definition at line 114 of file Quad.h.

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

◆ m_type

IntegralType FloatIndefQuad::m_type
private

Definition at line 248 of file Quad.h.

Referenced by do_integrate().


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