Slope-func
This function is used to calculate the slope of the linear regression of the given curve, which is defined as:
where and are the means of x and y.
double Slope(vector vx, vector vy)
vx
vy
Return the the slope of the linear regression of the given curve.
newbook; col(A) = data(1,5); col(B) = uniform(5); Slope(col(A),col(B)) = ;
Intercept