HepLib
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
HepLib::SD::SecDec Class Reference

SecDec the main class to use Sector Decompostion method. More...

#include <SD.h>

Collaboration diagram for HepLib::SD::SecDec:
Collaboration graph
[legend]

Public Member Functions

void Initialize (FeynmanParameter fpi)
 
void Initialize (XIntegrand xint)
 
void BiSection (ex xi, ex x0)
 
void Normalizes ()
 
void Scalelesses ()
 
void SDPrepares ()
 
void EpsExpands ()
 
void RemoveDeltas ()
 
void XReOrders ()
 
void XTogethers ()
 
void XExpands ()
 
void KillPowers (int bits=1+2)
 Kill Powers will call KillPowerD or KillPower. More...
 
bool IsBad (ex f, vector< exmap > vmap)
 Check the x-END. More...
 
exvector AutoEnd (ex po_ex)
 Auto BiSection. More...
 
void CIPrepares (const string &key="")
 Prepare for the Contours and Integrates calls .so will be generated, for more detailed exported function, check below. More...
 
void Contours (const string &key="", const string &pkey="")
 Contours, note that here we need to provide the specific Parameter. More...
 
void Integrates (const string &key="", const string &pkey="", int kid=0)
 Contours, note that here we need to provide the specific Parameter. More...
 
void ReIntegrates (const string &key, const string &pkey, qREAL err)
 Contours, note that here we need to provide the specific Parameter. More...
 
void Evaluate (FeynmanParameter fpi, const string &key="")
 
void Evaluate (XIntegrand xint, const string &key="")
 
void Evaluate (const exvector &FunExp, const string &key="")
 
void MB ()
 MB. More...
 
void XEnd ()
 
void ChengWu (const ex &ft=0)
 ChengWu for SecDec class. More...
 
ex VEResult ()
 
void VEPrint (bool endlQ=true)
 
 ~SecDec ()
 

Static Public Member Functions

static bool VerifySD (vector< exmap > vmap, bool quick=true)
 
static ex XRefined (ex const &ft)
 
static lst XRefined_lst (ex const &ft)
 
static ex PrefactorFIESTA (int nLoop)
 
static ex PExpand (ex xpol, bool delta=true)
 PExpand from asy2.1.1.m. More...
 
static int PRank (matrix m)
 PRank from FIESTA. More...
 
static ex ContinuousWRA (ex expr_in, int nc=15)
 ContinuousWRA, note that here we need to provide the specific Parameter. More...
 

Public Attributes

lst eps_lst = { lst{eps,0}, lst{ep,0} }
 
int vsN = 0
 
int PoleRequested = -5
 
bool vs_before_ep = false
 
bool use_XMonomials = true
 
bool disable_Contour = false
 
exmap nReplacement
 
exvector FunExp
 
exvector Integrands
 
exvector expResult
 
SecDecBaseSecDec = NULL
 
IntegratorBaseIntegrator = NULL
 
MinimizeBaseMinimizer = NULL
 
ex ResultError
 
bool IsZero = false
 
bool CheckEnd = false
 
bool use_ErrMin = false
 
bool use_las = false
 
bool save_las = false
 
int IBF = 0
 
bool use_Normalizes = true
 
bool use_XReOrders = false
 
int MPDigits = 0
 
lst BisectionPoints = lst { ex(1)/13, ex(1)/19, ex(1)/29, ex(1)/59, ex(1)/41, ex(1)/37, ex(1)/43, ex(1)/53 }
 
map< int, numeric > Parameter
 
bool CTMaxF = true
 
dREAL CTLaMax = 10
 
int CTTryPTS = 3
 
int CTSavePTS = 3
 
size_t LambdaSplit = 5
 
qREAL IntLaMax = 50
 
int CTryM = 1
 
int CTryL = 1
 
int CTryR = 1
 
size_t CTryI = 0
 
dREAL CTryRRatio = 1.5
 
int soLimit = 10000
 
qREAL EpsAbs = 1E-4
 
int ReIm = 3
 

Static Public Attributes

static bool use_dlclose = true
 
static string cpp = "g++ -w"
 

Detailed Description

SecDec the main class to use Sector Decompostion method.

