LMMC
Lamina Mathematic core
载入中...
搜索中...
未找到
stdlib_statistics.c 文件参考
#include "lmmc/stdlib.h"
#include "lmmc/stats.h"
#include "stdlib_internal.h"
stdlib_statistics.c 的引用(Include)关系图:

浏览该文件的源代码.

类型定义

typedef lmmc_status_t(*) lmmc_std_dist2_fn(lmmc_real_t, lmmc_real_t, lmmc_real_t *)
typedef lmmc_status_t(*) lmmc_std_dist3_fn(lmmc_real_t, lmmc_real_t, lmmc_real_t, lmmc_real_t *)

函数

lmmc_status_t lmmc_std_stats_mean (const lmmc_real_t *values, size_t count, lmmc_real_t *out)
lmmc_status_t lmmc_std_stats_median (const lmmc_real_t *values, size_t count, lmmc_real_t *out)
lmmc_status_t lmmc_std_stats_var (const lmmc_real_t *values, size_t count, lmmc_real_t *out)
lmmc_status_t lmmc_std_stats_std (const lmmc_real_t *values, size_t count, lmmc_real_t *out)
lmmc_status_t lmmc_std_stats_quantile (const lmmc_real_t *values, size_t count, lmmc_real_t q, lmmc_real_t *out)
lmmc_status_t lmmc_std_stats_cov (const lmmc_real_t *x, const lmmc_real_t *y, size_t count, lmmc_real_t *out)
lmmc_status_t lmmc_std_stats_corr (const lmmc_real_t *x, const lmmc_real_t *y, size_t count, lmmc_real_t *out)
lmmc_status_t lmmc_std_stats_normal_pdf (lmmc_real_t x, lmmc_real_t mean, lmmc_real_t stddev, lmmc_real_t *out)
lmmc_status_t lmmc_std_stats_normal_cdf (lmmc_real_t x, lmmc_real_t mean, lmmc_real_t stddev, lmmc_real_t *out)
lmmc_status_t lmmc_std_stats_normal_quantile (lmmc_real_t p, lmmc_real_t mean, lmmc_real_t stddev, lmmc_real_t *out)
lmmc_status_t lmmc_std_stats_t_pdf (lmmc_real_t x, lmmc_real_t df, lmmc_real_t *out)
lmmc_status_t lmmc_std_stats_t_cdf (lmmc_real_t x, lmmc_real_t df, lmmc_real_t *out)
lmmc_status_t lmmc_std_stats_t_quantile (lmmc_real_t p, lmmc_real_t df, lmmc_real_t *out)
lmmc_status_t lmmc_std_stats_chi2_pdf (lmmc_real_t x, lmmc_real_t df, lmmc_real_t *out)
lmmc_status_t lmmc_std_stats_chi2_cdf (lmmc_real_t x, lmmc_real_t df, lmmc_real_t *out)
lmmc_status_t lmmc_std_stats_chi2_quantile (lmmc_real_t p, lmmc_real_t df, lmmc_real_t *out)
lmmc_status_t lmmc_std_stats_f_pdf (lmmc_real_t x, lmmc_real_t df1, lmmc_real_t df2, lmmc_real_t *out)
lmmc_status_t lmmc_std_stats_f_cdf (lmmc_real_t x, lmmc_real_t df1, lmmc_real_t df2, lmmc_real_t *out)
lmmc_status_t lmmc_std_stats_f_quantile (lmmc_real_t p, lmmc_real_t df1, lmmc_real_t df2, lmmc_real_t *out)
lmmc_status_t lmmc_std_stats_gamma_pdf (lmmc_real_t x, lmmc_real_t shape, lmmc_real_t scale, lmmc_real_t *out)
lmmc_status_t lmmc_std_stats_gamma_cdf (lmmc_real_t x, lmmc_real_t shape, lmmc_real_t scale, lmmc_real_t *out)
lmmc_status_t lmmc_std_stats_gamma_quantile (lmmc_real_t p, lmmc_real_t shape, lmmc_real_t scale, lmmc_real_t *out)
lmmc_status_t lmmc_std_stats_beta_pdf (lmmc_real_t x, lmmc_real_t alpha, lmmc_real_t beta, lmmc_real_t *out)
lmmc_status_t lmmc_std_stats_beta_cdf (lmmc_real_t x, lmmc_real_t alpha, lmmc_real_t beta, lmmc_real_t *out)
lmmc_status_t lmmc_std_stats_beta_quantile (lmmc_real_t p, lmmc_real_t alpha, lmmc_real_t beta, lmmc_real_t *out)
lmmc_status_t lmmc_std_stats_binomial_pmf (size_t k, size_t n, lmmc_real_t p, lmmc_real_t *out)
lmmc_status_t lmmc_std_stats_binomial_cdf (size_t k, size_t n, lmmc_real_t p, lmmc_real_t *out)
lmmc_status_t lmmc_std_stats_poisson_pmf (size_t k, lmmc_real_t lambda, lmmc_real_t *out)
lmmc_status_t lmmc_std_stats_poisson_cdf (size_t k, lmmc_real_t lambda, lmmc_real_t *out)

