Compute the slope and y-intercept of a line defined by two points.
[a,b] = NL_F_Line2Points(x1,y1,x2,y2)
x-coordinate of the first point.
y-coordinate of the first point.
x-coordinate of the second point.
y-coordinate of the second point.
Slope.
y-intercept.
NL_F_Line2Points computes the slope a and y-intercept b of the line defined by the points of coordinates (x1,y1) and (x2,y2). The line is defined by y=a.x+b. If y1=y2, then a=[] and b=[]. The line is defined by y=y1.