GiNaC 1.8.7
Public Member Functions | Private Attributes | Static Private Attributes | List of all members
GiNaC::lanczos_coeffs Class Reference

Public Member Functions

 lanczos_coeffs ()
 
bool sufficiently_accurate (int digits)
 
int get_order () const
 
cln::cl_N calc_lanczos_A (const cln::cl_N &) const
 

Private Attributes

std::vector< cln::cl_N > * current_vector
 

Static Private Attributes

static std::vector< cln::cl_N > * coeffs = nullptr
 

Detailed Description

Definition at line 1732 of file numeric.cpp.

Constructor & Destructor Documentation

◆ lanczos_coeffs()

GiNaC::lanczos_coeffs::lanczos_coeffs ( )

Definition at line 1783 of file numeric.cpp.

References coeffs.

Member Function Documentation

◆ sufficiently_accurate()

bool GiNaC::lanczos_coeffs::sufficiently_accurate ( int  digits)

Definition at line 1751 of file numeric.cpp.

References coeffs, and current_vector.

Referenced by GiNaC::lgamma(), and GiNaC::tgamma().

◆ get_order()

int GiNaC::lanczos_coeffs::get_order ( ) const
inline

Definition at line 1737 of file numeric.cpp.

References current_vector.

Referenced by GiNaC::lgamma(), and GiNaC::tgamma().

◆ calc_lanczos_A()

cln::cl_N GiNaC::lanczos_coeffs::calc_lanczos_A ( const cln::cl_N &  x) const

Definition at line 1771 of file numeric.cpp.

References current_vector, and x.

Referenced by GiNaC::lgamma(), and GiNaC::tgamma().

Member Data Documentation

◆ coeffs

std::vector< cln::cl_N > * GiNaC::lanczos_coeffs::coeffs = nullptr
staticprivate

Definition at line 1744 of file numeric.cpp.

Referenced by lanczos_coeffs(), and sufficiently_accurate().

◆ current_vector

std::vector<cln::cl_N>* GiNaC::lanczos_coeffs::current_vector
private

Definition at line 1746 of file numeric.cpp.

Referenced by calc_lanczos_A(), get_order(), and sufficiently_accurate().


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

This page is part of the GiNaC developer's reference. It was generated automatically by doxygen. For an introduction, see the tutorial.