SecreC 2 language  2.8.0 (2023.09)
Language and standard library reference
Data Structures | Functions | Variables
shared3p_statistics_regression.sc File Reference

Data Structures

struct  LOESSResult< shared3p, T >
 

Functions

template<domain D :shared3p >
D float32 simpleLinearRegression (D int32[[1]] x, D int32[[1]] y, D bool[[1]] filter)
 
template<domain D :shared3p >
D float64 simpleLinearRegression (D int64[[1]] x, D int64[[1]] y, D bool[[1]] filter)
 
template<domain D :shared3p >
D float32 simpleLinearRegression (D float32[[1]] x, D float32[[1]] y, D bool[[1]] filter)
 
template<domain D :shared3p >
D float64 simpleLinearRegression (D float64[[1]] x, D float64[[1]] y, D bool[[1]] filter)
 
template<domain D :shared3p >
D float32 linearRegression (D int32[[2]] variables, D int32[[1]] dependent, int64 method)
 
template<domain D :shared3p >
D float64 linearRegression (D int64[[2]] variables, D int64[[1]] dependent, int64 method)
 
template<domain D :shared3p >
D float32 linearRegression (D float32[[2]] variables, D float32[[1]] dependent, int64 method)
 
template<domain D :shared3p >
D float64 linearRegression (D float64[[2]] variables, D float64[[1]] dependent, int64 method)
 
template<domain D :shared3p >
D float32 linearRegressionCG (D int32[[2]] variables, D int32[[1]] dependent, uint iterations)
 
template<domain D :shared3p >
D float64 linearRegressionCG (D int64[[2]] variables, D int64[[1]] dependent, uint iterations)
 
template<domain D :shared3p >
D float32 linearRegressionCG (D float32[[2]] variables, D float32[[1]] dependent, uint iterations)
 
template<domain D :shared3p >
D float64 linearRegressionCG (D float64[[2]] variables, D float64[[1]] dependent, uint iterations)
 
template<domain D :shared3p >
D float32 weightedLinearRegression (D float32[[2]] variables, D float32[[1]] dependent, D float32[[1]] weights)
 
template<domain D :shared3p >
D float64 weightedLinearRegression (D float64[[2]] variables, D float64[[1]] dependent, D float64[[1]] weights)
 
 deprecated ("the float32 version of LOESS is deprecated due to low precision. Use float64 version.") LOESSResult< D
 
float32 loess (D int32[[1]] x, D int32[[1]] y, float64 span, float32 xmin, float32 xmax, uint xpoints, uint degree)
 
template<domain D :shared3p >
LOESSResult< D, float64 > loess (D int64[[1]] x, D int64[[1]] y, float64 span, float64 xmin, float64 xmax, uint xpoints, uint degree)
 
float32 loess (D float32[[1]] x, D float32[[1]] y, float64 span, float32 xmin, float32 xmax, uint xpoints, uint degree)
 
template<domain D :shared3p >
LOESSResult< D, float64 > loess (D float64[[1]] x, D float64[[1]] y, float64 span, float64 xmin, float64 xmax, uint xpoints, uint degree)
 

Variables

int64 LINEAR_REGRESSION_INVERT = 0
 
int64 LINEAR_REGRESSION_LU_DECOMPOSITION = 1
 
int64 LINEAR_REGRESSION_GAUSS = 2
 
int64 LINEAR_REGRESSION_CONJUGATE_GRADIENT = 3