liba 0.1.15
An algorithm library based on C/C++
Loading...
Searching...
No Matches
a_regress_simple Struct Reference

instance structure for simple linear regression More...

#include <regress_simple.h>

Public Member Functions

void init (double a=1, double b=0)
 
double eval (double val) const
 
double evar (double val) const
 
void ols (size_t n, double const *x, double const *y, double x_mean, double y_mean)
 
void olsx (size_t n, double const *x, double const *y, double x_mean)
 
void olsy (size_t n, double const *x, double const *y, double y_mean)
 
void ols (size_t n, double const *x, double const *y)
 
void zero ()
 

Data Fields

double coef
 
double bias
 

Detailed Description

instance structure for simple linear regression


The documentation for this struct was generated from the following file: