Index of /~han/xcas

[ICO]NameLast modifiedSizeDescription

[DIR]Parent Directory   -
[   ]giac-0.9.5.spkg 28-Jan-2012 12:16 21M
[   ]giac.py 31-Mar-2011 00:08 36K
[DIR]giacxcas-r2/ 12-Oct-2010 00:45 -
[   ]giacxcas.shar 09-Sep-2010 13:38 127K
[   ]sagegiac-bench.input 15-Mar-2011 15:21 2.1K
[TXT]sagegiac-bench.txt 15-Mar-2011 15:21 4.2K
[   ]sagegiac.diff 06-Jun-2011 00:45 45K
[   ]sagegiac.diff.old 31-Mar-2011 00:06 45K
[   ]sagegiac_addons1.diff 27-Oct-2011 16:00 7.3K
[DIR]sources/ 11-Dec-2011 11:12 -
[   ]test-giac.sws 29-Nov-2011 15:48 26K
[   ]trac10940.diff 26-Nov-2011 14:25 46K
[IMG]xcas-logo.png 24-Dec-2008 10:51 16K
[   ]xcas093_user-linux32..>07-Oct-2011 11:51 30M
[   ]xcas094_user-linux32..>09-Nov-2011 23:58 57M
[   ]xcas095_user-amd64.tgz 02-Dec-2011 16:05 61M
[   ]xcas095_user-linux32..>20-Nov-2011 10:58 57M

giac-xcas

xcas a maintenant un port officiel pour FreeBSD: math/giacxcas

Une version generique de xcas pour linux 32bits: 0.9.3 et 0.9.5 32bits 0.9.5 amd64

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

A giac spkg (The trac submission)

A patch to have a giac interface in sage (The trac submission)


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

Examples; more examples of giac in sage or the corresponding sage worksheet

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