类型定义说明

◆ lmmc_std_dist2_fn

typedef lmmc_status_t(*) lmmc_std_dist2_fn(lmmc_real_t, lmmc_real_t, lmmc_real_t *)

在文件 stdlib_statistics.c 第 133 行定义.

◆ lmmc_std_dist3_fn

typedef lmmc_status_t(*) lmmc_std_dist3_fn(lmmc_real_t, lmmc_real_t, lmmc_real_t, lmmc_real_t *)

在文件 stdlib_statistics.c 第 135 行定义.

函数说明

◆ lmmc_std_stats_mean()

lmmc_status_t lmmc_std_stats_mean ( const lmmc_real_t * values,
size_t count,
lmmc_real_t * out )

在文件 stdlib_statistics.c 第 22 行定义.

引用了 LMMC_STATUS_INVALID_ARGUMENT, LMMC_STATUS_OK, lmmc_std_stats_mean() , 以及 lmmc_vec_mean().

被这些函数引用 lmmc_std_stats_mean().

函数调用图:
这是这个函数的调用关系图:

◆ lmmc_std_stats_median()

lmmc_status_t lmmc_std_stats_median ( const lmmc_real_t * values,
size_t count,
lmmc_real_t * out )

在文件 stdlib_statistics.c 第 36 行定义.

引用了 LMMC_STATUS_INVALID_ARGUMENT, LMMC_STATUS_OK, lmmc_std_stats_median() , 以及 lmmc_vec_median().

被这些函数引用 lmmc_std_stats_median().

函数调用图:
这是这个函数的调用关系图:

◆ lmmc_std_stats_var()

lmmc_status_t lmmc_std_stats_var ( const lmmc_real_t * values,
size_t count,
lmmc_real_t * out )

在文件 stdlib_statistics.c 第 50 行定义.

引用了 LMMC_STATUS_INVALID_ARGUMENT, LMMC_STATUS_OK, lmmc_std_stats_var() , 以及 lmmc_vec_variance_sample().

被这些函数引用 lmmc_std_stats_var().

函数调用图:
这是这个函数的调用关系图:

◆ lmmc_std_stats_std()

lmmc_status_t lmmc_std_stats_std ( const lmmc_real_t * values,
size_t count,
lmmc_real_t * out )

在文件 stdlib_statistics.c 第 64 行定义.

引用了 LMMC_STATUS_INVALID_ARGUMENT, LMMC_STATUS_OK, lmmc_std_stats_std() , 以及 lmmc_vec_stddev_sample().

被这些函数引用 lmmc_std_stats_std().

函数调用图:
这是这个函数的调用关系图:

◆ lmmc_std_stats_quantile()

lmmc_status_t lmmc_std_stats_quantile ( const lmmc_real_t * values,
size_t count,
lmmc_real_t q,
lmmc_real_t * out )

在文件 stdlib_statistics.c 第 78 行定义.

引用了 LMMC_STATUS_INVALID_ARGUMENT, LMMC_STATUS_NUMERICAL_FAILURE, LMMC_STATUS_OK, LMMC_STATUS_OUT_OF_RANGE, lmmc_std_stats_quantile() , 以及 lmmc_vec_quantile().

被这些函数引用 lmmc_std_stats_quantile().

函数调用图:
这是这个函数的调用关系图:

◆ lmmc_std_stats_cov()

