I've had a quick poke around the functionality and classes in the libraries and I think what I need is there, but the docs I find don't really help me much. I'm a little over-saturated seeing so many different interpolation classes and interfaces, I've no idea which are the right ones to be honest.
Initially, all I want to do is input a bunch of 2D data-points (i.e. a scatter-plot) and calculate a standard linear fit, of the form y=mx+c. I'd want to know what the fit-equation is and also use the fit to generate new data points. All very standard :)
Later I want to be able to easy create other fits to the same set of data, e.g a quadratic fit or other standard tools (my client has not told me which but I don't think anything unusual). The one thing they mentioned is a constrained fit... where we want to find the best trend-line that is forced to go through e.g. the origin. Is that something that's supported?
Sorry for the beginner question, you must get these all the time but the API documentation didn't appear to be complete and I don't want to delve into the source if it can be avoided.
Thanks for any help.