Definition at line 413 of file SD.h.

Constructor & Destructor Documentation

◆ ~SecDec()

HepLib::SD::SecDec::~SecDec ( )

Definition at line 12 of file InitEval.cpp.

Member Function Documentation

◆ AutoEnd()

exvector HepLib::SD::SecDec::AutoEnd ( ex  po_ex)

Auto BiSection.

Parameters
po_exthe list of {ps, ns}
Returns
a vector of {ps, ns} after BiSection

Definition at line 223 of file SecDec.cpp.

◆ BiSection()

void HepLib::SD::SecDec::BiSection ( ex  xi,
ex  x0 
)

Definition at line 1024 of file SecDec.cpp.

◆ ChengWu()

void HepLib::SD::SecDec::ChengWu ( const ex &  ft = 0)

ChengWu for SecDec class.

Definition at line 14 of file ChengWu.cpp.

◆ CIPrepares()

void HepLib::SD::SecDec::CIPrepares ( const string &  key = "")

Prepare for the Contours and Integrates calls .so will be generated, for more detailed exported function, check below.

Parameters
keyused to save intermidete result

Definition at line 17 of file CIPrepares.cpp.

◆ ContinuousWRA()

ex HepLib::SD::SecDec::ContinuousWRA ( ex  expr_in,
int  nc = 15 
)
static

ContinuousWRA, note that here we need to provide the specific Parameter.

Parameters
expr_inexpression containing WRA
ncsimilar to NRCLog, the number of try
Returns
result with WRA removed

Definition at line 18 of file Integrates.cpp.

◆ Contours()

void HepLib::SD::SecDec::Contours ( const string &  key = "",
const string &  pkey = "" 
)

Contours, note that here we need to provide the specific Parameter.

Parameters
keythe to retrive data from CIPrepares call
pkeysecondary key, final key will "key-pkey" to store Contours data

Definition at line 17 of file Contours.cpp.

◆ EpsExpands()

void HepLib::SD::SecDec::EpsExpands ( )

Definition at line 1427 of file SecDec.cpp.

◆ Evaluate() [1/3]

void HepLib::SD::SecDec::Evaluate ( const exvector &  FunExp,
const string &  key = "" 
)

Definition at line 551 of file InitEval.cpp.

◆ Evaluate() [2/3]

void HepLib::SD::SecDec::Evaluate ( FeynmanParameter  fpi,
const string &  key = "" 
)

Definition at line 507 of file InitEval.cpp.

◆ Evaluate() [3/3]

void HepLib::SD::SecDec::Evaluate ( XIntegrand  xint,
const string &  key = "" 
)

Definition at line 529 of file InitEval.cpp.

◆ Initialize() [1/2]

void HepLib::SD::SecDec::Initialize ( FeynmanParameter  fpi)

Definition at line 28 of file InitEval.cpp.

◆ Initialize() [2/2]

void HepLib::SD::SecDec::Initialize ( XIntegrand  xint)

Definition at line 483 of file InitEval.cpp.

◆ Integrates()

void HepLib::SD::SecDec::Integrates ( const string &  key = "",
const string &  pkey = "",
int  kid = 0 
)

Contours, note that here we need to provide the specific Parameter.

Parameters
keythe to retrive data from CIPrepares call
pkeysecondary key, final key will "key-pkey" to store Contours data
kidonly the kid-th will be evaluated and updated the original "key-pkey" data

Definition at line 113 of file Integrates.cpp.

◆ IsBad()

bool HepLib::SD::SecDec::IsBad ( ex  f,
vector< exmap >  vmap 
)

Check the x-END.

Parameters
fthe F-term
vmapa list of x2y map
Returns
true for bad

Definition at line 174 of file SecDec.cpp.

◆ KillPowers()

void HepLib::SD::SecDec::KillPowers ( int  bits = 1+2)

Kill Powers will call KillPowerD or KillPower.

Parameters
bitsonly for KillPower

Definition at line 433 of file KillPowers.cpp.

◆ MB()

void HepLib::SD::SecDec::MB ( )

MB.

Definition at line 401 of file AsyMB.cpp.

◆ Normalizes()

void HepLib::SD::SecDec::Normalizes ( )