lmmc_status_t lmmc_std_stats_cov ( const lmmc_real_t * x,
const lmmc_real_t * y,
size_t count,
lmmc_real_t * out )

在文件 stdlib_statistics.c 第 96 行定义.

引用了 LMMC_STATUS_INVALID_ARGUMENT, LMMC_STATUS_OK, lmmc_std_stats_cov() , 以及 lmmc_vec_covariance_sample().

被这些函数引用 lmmc_std_stats_cov().

函数调用图:
这是这个函数的调用关系图:

◆ lmmc_std_stats_corr()

lmmc_status_t lmmc_std_stats_corr ( const lmmc_real_t * x,
const lmmc_real_t * y,
size_t count,
lmmc_real_t * out )

在文件 stdlib_statistics.c 第 115 行定义.

引用了 LMMC_STATUS_INVALID_ARGUMENT, LMMC_STATUS_OK, lmmc_std_stats_corr() , 以及 lmmc_vec_correlation_sample().

被这些函数引用 lmmc_std_stats_corr().

函数调用图:
这是这个函数的调用关系图:

◆ lmmc_std_stats_normal_pdf()

lmmc_status_t lmmc_std_stats_normal_pdf ( lmmc_real_t x,
lmmc_real_t mean,
lmmc_real_t stddev,
lmmc_real_t * out )

在文件 stdlib_statistics.c 第 172 行定义.

引用了 lmmc_dist_normal_pdf() , 以及 lmmc_std_stats_normal_pdf().

被这些函数引用 lmmc_std_stats_normal_pdf().

函数调用图:
这是这个函数的调用关系图:

◆ lmmc_std_stats_normal_cdf()

lmmc_status_t lmmc_std_stats_normal_cdf ( lmmc_real_t x,
lmmc_real_t mean,
lmmc_real_t stddev,
lmmc_real_t * out )

在文件 stdlib_statistics.c 第 180 行定义.

引用了 lmmc_dist_normal_cdf() , 以及 lmmc_std_stats_normal_cdf().

被这些函数引用 lmmc_std_stats_normal_cdf().

函数调用图:
这是这个函数的调用关系图:

◆ lmmc_std_stats_normal_quantile()

lmmc_status_t lmmc_std_stats_normal_quantile ( lmmc_real_t p,
lmmc_real_t mean,
lmmc_real_t stddev,
lmmc_real_t * out )

在文件 stdlib_statistics.c 第 188 行定义.

引用了 lmmc_dist_normal_quantile() , 以及 lmmc_std_stats_normal_quantile().

被这些函数引用 lmmc_std_stats_normal_quantile().

函数调用图:
这是这个函数的调用关系图:

◆ lmmc_std_stats_t_pdf()

lmmc_status_t lmmc_std_stats_t_pdf ( lmmc_real_t x,
lmmc_real_t df,
lmmc_real_t * out )

在文件 stdlib_statistics.c 第 197 行定义.

引用了 lmmc_dist_t_pdf() , 以及 lmmc_std_stats_t_pdf().

被这些函数引用 lmmc_std_stats_t_pdf().

函数调用图:
这是这个函数的调用关系图:

◆ lmmc_std_stats_t_cdf()

lmmc_status_t lmmc_std_stats_t_cdf ( lmmc_real_t x,
lmmc_real_t df,
lmmc_real_t * out )

在文件 stdlib_statistics.c 第 203 行定义.

引用了 lmmc_dist_t_cdf() , 以及 lmmc_std_stats_t_cdf().

被这些函数引用 lmmc_std_stats_t_cdf().

函数调用图:
这是这个函数的调用关系图:

◆ lmmc_std_stats_t_quantile()

lmmc_status_t lmmc_std_stats_t_quantile ( lmmc_real_t p,
lmmc_real_t df,
lmmc_real_t * out )

在文件 stdlib_statistics.c 第 209 行定义.

引用了 lmmc_dist_t_quantile() , 以及 lmmc_std_stats_t_quantile().

被这些函数引用 lmmc_std_stats_t_quantile().

函数调用图:
这是这个函数的调用关系图:

◆ lmmc_std_stats_chi2_pdf()

lmmc_status_t lmmc_std_stats_chi2_pdf ( lmmc_real_t x,
lmmc_real_t df,
lmmc_real_t * out )

在文件 stdlib_statistics.c 第 215 行定义.

