PhyStar  v0.0.0 thu24
quadpack Namespace Reference

Classes

struct  Quadpack
 

Typedefs

template<realtype T_real>
using qwgt = T_real(*)(T_real, T_real, T_real, T_real, T_real, int)
 
template<realtype T_real, typename T_param >
using pfun = T_real(*)(T_real, T_param *)
 
template<typename T_param >
using Quadpack_d = Quadpack< pfun< double, T_param >, T_param, double >
 
template<typename T_param >
using Quadpack_f = Quadpack< pfun< float, T_param >, T_param, float >
 
template<typename T_param >
using Quadpack_ld = Quadpack< pfun< long double, T_param >, T_param, long double >
 
template<realtype T_real, typename T_param >
using Quadpack_ = Quadpack< pfun< T_real, T_param >, T_param, T_real >
 

Functions

static auto min (auto a, auto b)
 
static auto max (auto a, auto b)
 
template<realtype T_real>
static T_real qwgtc (T_real x, T_real c, T_real p2, T_real p3, T_real p4, int kp)
 
template<realtype T_real>
static T_real qwgto (T_real x, T_real omega, T_real p2, T_real p3, T_real p4, int integr)
 
template<realtype T_real>
static T_real qwgts (T_real x, T_real a, T_real b, T_real alpha, T_real beta, int integr)
 
template<realtype T_real>
T_real qwgtc (T_real x, T_real c, T_real p2, T_real p3, T_real p4, int kp)
 
template<realtype T_real>
T_real qwgto (T_real x, T_real omega, T_real p2, T_real p3, T_real p4, int wgtfunc)
 
template<realtype T_real>
T_real qwgts (T_real x, T_real a, T_real b, T_real alpha, T_real beta, int wgtfunc)
 

Variables

static constexpr auto P = 0.9
 
static constexpr auto NMAC = 27
 
constexpr auto uflow = DBL_MIN
 
constexpr auto oflow = DBL_MAX
 
constexpr auto epmach = DBL_EPSILON
 
constexpr auto LIMIT = 1000
 
constexpr auto MAXP1 = 21
 
constexpr auto Pi = 3.14159265358979323846
 
constexpr auto COSINE = 1
 
constexpr auto SINE = 2
 
constexpr auto FALSE = 0
 
constexpr auto TRUE = 1
 
template<typename T >
concept realtype = std::is_floating_point<T>::value
 

Typedef Documentation

◆ pfun

template<realtype T_real, typename T_param >
using quadpack::pfun = typedef T_real (*)(T_real, T_param *)

◆ Quadpack_

template<realtype T_real, typename T_param >
using quadpack::Quadpack_ = typedef Quadpack<pfun<T_real, T_param>, T_param, T_real>

◆ Quadpack_d

template<typename T_param >
using quadpack::Quadpack_d = typedef Quadpack<pfun<double, T_param>, T_param, double>

◆ Quadpack_f

template<typename T_param >
using quadpack::Quadpack_f = typedef Quadpack<pfun<float, T_param>, T_param, float>

◆ Quadpack_ld

template<typename T_param >
using quadpack::Quadpack_ld = typedef Quadpack<pfun<long double, T_param>, T_param, long double>

◆ qwgt

template<realtype T_real>
using quadpack::qwgt = typedef T_real (*)(T_real, T_real, T_real, T_real, T_real, int)

Function Documentation

◆ max()

static auto quadpack::max ( auto  a,
auto  b 
)
inlinestatic
Here is the caller graph for this function:

◆ min()

static auto quadpack::min ( auto  a,
auto  b 
)
inlinestatic
Here is the caller graph for this function:

◆ qwgtc() [1/2]

template<realtype T_real>
static T_real quadpack::qwgtc ( T_real  x,
T_real  c,
T_real  p2,
T_real  p3,
T_real  p4,
int  kp 
)
static

◆ qwgtc() [2/2]

template<realtype T_real>
T_real quadpack::qwgtc ( T_real  x,
T_real  c,
T_real  p2,
T_real  p3,
T_real  p4,
int  kp 
)

◆ qwgto() [1/2]

template<realtype T_real>
static T_real quadpack::qwgto ( T_real  x,
T_real  omega,
T_real  p2,
T_real  p3,
T_real  p4,
int  integr 
)
static

◆ qwgto() [2/2]

template<realtype T_real>
T_real quadpack::qwgto ( T_real  x,
T_real  omega,
T_real  p2,
T_real  p3,
T_real  p4,
int  wgtfunc 
)

◆ qwgts() [1/2]

template<realtype T_real>
static T_real quadpack::qwgts ( T_real  x,
T_real  a,
T_real  b,
T_real  alpha,
T_real  beta,
int  integr 
)
static

◆ qwgts() [2/2]

template<realtype T_real>
T_real quadpack::qwgts ( T_real  x,
T_real  a,
T_real  b,
T_real  alpha,
T_real  beta,
int  wgtfunc 
)

Variable Documentation

◆ COSINE

constexpr auto quadpack::COSINE = 1
constexpr

◆ epmach

constexpr auto quadpack::epmach = DBL_EPSILON
constexpr

◆ FALSE

constexpr auto quadpack::FALSE = 0
constexpr

◆ LIMIT

constexpr auto quadpack::LIMIT = 1000
constexpr

◆ MAXP1

constexpr auto quadpack::MAXP1 = 21
constexpr

◆ NMAC

constexpr auto quadpack::NMAC = 27
staticconstexpr

◆ oflow

constexpr auto quadpack::oflow = DBL_MAX
constexpr

◆ P

constexpr auto quadpack::P = 0.9
staticconstexpr

◆ Pi

constexpr auto quadpack::Pi = 3.14159265358979323846
constexpr

◆ realtype

template<typename T >
concept quadpack::realtype = std::is_floating_point<T>::value

◆ SINE

constexpr auto quadpack::SINE = 2
constexpr

◆ TRUE

constexpr auto quadpack::TRUE = 1
constexpr

◆ uflow

constexpr auto quadpack::uflow = DBL_MIN
constexpr