numerics 0.1.0
Loading...
Searching...
No Matches
num::markov::MetropolisStats Struct Reference

#include <mcmc.hpp>

Public Member Functions

real acceptance_rate () const
 

Public Attributes

idx accepted = 0
 
idx total = 0
 

Detailed Description

Definition at line 8 of file mcmc.hpp.

Member Function Documentation

◆ acceptance_rate()

real num::markov::MetropolisStats::acceptance_rate ( ) const
inline

Definition at line 11 of file mcmc.hpp.

References accepted, and total.

Member Data Documentation

◆ accepted

idx num::markov::MetropolisStats::accepted = 0

◆ total

idx num::markov::MetropolisStats::total = 0

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