引用了 lmmc_dist_chi2_pdf() , 以及 lmmc_std_stats_chi2_pdf().

被这些函数引用 lmmc_std_stats_chi2_pdf().

函数调用图:
这是这个函数的调用关系图:

◆ lmmc_std_stats_chi2_cdf()

lmmc_status_t lmmc_std_stats_chi2_cdf ( lmmc_real_t x,
lmmc_real_t df,
lmmc_real_t * out )

在文件 stdlib_statistics.c 第 221 行定义.

引用了 lmmc_dist_chi2_cdf() , 以及 lmmc_std_stats_chi2_cdf().

被这些函数引用 lmmc_std_stats_chi2_cdf().

函数调用图:
这是这个函数的调用关系图:

◆ lmmc_std_stats_chi2_quantile()

lmmc_status_t lmmc_std_stats_chi2_quantile ( lmmc_real_t p,
lmmc_real_t df,
lmmc_real_t * out )

在文件 stdlib_statistics.c 第 227 行定义.

引用了 lmmc_dist_chi2_quantile() , 以及 lmmc_std_stats_chi2_quantile().

被这些函数引用 lmmc_std_stats_chi2_quantile().

函数调用图:
这是这个函数的调用关系图:

◆ lmmc_std_stats_f_pdf()

lmmc_status_t lmmc_std_stats_f_pdf ( lmmc_real_t x,
lmmc_real_t df1,
lmmc_real_t df2,
lmmc_real_t * out )

在文件 stdlib_statistics.c 第 233 行定义.

引用了 lmmc_dist_f_pdf() , 以及 lmmc_std_stats_f_pdf().

被这些函数引用 lmmc_std_stats_f_pdf().

函数调用图:
这是这个函数的调用关系图:

◆ lmmc_std_stats_f_cdf()

lmmc_status_t lmmc_std_stats_f_cdf ( lmmc_real_t x,
lmmc_real_t df1,
lmmc_real_t df2,
lmmc_real_t * out )

在文件 stdlib_statistics.c 第 239 行定义.

引用了 lmmc_dist_f_cdf() , 以及 lmmc_std_stats_f_cdf().

被这些函数引用 lmmc_std_stats_f_cdf().

函数调用图:
这是这个函数的调用关系图:

◆ lmmc_std_stats_f_quantile()

lmmc_status_t lmmc_std_stats_f_quantile ( lmmc_real_t p,
lmmc_real_t df1,
lmmc_real_t df2,
lmmc_real_t * out )

在文件 stdlib_statistics.c 第 245 行定义.

引用了 lmmc_dist_f_quantile() , 以及 lmmc_std_stats_f_quantile().

被这些函数引用 lmmc_std_stats_f_quantile().

函数调用图:
这是这个函数的调用关系图:

◆ lmmc_std_stats_gamma_pdf()

lmmc_status_t lmmc_std_stats_gamma_pdf ( lmmc_real_t x,
lmmc_real_t shape,
lmmc_real_t scale,
lmmc_real_t * out )

在文件 stdlib_statistics.c 第 253 行定义.

引用了 lmmc_dist_gamma_pdf() , 以及 lmmc_std_stats_gamma_pdf().

被这些函数引用 lmmc_std_stats_gamma_pdf().

函数调用图:
这是这个函数的调用关系图:

◆ lmmc_std_stats_gamma_cdf()

lmmc_status_t lmmc_std_stats_gamma_cdf ( lmmc_real_t x,
lmmc_real_t shape,
lmmc_real_t scale,
lmmc_real_t * out )

在文件 stdlib_statistics.c 第 261 行定义.

引用了 lmmc_dist_gamma_cdf() , 以及 lmmc_std_stats_gamma_cdf().

被这些函数引用 lmmc_std_stats_gamma_cdf().

函数调用图:
这是这个函数的调用关系图:

◆ lmmc_std_stats_gamma_quantile()

lmmc_status_t lmmc_std_stats_gamma_quantile ( lmmc_real_t p,
lmmc_real_t shape,
lmmc_real_t scale,
lmmc_real_t * out )

在文件 stdlib_statistics.c 第 269 行定义.

引用了 lmmc_dist_gamma_quantile() , 以及 lmmc_std_stats_gamma_quantile().

