SecreC 2 language 2.9.0 (2026.10)
Language and standard library reference
Loading...
Searching...
No Matches
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 x, D int32 y, D bool filter)
 
template<domain D :shared3p >
D float64 simpleLinearRegression (D int64 x, D int64 y, D bool filter)
 
template<domain D :shared3p >
D float32 simpleLinearRegression (D float32 x, D float32 y, D bool filter)
 
template<domain D :shared3p >
D float64 simpleLinearRegression (D float64 x, D float64 y, D bool filter)
 
template<domain D :shared3p >
D float32 linearRegression (D int32 variables, D int32 dependent, int64 method)
 
template<domain D :shared3p >
D float64 linearRegression (D int64 variables, D int64 dependent, int64 method)
 
template<domain D :shared3p >
D float32 linearRegression (D float32 variables, D float32 dependent, int64 method)
 
template<domain D :shared3p >
D float64 linearRegression (D float64 variables, D float64 dependent, int64 method)
 
template<domain D :shared3p >
D float32 linearRegressionCG (D int32 variables, D int32 dependent, uint iterations)
 
template<domain D :shared3p >
D float64 linearRegressionCG (D int64 variables, D int64 dependent, uint iterations)
 
template<domain D :shared3p >
D float32 linearRegressionCG (D float32 variables, D float32 dependent, uint iterations)
 
template<domain D :shared3p >
D float64 linearRegressionCG (D float64 variables, D float64 dependent, uint iterations)
 
template<domain D :shared3p >
D float32 weightedLinearRegression (D float32 variables, D float32 dependent, D float32 weights)
 
template<domain D :shared3p >
D float64 weightedLinearRegression (D float64 variables, D float64 dependent, D float64 weights)
 
 deprecated ("the float32 version of LOESS is deprecated due to low precision. Use float64 version.") LOESSResult< D
 
float32 loess (D int32 x, D int32 y, float64 span, float32 xmin, float32 xmax, uint xpoints, uint degree)
 
template<domain D :shared3p >
LOESSResult< D, float64 > loess (D int64 x, D int64 y, float64 span, float64 xmin, float64 xmax, uint xpoints, uint degree)
 
template<domain D :shared3p >
 deprecated ("the float32 version of LOESS is deprecated due to low precision. Use float64 version.") LOESSResult< D
 
float32 loess (D float32 x, D float32 y, float64 span, float32 xmin, float32 xmax, uint xpoints, uint degree)
 
template<domain D :shared3p >
LOESSResult< D, float64 > loess (D float64 x, D float64 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