Thanks a lots. I really appreciate your answer. I’m zero in math and will try to figure out how to use it exactly. I’m really happy to see that you plan to add that. I think it will be a welcome addition. Just as a reference, I think that all “Fit” functions that are available as trending in Excel should be implemented. (Note: In excel, you can choose point graphic from 2 columms with numbers, then right click on one point and choose trending).
I would also recommend to make specific results for those new “Fit” functions with intuitive property names. Like for “Fit” of “Power” ==> result coud be “CurveFitResultPower” class where there is a “pow” and “multiplicator” properties. (ie better names could be chosen, it is only as an example).
Also each “Fit” result could implement a standard interface where there will always be a “rSquare” property which could be used as input for other function which verify the validity of the fitting or anything a good math guy could want (don’t know - I’m bad in math).
Also an overloaded ToString which explain what you have would be really great!
But all of that are suggestions.