GRASS GIS 7 Programmer's Manual  7.7.svn(2018)-r73380
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
c_reg.c File Reference
#include <math.h>
#include <grass/gis.h>
#include <grass/raster.h>
Include dependency graph for c_reg.c:

Go to the source code of this file.

Enumerations

enum  {
  REGRESSION_SLOPE = 0, REGRESSION_OFFSET = 1, REGRESSION_COEFF_DET = 2, REGRESSION_T = 3,
  REGRESSION_P = 4
}
 

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 c_reg_t (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)
 
void w_reg_t (DCELL *result, DCELL(*values)[2], int n, const void *closure)
 

Enumeration Type Documentation

anonymous enum
Enumerator
REGRESSION_SLOPE 
REGRESSION_OFFSET 
REGRESSION_COEFF_DET 
REGRESSION_T 
REGRESSION_P 

Definition at line 6 of file c_reg.c.

Function Documentation

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

Definition at line 92 of file c_reg.c.

References REGRESSION_OFFSET.

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

Definition at line 87 of file c_reg.c.

References REGRESSION_SLOPE.

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

Definition at line 97 of file c_reg.c.

References REGRESSION_COEFF_DET.

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

Definition at line 102 of file c_reg.c.

References REGRESSION_T.

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

Definition at line 186 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 181 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 191 of file c_reg.c.

References REGRESSION_COEFF_DET.

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

Definition at line 196 of file c_reg.c.

References REGRESSION_T.