QMCPACK
GKIntegration< F, GKRule >::IntervalResult Class Reference
+ Collaboration diagram for GKIntegration< F, GKRule >::IntervalResult:

Public Member Functions

 IntervalResult (const double a_, const double b_, const double delta_)
 
double ErrorL () const
 

Public Attributes

double a
 
double b
 
double result
 
double err
 
double delta
 

Friends

std::ostream & operator<< (std::ostream &os, const IntervalResult &ir)
 

Detailed Description

template<class F, class GKRule = GK31>
class GKIntegration< F, GKRule >::IntervalResult

Definition at line 93 of file GKIntegration.h.

Constructor & Destructor Documentation

◆ IntervalResult()

IntervalResult ( const double  a_,
const double  b_,
const double  delta_ 
)
inline

Member Function Documentation

◆ ErrorL()

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const IntervalResult ir 
)
friend

Definition at line 102 of file GKIntegration.h.

103  {
104  os << "[a= " << ir.a << " b= " << ir.b << " result= " << ir.result << " error/L= " << ir.err / (ir.b - ir.a)
105  << " error= " << ir.err << " ]";
106  return os;
107  }
std::list< IntervalResult > ir

Member Data Documentation

◆ a

double a

Definition at line 97 of file GKIntegration.h.

Referenced by GKIntegration< F, GKRule >::GKGeneral().

◆ b

double b

Definition at line 97 of file GKIntegration.h.

Referenced by GKIntegration< F, GKRule >::GKGeneral().

◆ delta

◆ err

◆ result

double result

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