7#ifndef LIBA_REGRESS_SIMPLE_H
8#define LIBA_REGRESS_SIMPLE_H
20#if defined(__cplusplus)
94#if defined(__cplusplus)
109#if defined(__cplusplus)
#define a_float
Definition a.h:785
void a_regress_simple_zero(a_regress_simple *ctx)
zeroing for simple linear regression
void a_regress_simple_ols(a_regress_simple *ctx, size_t n, double const *x, double const *y)
ordinary least squares for simple linear regression
void a_regress_simple_olsx(a_regress_simple *ctx, size_t n, double const *x, double const *y, double x_mean)
ordinary least squares for simple linear regression
void a_regress_simple_olsy(a_regress_simple *ctx, size_t n, double const *x, double const *y, double y_mean)
ordinary least squares for simple linear regression
void a_regress_simple_ols_(a_regress_simple *ctx, size_t n, double const *x, double const *y, double x_mean, double y_mean)
ordinary least squares for simple linear regression
double a_regress_simple_evar(a_regress_simple const *ctx, double val)
calculate predicted value for simple linear regression
double a_regress_simple_eval(a_regress_simple const *ctx, double val)
calculate predicted value for simple linear regression
void a_regress_simple_init(a_regress_simple *ctx, double coef, double bias)
initialize for simple linear regression
#define a_size
Definition a.h:610
instance structure for simple linear regression
Definition regress_simple.h:106