LineFit
Each of the following functions references a LineFit data structure as the first parameter.
Function | Description |
---|---|
Returns the sum of the squares of the distances from the points to the line. |
|
Returns the y-coordinate of the indexed point. |
|
Returns the distance between the indexed point and the line. |
|
Returns the point that is farthest from the line. |
|
Returns the index of the point that is farthest from the line. |
|
Returns the number of points used to compute the line. |
|
Returns the x-coordinate of the indexed point. |