STK++ 1.0
STK_Algo.h File Reference

In this file we give some templated generic algorithms. More...

#include <cmath>
#include "../../STKernel/include/STK_Integer.h"
#include "../../STKernel/include/STK_Real.h"
#include "../../STKernel/include/STK_Misc.h"
#include "STK_Const_Math.h"
#include "STK_ISerie.h"
Include dependency graph for STK_Algo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  STK
 

STK means the Statistical ToolKit.


Functions

template<class Serie >
Real STK::sumAlternateSerie (const ISerie< Serie > &f, Integer const &n=0)
 Sum an alternating serie using the Chebichev polynomials.
template<class Serie >
Real STK::sumSerie (const ISerie< Serie > &f, Integer const &iter_max=10)
 Sum a serie using the epsilon acceleration process.
template<class Seriea , class Serieb >
Real STK::continuedFraction (const ISerie< Seriea > &a, const ISerie< Serieb > &b, Integer const &iter_max=100)
 Evaluate a continued fraction.

Detailed Description

In this file we give some templated generic algorithms.

Definition in file STK_Algo.h.