Behaviour
It computes the linear regression.
Parameters
Return type
Binary-array.
Examples
Compute the values of regression line in points ‘x’ given the dimension ‘dimension’.
oph_gsl_fit_linear('OPH_DOUBLE','OPH_DOUBLE',measure,dimension,x)
Operation type
Simple.
| Argument name | Type | Mandatory | Values | Default | Min/Max-value | Min/Max-times |
|---|---|---|---|---|---|---|
| input measure type | “oph_type” | “yes” | “‘oph_double’|’oph_float’|’oph_int’|’oph_long’|’oph_short’|’oph_byte’” | “1” / “1” | ||
| output measure type | “oph_type” | “yes” | “‘oph_double’|’oph_float’|’oph_int’|’oph_long’|’oph_short’|’oph_byte’” | “1” / “1” | ||
| measure | “binary-array” | “yes” | “1” / “1” | |||
| dimension | “binary-array” | “yes” | “1” / “1” | |||
| x | “binary-array” | “yes” | “1” / “1” |