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 | List of all members
Quad Class Reference

#include "Quad.h"

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

Public Member Functions

 Quad (integrand_fcn fcn)
 Quad (float_integrand_fcn fcn)
virtual ~Quad (void)
double absolute_tolerance (void) const
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 (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

Detailed Description

Definition at line 42 of file Quad.h.

Constructor & Destructor Documentation

Quad::Quad ( integrand_fcn  fcn)
inline

Definition at line 48 of file Quad.h.

Quad::Quad ( float_integrand_fcn  fcn)
inline

Definition at line 51 of file Quad.h.

virtual Quad::~Quad ( void  )
inlinevirtual

Definition at line 54 of file Quad.h.

Member Function Documentation

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

Implemented in FloatIndefQuad, FloatDefQuad, IndefQuad, and DefQuad.

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

Implemented in FloatIndefQuad, FloatDefQuad, IndefQuad, and DefQuad.

virtual float Quad::float_integrate ( void  )
inlinevirtual

Definition at line 63 of file Quad.h.

Referenced by Fquad().

virtual float Quad::float_integrate ( octave_idx_type ier)
inlinevirtual

Definition at line 77 of file Quad.h.

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

Definition at line 90 of file Quad.h.

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

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

Definition at line 56 of file Quad.h.

Referenced by Fquad().

virtual double Quad::integrate ( octave_idx_type ier)
inlinevirtual

Definition at line 70 of file Quad.h.

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

Definition at line 84 of file Quad.h.

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

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
protected

Definition at line 116 of file Quad.h.

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

float_integrand_fcn Quad::ff
protected

Definition at line 117 of file Quad.h.

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


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