Re: [sage-support] Re: Using find_fit() on lambert_w()

2012-09-09 Thread ChrisHunter
> which isn't bad. > > Exactly, it' s great! *Thanks a lot, Doug*. You have saved my day. Well, most of next week as a matter of a fact :-D Chris -- You received this message because you are subscribed to the Google Groups "sage-support" group. To post to this group, send email to sage-su

[sage-support] Using find_fit() on lambert_w()

2012-09-07 Thread ChrisHunter
I need to do curve fitting on a model including the lambert_w() function. But using the find_fit() directly won't work as this primitive example shows: sage: g(t, a, b, c) = a * lambert_w(b * t - c) sage: a = 1.2 sage: b = 0.5 sage: c = 0.1 sage: f(x) = g(x, a, b, c) sage: data = [(i, f(i) * nor