GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
c_reg.c File Reference
#include <grass/gis.h>
Include dependency graph for c_reg.c:

Go to the source code of this file.

Macros

#define REGRESSION_SLOPE   0
 
#define REGRESSION_OFFSET   1
 
#define REGRESSION_COEFF_DET   2
 

Functions

void c_reg_m (DCELL *result, DCELL *values, int n, const void *closure)
 
void c_reg_c (DCELL *result, DCELL *values, int n, const void *closure)
 
void c_reg_r2 (DCELL *result, DCELL *values, int n, const void *closure)
 
void w_reg_m (DCELL *result, DCELL(*values)[2], int n, const void *closure)
 
void w_reg_c (DCELL *result, DCELL(*values)[2], int n, const void *closure)
 
void w_reg_r2 (DCELL *result, DCELL(*values)[2], int n, const void *closure)
 

Macro Definition Documentation

#define REGRESSION_COEFF_DET   2

Definition at line 5 of file c_reg.c.

Referenced by c_reg_r2(), and w_reg_r2().

#define REGRESSION_OFFSET   1

Definition at line 4 of file c_reg.c.

Referenced by c_reg_c(), and w_reg_c().

#define REGRESSION_SLOPE   0

Definition at line 3 of file c_reg.c.

Referenced by c_reg_m(), and w_reg_m().

Function Documentation

void c_reg_c ( DCELL *  result,
DCELL *  values,
int  n,
const void *  closure 
)

Definition at line 81 of file c_reg.c.

References REGRESSION_OFFSET.

void c_reg_m ( DCELL *  result,
DCELL *  values,
int  n,
const void *  closure 
)

Definition at line 76 of file c_reg.c.

References REGRESSION_SLOPE.

void c_reg_r2 ( DCELL *  result,
DCELL *  values,
int  n,
const void *  closure 
)

Definition at line 86 of file c_reg.c.

References REGRESSION_COEFF_DET.

void w_reg_c ( DCELL *  result,
DCELL(*)  values[2],
int  n,
const void *  closure 
)

Definition at line 165 of file c_reg.c.

References REGRESSION_OFFSET.

void w_reg_m ( DCELL *  result,
DCELL(*)  values[2],
int  n,
const void *  closure 
)

Definition at line 160 of file c_reg.c.

References REGRESSION_SLOPE.

void w_reg_r2 ( DCELL *  result,
DCELL(*)  values[2],
int  n,
const void *  closure 
)

Definition at line 170 of file c_reg.c.

References REGRESSION_COEFF_DET.