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 Types | Public Member Functions | Protected Attributes | Private Attributes | List of all members
IndefQuad Class Reference

#include "Quad.h"

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

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)
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 bound
int integration_error
IntegralType type

Detailed Description

Definition at line 157 of file Quad.h.

Member Enumeration Documentation

Enumerator:
bound_to_inf 
neg_inf_to_bound 
doubly_infinite 

Definition at line 163 of file Quad.h.

Constructor & Destructor Documentation

IndefQuad::IndefQuad ( integrand_fcn  fcn)
inline

Definition at line 165 of file Quad.h.

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

Definition at line 168 of file Quad.h.

IndefQuad::~IndefQuad ( void  )
inline

Definition at line 171 of file Quad.h.

Member Function Documentation

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

Implements Quad.

Definition at line 210 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

double IndefQuad::bound
private

Definition at line 181 of file Quad.h.

Referenced by do_integrate().

integrand_fcn Quad::f
protectedinherited

Definition at line 116 of file Quad.h.

Referenced by DefQuad::do_integrate(), and 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().

int IndefQuad::integration_error
private

Definition at line 183 of file Quad.h.

bool Quad_options::reset
protectedinherited

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

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

IntegralType IndefQuad::type
private

Definition at line 182 of file Quad.h.

Referenced by do_integrate().


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