regression function with only one variable
Hi. Entering f(x,y):=RightSide(FitLine(l1)) in a CAS view delivers a regression function with the two variables x and y. I can use this function via f(23,y) or f(42,y). Or I can define g(x):=f(x,y). Doing this, I can use the simple input method g(23) or g(42).
Sadly, I cannot get the same result directly by typing g(x):=RightSide(FitLine(l1)). Any ideas regarding this topic would be welcome.