STK++ 1.0
STK_Funct_erf_raw.cpp File Reference

In this file we implement the erf and erfc functions using the cephes Math Library. More...

#include <cmath>
#include "../../STKernel/include/STK_Integer.h"
#include "../../STKernel/include/STK_Real.h"
#include "../../STKernel/include/STK_Misc.h"
#include "../include/STK_Const_Math.h"
#include "../include/STK_Funct_raw.h"
Include dependency graph for STK_Funct_erf_raw.cpp:

Go to the source code of this file.

Namespaces

namespace  STK
 

STK means the Statistical ToolKit.


namespace  STK::Funct
 

The namespace Funct enclose all usual and special functions.


Functions

static Real STK::Funct::polevl (Real const &x, Real coef[], Integer const &N)
static Real STK::Funct::p1evl (Real const &x, Real coef[], Integer const &N)
Real STK::Funct::erfc_raw (Real const &a)
 Compute the function

\[ \mathrm{erfc}(a) = \frac{2}{\sqrt{\pi}} \int_a^{+\infty} e^{-t^2} dt \]

.

Real STK::Funct::erf_raw (Real const &a)
 Compute the error fonction erf(a)

Variables

static Real STK::Funct::P [9]
static Real STK::Funct::Q [8]
static Real STK::Funct::R [6]
static Real STK::Funct::S [6]
static Real STK::Funct::T [5]
static Real STK::Funct::U [5]

Detailed Description

In this file we implement the erf and erfc functions using the cephes Math Library.

Definition in file STK_Funct_erf_raw.cpp.