On Dec 23, 2008, at 3:19 AM, [email protected] wrote:

> Hi
>
> I am new to sage and hence, not very familiar.
>
> However, while going through the documentation, I saw some examples of
> usage of functions that are provided by other packages like maxima,
> octave etc.
>
> I am bit confused, about whether I have to know all those packages
> before being able to use sage to its full advantage, or is it the case
> that, sage automatically chooses one of these packages (maxima etc.)
> and solves the required problem.

In nearly all cases, you don't have to worry about what package is  
being used under the hood. One of the advantages of Sage is that it  
provides a consistent interface across all of these packages as well  
as the Sage core library, so you don't have to learn 50+ arbitrary  
interfaces to get some work done.  There are still lots of cases  
where certain functionality is not wrapped yet, but these tend to be  
the less commonly used cases that no one had needed yet.

> And if this is the case, how do I know which package has been selected
> for execution.

There is some code that is a start in this direction, (by Mike Hansen  
IIRC). It uses the profiler to try and determine what was called,  
which works pretty well on most problems.

sage:         sage: from sage.misc.citation import get_systems
sage:         sage: get_systems('integrate(x^2, x)')
['Maxima']
sage:         sage: R.<x,y,z> = QQ[]
sage:         sage: I = R.ideal(x^2+y^2, z^2+y)
sage:         sage: get_systems('I.primary_decomposition()')
['Singular']



--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to