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
FloatIndefQuad Class Reference

#include "Quad.h"

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

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

float bound
int integration_error
IntegralType type

Detailed Description

Definition at line 223 of file Quad.h.

Member Enumeration Documentation

Enumerator:
bound_to_inf 
neg_inf_to_bound 
doubly_infinite 

Definition at line 229 of file Quad.h.

Constructor & Destructor Documentation

FloatIndefQuad::FloatIndefQuad ( float_integrand_fcn  fcn)
inline

Definition at line 231 of file Quad.h.

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

Definition at line 234 of file Quad.h.

FloatIndefQuad::~FloatIndefQuad ( void  )
inline

Definition at line 237 of file Quad.h.

Member Function Documentation

double Quad_options::absolute_tolerance ( void  ) const
inlineinherited
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.

float FloatIndefQuad::do_integrate ( octave_idx_type ier,
octave_idx_type neval,
float abserr 
)
virtual
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

float FloatIndefQuad::bound
private

Definition at line 247 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 IndefQuad::do_integrate().

float_integrand_fcn Quad::ff
protectedinherited

Definition at line 117 of file Quad.h.

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

int FloatIndefQuad::integration_error
private

Definition at line 249 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 FloatIndefQuad::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: