Functions to select a pdf or form of pdf for given data. More...
Go to the source code of this file.
Functions | |
int | pdf1d_select_pdf (const double *data, int n, vcl_vector< const pdf1d_pdf * > &pdf, pdf1d_compare_to_pdf &comparator) |
Use the comparator to decide which pdf the data is most like. | |
int | pdf1d_select_pdf (const double *data, int n, vcl_vector< const pdf1d_pdf * > &pdf, vcl_vector< pdf1d_builder * > &pdf_builder, pdf1d_compare_to_pdf_bhat &comparator) |
Use the comparator to decide which pdf the data is most like. | |
int | pdf1d_select_pdf_using_bootstrap (const double *data, int n, vcl_vector< const pdf1d_pdf * > &pdf, pdf1d_compare_to_pdf &comparator) |
Use the comparator to decide which pdf the data is most like. | |
int | pdf1d_select_pdf_form (const double *data, int n, vcl_vector< pdf1d_builder * > &pdf_builder, pdf1d_compare_to_pdf &comparator) |
Use the comparator to decide which pdf form the data is most like. |
Functions to select a pdf or form of pdf for given data.
Definition in file pdf1d_select_pdf.cxx.
int pdf1d_select_pdf | ( | const double * | data, |
int | n, | ||
vcl_vector< const pdf1d_pdf * > & | pdf, | ||
pdf1d_compare_to_pdf & | comparator | ||
) |
Use the comparator to decide which pdf the data is most like.
Returns index of the chosen pdf.
Definition at line 13 of file pdf1d_select_pdf.cxx.
int pdf1d_select_pdf | ( | const double * | data, |
int | n, | ||
vcl_vector< const pdf1d_pdf * > & | pdf, | ||
vcl_vector< pdf1d_builder * > & | pdf_builder, | ||
pdf1d_compare_to_pdf_bhat & | comparator | ||
) |
Use the comparator to decide which pdf the data is most like.
Typically matches data with pdf_builder[i] and computes difference between result and pdf[i] Returns index of the chosen pdf.
Definition at line 37 of file pdf1d_select_pdf.cxx.
int pdf1d_select_pdf_form | ( | const double * | data, |
int | n, | ||
vcl_vector< pdf1d_builder * > & | pdf_builder, | ||
pdf1d_compare_to_pdf & | comparator | ||
) |
Use the comparator to decide which pdf form the data is most like.
Returns index of the chosen pdf.
Definition at line 87 of file pdf1d_select_pdf.cxx.
int pdf1d_select_pdf_using_bootstrap | ( | const double * | data, |
int | n, | ||
vcl_vector< const pdf1d_pdf * > & | pdf, | ||
pdf1d_compare_to_pdf & | comparator | ||
) |
Use the comparator to decide which pdf the data is most like.
Returns index of the chosen pdf.
Definition at line 62 of file pdf1d_select_pdf.cxx.