3#ifndef __MED_NUMERIC_H__
4#define __MED_NUMERIC_H__
16 vector<pair<float,float>> range;
20double square_dist_for_fit(
float (*f_to_fit)(vector<float> &p,
float xp), vector<float> &p, vector<float> &x, vector<float> &y, vector<float> &w);
21int full_enumaration_fit(
float (*f_to_fit)(vector<float> &p,
float xp),
MedFitParams ¶ms, vector<float> &x, vector<float> &y, vector<float> &w, vector<float> &res,
double &res_err);
24float scaled_normal_dist(vector<float> &p,
float xp);
25float scaled_skewed_normal_dist(vector<float> &p,
float xp);
26float scaled_log_normal_dist(vector<float> &p,
float xp);
27float scaled_inv_gauss_dist(vector<float> &p,
float xp);
29float normal_cdf(
float mean,
float std,
float x);
30float log_normal_cdf(
float mean,
float std,
float x);
32int get_normal_dist_quantiles(
float mean,
float sd, vector<float> &q, vector<float> &qv);
33int get_skewed_normal_dist_quantiles(
float mean,
float sd,
float shape, vector<float> &q, vector<float> &qv);
34int get_log_normal_dist_quantiles(
float mean,
float sd, vector<float> &q, vector<float> &qv);
35int get_inv_gauss_dist_quantiles(
float mean,
float sd, vector<float> &q, vector<float> &qv);
Definition MedNumeric.h:13