Page MenuHomec4science

compute_pi.hh
No OneTemporary

File Metadata

Created
Sat, Jun 1, 17:05

compute_pi.hh

#ifndef COMPUTE_PI_HH
#define COMPUTE_PI_HH
#include "series.hh"
#include <math.h>
#include <iostream>
class compute_pi: public Series
{
public:
double compute(unsigned int N);
double getAnalyticPrediction();
compute_pi()
{
std::cout<<"compute_pi object constructed!"<<std::endl;
}
~compute_pi()
{
std::cout<<"compute_pi object destructed!"<<std::endl;
}
};
#endif

Event Timeline