Index of /~han/xcas
giac-xcas
xcas a maintenant un port officiel pour FreeBSD: math/giacxcas
NB: Cette version installe tout dans un seul repertoire xcas093 que vous pouvez mettre
dans votre HOME directory, ou bien ailleurs si vous editez les chemins dans le script
nommé xcas de ce repertoire. Cette version est faite pour minimiser les dépendances afin
de pouvoir s'installer sur un maximum de configurations. En revanche elle ne sera surement
pas la plus performante pour votre configuration.
giac/xcas and sage
One needs a giac version > 0.9.1. (giac --sage should not complain.)
For a complete giac interface, (Symbolic coercion, matrix...) use the patch file
Here is a diff file
for sage (tested successfully with 4.6 or 4.7 or 4.8) here.
Remark: you can apply the patch on a clone of your sage install so that you can get your original installation of sage easily:
Create a clone branch with: sage -clone test
"test" is now your default branch, you can patch it. You can go back to the original sage with: sage -b main
How to patch:
in sage do:
hg_sage.patch("trac10940.diff")
then quit and rebuild sage with: sage -b
run sage then giac(2) or create the directory data/extcode/giac/user
Some benchmarks on polynomials of the giac interface: here
To have some help on the interface type in sage: giac?
Ex: pour travailler dans giac
f=giac('x+1')
(f*f).factor()
pour passer de sage a giac:
R.<x,y>=QQ[]
f=(x+y)^5
on cree l'objet giac correspondant et on le factorise par giac
f2=giac(f)
f2.factor()
on peut aussi créer quelques éléments de type giac puis travailler automatiquement dans
giac ainsi:
x,y,z=giac('x'),giac('y'),giac('z') ou mieux: x,y,z=tuple(giac('x,y,z'))
f=(x+y+z+1/3)^5;(f^2).normal()
giac.int(1/(cos(2*x)+cos(x)),x,0,'pi/4').simplify()
ou bien
(1/(cos(2*x)+cos(x))).int(x,0,pi/4).simplify()
Last modified: Mon Jan 30 08:53:53 CET 2012