GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Protected Attributes | Private Attributes | List of all members
DefQuad Class Reference

#include "Quad.h"

Inheritance diagram for DefQuad:
Inheritance graph
[legend]
Collaboration diagram for DefQuad:
Collaboration graph
[legend]

Public Member Functions

 DefQuad (integrand_fcn fcn)
 DefQuad (integrand_fcn fcn, double ll, double ul)
 DefQuad (integrand_fcn fcn, double ll, double ul, const ColumnVector &sing)
 DefQuad (integrand_fcn fcn, const ColumnVector &sing)
 ~DefQuad (void)
double absolute_tolerance (void) const
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 (void)
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)
void init (void)
virtual double 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)
double relative_tolerance (void) const
void set_absolute_tolerance (double val)
void set_default_options (void)
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 (void) const
float single_precision_relative_tolerance (void) const

Protected Attributes

integrand_fcn f
float_integrand_fcn ff
bool reset

Private Attributes

double lower_limit
ColumnVector singularities
double upper_limit

Detailed Description

Definition at line 120 of file Quad.h.

Constructor & Destructor Documentation

DefQuad::DefQuad ( integrand_fcn  fcn)
inline

Definition at line 126 of file Quad.h.

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

Definition at line 129 of file Quad.h.

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

Definition at line 132 of file Quad.h.

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

Definition at line 137 of file Quad.h.

DefQuad::~DefQuad ( void  )
inline

Definition at line 141 of file Quad.h.

Member Function Documentation

double Quad_options::absolute_tolerance ( void  ) const
inlineinherited
double DefQuad::do_integrate ( octave_idx_type ier,
octave_idx_type neval,
double abserr 
)
virtual
float DefQuad::do_integrate ( octave_idx_type ier,
octave_idx_type neval,
float abserr 
)
virtual

Implements Quad.

Definition at line 156 of file Quad.cc.

virtual float Quad::float_integrate ( void  )
inlinevirtualinherited

Definition at line 63 of file Quad.h.

Referenced by Fquad().

virtual float Quad::float_integrate ( octave_idx_type ier)
inlinevirtualinherited

Definition at line 77 of file Quad.h.

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

Definition at line 90 of file Quad.h.

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

Definition at line 102 of file Quad.h.

void Quad_options::init ( void  )
inlineinherited

Definition at line 51 of file Quad-opts.h.

virtual double Quad::integrate ( void  )
inlinevirtualinherited

Definition at line 56 of file Quad.h.

Referenced by Fquad().

virtual double Quad::integrate ( octave_idx_type ier)
inlinevirtualinherited

Definition at line 70 of file Quad.h.

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

Definition at line 84 of file Quad.h.

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

Definition at line 96 of file Quad.h.

double Quad_options::relative_tolerance ( void  ) const
inlineinherited
void Quad_options::set_absolute_tolerance ( double  val)
inlineinherited

Definition at line 71 of file Quad-opts.h.

Referenced by Fquad(), and set_Quad_options().

void Quad_options::set_default_options ( void  )
inlineinherited

Definition at line 69 of file Quad-opts.h.

void Quad_options::set_options ( const Quad_options opt)
inlineinherited
void Quad_options::set_relative_tolerance ( double  val)
inlineinherited

Definition at line 74 of file Quad-opts.h.

Referenced by Fquad(), and set_Quad_options().

void Quad_options::set_single_precision_absolute_tolerance ( float  val)
inlineinherited

Definition at line 77 of file Quad-opts.h.

Referenced by Fquad(), and set_Quad_options().

void Quad_options::set_single_precision_relative_tolerance ( float  val)
inlineinherited

Definition at line 80 of file Quad-opts.h.

Referenced by Fquad(), and set_Quad_options().

float Quad_options::single_precision_absolute_tolerance ( void  ) const
inlineinherited
float Quad_options::single_precision_relative_tolerance ( void  ) const
inlineinherited

Member Data Documentation

integrand_fcn Quad::f
protectedinherited

Definition at line 116 of file Quad.h.

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

float_integrand_fcn Quad::ff
protectedinherited

Definition at line 117 of file Quad.h.

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

double DefQuad::lower_limit
private

Definition at line 151 of file Quad.h.

Referenced by do_integrate().

bool Quad_options::reset
protectedinherited

Definition at line 103 of file Quad-opts.h.

Referenced by Quad_options::operator=(), and Quad_options::set_options().

ColumnVector DefQuad::singularities
private

Definition at line 154 of file Quad.h.

Referenced by do_integrate().

double DefQuad::upper_limit
private

Definition at line 152 of file Quad.h.

Referenced by do_integrate().


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