被这些函数引用 lmmc_std_stats_gamma_quantile().

函数调用图:
这是这个函数的调用关系图:

◆ lmmc_std_stats_beta_pdf()

lmmc_status_t lmmc_std_stats_beta_pdf ( lmmc_real_t x,
lmmc_real_t alpha,
lmmc_real_t beta,
lmmc_real_t * out )

在文件 stdlib_statistics.c 第 278 行定义.

引用了 lmmc_dist_beta_pdf() , 以及 lmmc_std_stats_beta_pdf().

被这些函数引用 lmmc_std_stats_beta_pdf().

函数调用图:
这是这个函数的调用关系图:

◆ lmmc_std_stats_beta_cdf()

lmmc_status_t lmmc_std_stats_beta_cdf ( lmmc_real_t x,
lmmc_real_t alpha,
lmmc_real_t beta,
lmmc_real_t * out )

在文件 stdlib_statistics.c 第 286 行定义.

引用了 lmmc_dist_beta_cdf() , 以及 lmmc_std_stats_beta_cdf().

被这些函数引用 lmmc_std_stats_beta_cdf().

函数调用图:
这是这个函数的调用关系图:

◆ lmmc_std_stats_beta_quantile()

lmmc_status_t lmmc_std_stats_beta_quantile ( lmmc_real_t p,
lmmc_real_t alpha,
lmmc_real_t beta,
lmmc_real_t * out )

在文件 stdlib_statistics.c 第 294 行定义.

引用了 lmmc_dist_beta_quantile() , 以及 lmmc_std_stats_beta_quantile().

被这些函数引用 lmmc_std_stats_beta_quantile().

函数调用图:
这是这个函数的调用关系图:

◆ lmmc_std_stats_binomial_pmf()

lmmc_status_t lmmc_std_stats_binomial_pmf ( size_t k,
size_t n,
lmmc_real_t p,
lmmc_real_t * out )

在文件 stdlib_statistics.c 第 303 行定义.

引用了 lmmc_dist_binomial_pmf(), LMMC_STATUS_INVALID_ARGUMENT, LMMC_STATUS_NUMERICAL_FAILURE, LMMC_STATUS_OK , 以及 lmmc_std_stats_binomial_pmf().

被这些函数引用 lmmc_std_stats_binomial_pmf().

函数调用图:
这是这个函数的调用关系图:

◆ lmmc_std_stats_binomial_cdf()

lmmc_status_t lmmc_std_stats_binomial_cdf ( size_t k,
size_t n,
lmmc_real_t p,
lmmc_real_t * out )

在文件 stdlib_statistics.c 第 316 行定义.

引用了 lmmc_dist_binomial_cdf(), LMMC_STATUS_INVALID_ARGUMENT, LMMC_STATUS_NUMERICAL_FAILURE, LMMC_STATUS_OK , 以及 lmmc_std_stats_binomial_cdf().

被这些函数引用 lmmc_std_stats_binomial_cdf().

函数调用图:
这是这个函数的调用关系图:

◆ lmmc_std_stats_poisson_pmf()

lmmc_status_t lmmc_std_stats_poisson_pmf ( size_t k,
lmmc_real_t lambda,
lmmc_real_t * out )

在文件 stdlib_statistics.c 第 329 行定义.

引用了 lmmc_dist_poisson_pmf(), LMMC_STATUS_INVALID_ARGUMENT, LMMC_STATUS_NUMERICAL_FAILURE, LMMC_STATUS_OK , 以及 lmmc_std_stats_poisson_pmf().

被这些函数引用 lmmc_std_stats_poisson_pmf().

函数调用图:
这是这个函数的调用关系图:

◆ lmmc_std_stats_poisson_cdf()

lmmc_status_t lmmc_std_stats_poisson_cdf ( size_t k,
lmmc_real_t lambda,
lmmc_real_t * out )

在文件 stdlib_statistics.c 第 343 行定义.

引用了 lmmc_dist_poisson_cdf(), LMMC_STATUS_INVALID_ARGUMENT, LMMC_STATUS_NUMERICAL_FAILURE, LMMC_STATUS_OK , 以及 lmmc_std_stats_poisson_cdf().

被这些函数引用 lmmc_std_stats_poisson_cdf().

函数调用图:
这是这个函数的调用关系图: