OpenMS
Loading...
Searching...
No Matches
GumbelMaxLikelihoodFitter::GumbelDistributionFitResult Struct Reference

struct to represent the parameters of a gumbel distribution More...

#include <OpenMS/MATH/STATISTICS/GumbelMaxLikelihoodFitter.h>

Public Member Functions

 GumbelDistributionFitResult (double local_a, double local_b)
 
double log_eval_no_normalize (double x) const
 log density at x. Note: despite its name, the density is fully normalized.
 
double eval (double x) const
 (normalized) density at x
 
double mode () const
 mode of the distribution (equals the location parameter a)
 

Public Attributes

double a
 location parameter a
 
double b
 scale parameter b
 

Detailed Description

struct to represent the parameters of a gumbel distribution

Constructor & Destructor Documentation

◆ GumbelDistributionFitResult()

GumbelDistributionFitResult ( double  local_a,
double  local_b 
)
inline

Member Function Documentation

◆ eval()

double eval ( double  x) const

(normalized) density at x

◆ log_eval_no_normalize()

double log_eval_no_normalize ( double  x) const

log density at x. Note: despite its name, the density is fully normalized.

◆ mode()

double mode ( ) const

mode of the distribution (equals the location parameter a)

Member Data Documentation

◆ a

double a

location parameter a

◆ b

double b

scale parameter b