Definition at line 715 of file SecDec.cpp.

◆ PExpand()

ex HepLib::SD::SecDec::PExpand ( ex  xpol,
bool  delta = true 
)
static

PExpand from asy2.1.1.m.

Parameters
xpolpolynomial
deltahas delta or not
Returns
PExpand result

Definition at line 39 of file AsyMB.cpp.

◆ PRank()

int HepLib::SD::SecDec::PRank ( matrix  m)
static

PRank from FIESTA.

Parameters
minput matrix
Returns
PRank for matrix

Definition at line 17 of file AsyMB.cpp.

◆ PrefactorFIESTA()

ex HepLib::SD::SecDec::PrefactorFIESTA ( int  nLoop)
static

Definition at line 361 of file Helpers.cpp.

◆ ReIntegrates()

void HepLib::SD::SecDec::ReIntegrates ( const string &  key,
const string &  pkey,
qREAL  err 
)

Contours, note that here we need to provide the specific Parameter.

Parameters
keythe to retrive data from CIPrepares call
pkeysecondary key, final key will "key-pkey" to store Contours data
erronly the item ( with error > err ) will be evaluated and updated the original "key-pkey" data

Definition at line 688 of file Integrates.cpp.

◆ RemoveDeltas()

void HepLib::SD::SecDec::RemoveDeltas ( )

Definition at line 930 of file SecDec.cpp.

◆ Scalelesses()

void HepLib::SD::SecDec::Scalelesses ( )

Definition at line 845 of file SecDec.cpp.

◆ SDPrepares()

void HepLib::SD::SecDec::SDPrepares ( )

Definition at line 1040 of file SecDec.cpp.

◆ VEPrint()

void HepLib::SD::SecDec::VEPrint ( bool  endlQ = true)

Definition at line 229 of file Helpers.cpp.

◆ VEResult()

ex HepLib::SD::SecDec::VEResult ( )

Definition at line 225 of file Helpers.cpp.

◆ VerifySD()

bool HepLib::SD::SecDec::VerifySD ( vector< exmap >  vmap,
bool  quick = true 
)
static

Definition at line 123 of file SecDec.cpp.

◆ XEnd()

void HepLib::SD::SecDec::XEnd ( )

Definition at line 998 of file SecDec.cpp.

◆ XExpands()

void HepLib::SD::SecDec::XExpands ( )

Definition at line 801 of file SecDec.cpp.

◆ XRefined()

ex HepLib::SD::SecDec::XRefined ( ex const &  ft)
static

Definition at line 369 of file Helpers.cpp.

◆ XRefined_lst()

lst HepLib::SD::SecDec::XRefined_lst ( ex const &  ft)
static

Definition at line 392 of file Helpers.cpp.

◆ XReOrders()

void HepLib::SD::SecDec::XReOrders ( )

Definition at line 695 of file SecDec.cpp.

◆ XTogethers()

void HepLib::SD::SecDec::XTogethers ( )

Definition at line 760 of file SecDec.cpp.

Member Data Documentation

◆ BisectionPoints

lst HepLib::SD::SecDec::BisectionPoints = lst { ex(1)/13, ex(1)/19, ex(1)/29, ex(1)/59, ex(1)/41, ex(1)/37, ex(1)/43, ex(1)/53 }

Definition at line 442 of file SD.h.

◆ CheckEnd

bool HepLib::SD::SecDec::CheckEnd = false

Definition at line 434 of file SD.h.

◆ cpp

string HepLib::SD::SecDec::cpp = "g++ -w"
static

Definition at line 417 of file SD.h.

◆ CTLaMax

dREAL HepLib::SD::SecDec::CTLaMax = 10

Definition at line 448 of file SD.h.

◆ CTMaxF

bool HepLib::SD::SecDec::CTMaxF = true

Definition at line 447 of file SD.h.

◆ CTryI

size_t HepLib::SD::SecDec::CTryI = 0

Definition at line 457 of file SD.h.

◆ CTryL

int HepLib::SD::SecDec::CTryL = 1

Definition at line 455 of file SD.h.

◆ CTryM

int HepLib::SD::SecDec::CTryM = 1

Definition at line 454 of file SD.h.

◆ CTryR

int HepLib::SD::SecDec::CTryR = 1

Definition at line 456 of file SD.h.

◆ CTryRRatio

dREAL HepLib::SD::SecDec::CTryRRatio = 1.5

Definition at line 458 of file SD.h.

◆ CTSavePTS

int HepLib::SD::SecDec::CTSavePTS = 3

Definition at line 450 of file SD.h.

◆ CTTryPTS

int HepLib::SD::SecDec::CTTryPTS = 3

Definition at line 449 of file SD.h.

◆ disable_Contour

bool HepLib::SD::SecDec::disable_Contour = false

Definition at line 424 of file SD.h.

◆ eps_lst

lst HepLib::SD::SecDec::eps_lst = { lst{eps,0}, lst{ep,0} }

Definition at line 419 of file SD.h.

◆ EpsAbs

qREAL HepLib::SD::SecDec::EpsAbs = 1E-4

Definition at line 461 of file SD.h.

◆ expResult

exvector HepLib::SD::SecDec::expResult

Definition at line 428 of file SD.h.

◆ FunExp

exvector HepLib::SD::SecDec::FunExp

Definition at line 426 of file SD.h.

◆ IBF

int HepLib::SD::SecDec::IBF = 0

Definition at line 438 of file SD.h.

◆ Integrands

exvector HepLib::SD::SecDec::Integrands

Definition at line 427 of file SD.h.

◆ Integrator

IntegratorBase* HepLib::SD::SecDec::Integrator = NULL

Definition at line 430 of file SD.h.

◆ IntLaMax

qREAL HepLib::SD::SecDec::IntLaMax = 50

Definition at line 453 of file SD.h.

◆ IsZero

bool HepLib::SD::SecDec::IsZero = false

Definition at line 433 of file SD.h.

◆ LambdaSplit

size_t HepLib::SD::SecDec::LambdaSplit = 5

Definition at line 452 of file SD.h.

◆ Minimizer

MinimizeBase* HepLib::SD::SecDec::Minimizer = NULL

Definition at line 431 of file SD.h.

◆ MPDigits

int HepLib::SD::SecDec::MPDigits = 0

Definition at line 441 of file SD.h.

◆ nReplacement

exmap HepLib::SD::SecDec::nReplacement

Definition at line 425 of file SD.h.

◆ Parameter

map<int, numeric> HepLib::SD::SecDec::Parameter

Definition at line 444 of file SD.h.

◆ PoleRequested

int HepLib::SD::SecDec::PoleRequested = -5

Definition at line 421 of file SD.h.

◆ ReIm

int HepLib::SD::SecDec::ReIm = 3

Definition at line 462 of file SD.h.

◆ ResultError

ex HepLib::SD::SecDec::ResultError

Definition at line 432 of file SD.h.

◆ save_las

bool HepLib::SD::SecDec::save_las = false

Definition at line 437 of file SD.h.

◆ SecDec

SecDecBase* HepLib::SD::SecDec::SecDec = NULL

Definition at line 429 of file SD.h.

◆ soLimit

int HepLib::SD::SecDec::soLimit = 10000

Definition at line 459 of file SD.h.

◆ use_dlclose

bool HepLib::SD::SecDec::use_dlclose = true
static

Definition at line 416 of file SD.h.

◆ use_ErrMin

bool HepLib::SD::SecDec::use_ErrMin = false

Definition at line 435 of file SD.h.

◆ use_las

bool HepLib::SD::SecDec::use_las = false

Definition at line 436 of file SD.h.

◆ use_Normalizes

bool HepLib::SD::SecDec::use_Normalizes = true

Definition at line 439 of file SD.h.

◆ use_XMonomials

bool HepLib::SD::SecDec::use_XMonomials = true

Definition at line 423 of file SD.h.

◆ use_XReOrders

bool HepLib::SD::SecDec::use_XReOrders = false

Definition at line 440 of file SD.h.

◆ vs_before_ep

bool HepLib::SD::SecDec::vs_before_ep = false

Definition at line 422 of file SD.h.

◆ vsN

int HepLib::SD::SecDec::vsN = 0

Definition at line 420 of file SD.h.


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