On 30 October 2010 23:47, Jason Grout <jason-s...@creativetrax.com> wrote:
> On 10/30/10 10:20 AM, Oscar Lazo wrote:
>>
>
>> Making solution_dict the default seems apropiate for find_fit and
>> solve. I still would prefer a symbolic result for find_fit though (at
>> least an option to get that). Usually when one fits some data to a
>> model what one is trying to do is to interpolate data in between the
>> current data (plot the fitted function etc). Mathematica uses this two
>> outputs in two different functions:
>>
>> For Fit they use a symbolic output:
>> http://reference.wolfram.com/mathematica/ref/Fit.html
>>
>> For FindFit they use something that looks like a dictionary:
>> http://reference.wolfram.com/mathematica/ref/FindFit.html
>
>
> I think that having two functions sounds like a great approach.
>
> Jason

Wolfram Research do the same with integration.

Integrate[]  symbolic
NIntegrate[] -  numeric

N[ Integrate[] ] - Numerical approximation to a symbolic answer.
Integrate[] //N - another way of writing the above

The same for finding roots.

http://reference.wolfram.com/mathematica/ref/FindRoot.html (numerical)
http://reference.wolfram.com/mathematica/ref/Root.html (symbolic)

There are undoubtedly other examples too. Mathematica uses different
functions for numerical and symbolic work.

Dave

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to