ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
ModuleBase::ErrorFunc Class Reference

#include <math_erf_complex.h>

Collaboration diagram for ModuleBase::ErrorFunc:

Public Member Functions

 ErrorFunc ()
 ~ErrorFunc ()

Static Public Member Functions

static std::complex< double > scaled_w (std::complex< double > z, double relerr)
 A class of the error function of complex arguments based on Faddeeva algorithm. More information please refer to http://ab-initio.mit.edu/Faddeeva.
static double scaled_w_im (double x)
static std::complex< double > erfcx (std::complex< double > z, double relerr=0)
static double erfcx (double x)
static std::complex< double > erf (std::complex< double > z, double relerr=0)
static std::complex< double > erfi (std::complex< double > z, double relerr=0)
static double erfi (double x)
static std::complex< double > erfc (std::complex< double > z, double relerr=0)

Static Private Member Functions

static double w_im_y100 (double y100, double x)
static double sinc (double x, double sinx)
static double copysign (double x, double y)

Static Private Attributes

static const std::vector< double > expa2n2

Constructor & Destructor Documentation

◆ ErrorFunc()

ModuleBase::ErrorFunc::ErrorFunc ( )

◆ ~ErrorFunc()

ModuleBase::ErrorFunc::~ErrorFunc ( )

Member Function Documentation

◆ copysign()

double ModuleBase::ErrorFunc::copysign ( double x,
double y )
inlinestaticprivate
Here is the caller graph for this function:

◆ erf()

std::complex< double > ModuleBase::ErrorFunc::erf ( std::complex< double > z,
double relerr = 0 )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ erfc()

std::complex< double > ModuleBase::ErrorFunc::erfc ( std::complex< double > z,
double relerr = 0 )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ erfcx() [1/2]

double ModuleBase::ErrorFunc::erfcx ( double x)
static

◆ erfcx() [2/2]

std::complex< double > ModuleBase::ErrorFunc::erfcx ( std::complex< double > z,
double relerr = 0 )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ erfi() [1/2]

double ModuleBase::ErrorFunc::erfi ( double x)
static
Here is the call graph for this function:

◆ erfi() [2/2]

std::complex< double > ModuleBase::ErrorFunc::erfi ( std::complex< double > z,
double relerr = 0 )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ scaled_w()

std::complex< double > ModuleBase::ErrorFunc::scaled_w ( std::complex< double > z,
double relerr )
static

A class of the error function of complex arguments based on Faddeeva algorithm. More information please refer to http://ab-initio.mit.edu/Faddeeva.

Author
jiyy on 2025-05-18
Here is the call graph for this function:
Here is the caller graph for this function:

◆ scaled_w_im()

double ModuleBase::ErrorFunc::scaled_w_im ( double x)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sinc()

double ModuleBase::ErrorFunc::sinc ( double x,
double sinx )
inlinestaticprivate
Here is the caller graph for this function:

◆ w_im_y100()

double ModuleBase::ErrorFunc::w_im_y100 ( double y100,
double x )
staticprivate
Here is the caller graph for this function:

Member Data Documentation

◆ expa2n2

const std::vector< double > ModuleBase::ErrorFunc::expa2n2
staticprivate

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