On 4 mar, 11:49, Han Frederic <h...@math.jussieu.fr> wrote:
> Hello,
>
> I'm new to sage,
>
> I have tried to adapt the maple.py interface to obtain a giac
> interface for sage.
>
> The current version is there:http://www.math.jussieu.fr/~han/xcas/giac.py
>
> one needs a recent giac program. (this week, giac --sage should gives
> a working session) . Bernard parisse updated the spkg 
> there:http://www-fourier.ujf-grenoble.fr/~parisse/giac/giac-0_9_1.spkg
>
> Things like this work after a: from giac import giac
>
> giac.normal?
> (tab completion also)
> f=giac('x+1')
> (f*f).normal()
> R.<x,y>=QQ[]
> f=(x+y)^5
> f2=giac(f)
> f2.factor()
> x,y,z=giac('x'),giac('y'),giac('z')
> f=(x+y+z+1/3)^5;(f^2).normal()
> giac.int(1/(cos(2*x)+cos(x)),x,0,'pi/4').simplify()
>
> Can someone help me for the following problems?
> -element of the symbolic ring need to be quoted. Ex pi/4 in the
> giac.int
> -(z+1)^2 works but not z+sqrt(5)
> -import a sage matrix to giac()
> Ex: m=matrix(2,3,range(6))  should be translated to: matrix([[0,1,2],
> [3,4,5]])  or [[0,1,2],[3,4,5]] to be properly evaluated. (vectors
> should be translated to things like this [1,2,3] )
> -giac.sum('k','k')  doesn't do giac('sum(k,k)')
>

I have found the files to solve those problems.

best

Frederic


> Best
>
> Frederic

-- 
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