60AF_DEPRECATED(
"Use \ref af::var(const array&, const af_var_bias, const dim_t)")
63#if AF_API_VERSION >= 38
94#if AF_API_VERSION >= 37
124AF_DEPRECATED(
"Use af::stdev(const array&, const af_var_bias, const dim_t)")
127#if AF_API_VERSION >= 38
142 const dim_t dim = -1);
158AF_DEPRECATED(
"Use af::cov(const af::array&, const array&, conv af_var_bias)")
161#if AF_API_VERSION >= 38
225AF_DEPRECATED(
"Use af::var(const af::array&, const af_var_bias)")
228#if AF_API_VERSION >= 38
265AF_DEPRECATED(
"Use af::stdev(const array&, const af_var_bias)")
268#if AF_API_VERSION >= 38
307#if AF_API_VERSION >= 36
381#if AF_API_VERSION >= 38
416#if AF_API_VERSION >= 37
449#if AF_API_VERSION >= 38
486#if AF_API_VERSION >= 38
562#if AF_API_VERSION >= 38
612#if AF_API_VERSION >= 38
661#if AF_API_VERSION >= 36
A multi dimensional data container.
#define AF_DEPRECATED(msg)
@ AF_TOPK_MAX
Top k max values.
@ AF_VARIANCE_POPULATION
Population variance.
AFAPI af_err af_corrcoef(double *realVal, double *imagVal, const af_array X, const af_array Y)
C Interface for correlation coefficient.
AFAPI T corrcoef(const array &X, const array &Y)
C++ Interface for correlation coefficient.
AFAPI af_err af_cov(af_array *out, const af_array X, const af_array Y, const bool isbiased)
C Interface for covariance.
AFAPI af_err af_cov_v2(af_array *out, const af_array X, const af_array Y, const af_var_bias bias)
C Interface for covariance.
AFAPI array cov(const array &X, const array &Y, const bool isbiased=false)
C++ Interface for covariance.
AFAPI af_err af_mean_all_weighted(double *real, double *imag, const af_array in, const af_array weights)
C Interface for mean of all elements in weighted input.
AFAPI af_err af_mean_weighted(af_array *out, const af_array in, const af_array weights, const dim_t dim)
C Interface for mean of weighted input array.
AFAPI array mean(const array &in, const dim_t dim=-1)
C++ Interface for mean.
AFAPI af_err af_mean(af_array *out, const af_array in, const dim_t dim)
C Interface for mean.
AFAPI af_err af_mean_all(double *real, double *imag, const af_array in)
C Interface for mean of all elements.
AFAPI af_err af_stdev_all(double *real, double *imag, const af_array in)
C Interface for standard deviation of all elements.
AFAPI array stdev(const array &in, const dim_t dim=-1)
C++ Interface for standard deviation.
AFAPI af_err af_stdev_all_v2(double *real, double *imag, const af_array in, const af_var_bias bias)
C Interface for standard deviation of all elements.
AFAPI af_err af_stdev(af_array *out, const af_array in, const dim_t dim)
C Interface for standard deviation.
AFAPI af_err af_stdev_v2(af_array *out, const af_array in, const af_var_bias bias, const dim_t dim)
C Interface for standard deviation.
AFAPI void topk(array &values, array &indices, const array &in, const int k, const int dim=-1, const topkFunction order=AF_TOPK_MAX)
C++ Interface for finding top k elements along a given dimension.
AFAPI af_err af_topk(af_array *values, af_array *indices, const af_array in, const int k, const int dim, const af_topk_function order)
C Interface for finding top k elements along a given dimension.
AFAPI af_err af_var_weighted(af_array *out, const af_array in, const af_array weights, const dim_t dim)
C Interface for variance of weighted input array.
AFAPI array var(const array &in, const bool isbiased=false, const dim_t dim=-1)
C++ Interface for variance.
AFAPI af_err af_var_all_weighted(double *realVal, double *imagVal, const af_array in, const af_array weights)
C Interface for variance of all elements in weighted input.
AFAPI af_err af_var_all(double *realVal, double *imagVal, const af_array in, const bool isbiased)
C Interface for variance of all elements.
AFAPI af_err af_var(af_array *out, const af_array in, const bool isbiased, const dim_t dim)
C Interface for variance.
AFAPI af_err af_var_all_v2(double *realVal, double *imagVal, const af_array in, const af_var_bias bias)
C Interface for variance of all elements.
AFAPI af_err af_var_v2(af_array *out, const af_array in, const af_var_bias bias, const dim_t dim)
C Interface for variance.
AFAPI void meanvar(array &mean, array &var, const array &in, const array &weights, const af_var_bias bias=AF_VARIANCE_POPULATION, const dim_t dim=-1)
C++ Interface for mean and variance.
AFAPI af_err af_meanvar(af_array *mean, af_array *var, const af_array in, const af_array weights, const af_var_bias bias, const dim_t dim)
C Interface for mean and variance.