ScalingFit Struct Reference#

DiFfRG: DiFfRG::detail::ScalingFit Struct Reference
DiFfRG
Discretization Framework for functional Renormalization Group flows
DiFfRG::detail::ScalingFit Struct Reference

Result of a three-point power-law fit \( y = C (x - x_c)^\beta \). More...

#include <root_finding.hh>

Public Attributes

bool valid = false
 
double shift = std::numeric_limits<double>::quiet_NaN()
 s = x_3 - x_c > 0
 
double exponent = std::numeric_limits<double>::quiet_NaN()
 beta
 
double log_amplitude = std::numeric_limits<double>::quiet_NaN()
 ln C
 

Detailed Description

Result of a three-point power-law fit \( y = C (x - x_c)^\beta \).

shift is \( s = x_3 - x_c \) measured from the point closest to \( x_c \), rather than \( x_c \) itself: \( s \) is the quantity the solve actually determines, it is positive by construction, and it stays well-conditioned when \( |x_c| \gg s \) – which is the whole point of the fit.

Member Data Documentation

◆ exponent

double DiFfRG::detail::ScalingFit::exponent = std::numeric_limits<double>::quiet_NaN()

beta

◆ log_amplitude

double DiFfRG::detail::ScalingFit::log_amplitude = std::numeric_limits<double>::quiet_NaN()

ln C

◆ shift

double DiFfRG::detail::ScalingFit::shift = std::numeric_limits<double>::quiet_NaN()

s = x_3 - x_c > 0

◆ valid

bool DiFfRG::detail::ScalingFit::valid = false

The documentation for this struct was generated from the following file:
  • /home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/common/root_finding.hh