Skip to content
Snippets Groups Projects
Commit fb692fc7 authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Improve doc

parent 2d692bc1
No related branches found
No related tags found
No related merge requests found
......@@ -15,11 +15,21 @@ namespace simox::math
* - a is a 3D bias vector
* - b is a 3D slope vector
*
* In matrix notation, the underlying equation system is:
* In matrix notation, the equation system represented by the model is:
*
* [[ a_0 b_0 ] [ 1 ] [ y_0 ]
* [ a_1 b_1 ] * [ x ] = [ y_1 ]
* [ a_2 b_2 ]] [ y_2 ]
*
* Given data x[j] in R and y[j] \in R^3 (j = 0 .. n-1),
* the regression solves the following equation system(s)
* for [ a_i, b_i ] (i = 0 .. (3-1)):
*
* [[ 1 x[0] ] [ y[0]_i ]
* [ ... ] [ a_i ] [ ... ]
* [ 1 x[j] ] * [ b_i ] = [ y[j]_i ]
* [ ... ] [ ... ]
* [ 1 x[n-1] ]] [ y[n-1]_i ]
*/
class LinearRegression3D
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment