Re: [fricas-devel] Linking (lisp) libraries to FriCAS?

2015-10-28 Thread Alasdair McAndrew
Not easy is it? We want a return value (of a function defined in a spad file) to consist of two DoubleFloat values and an integer. As you know, Bill Page had to use a list of DoubleFloats one of whose values was of type "pretend Integer", which is a kludge - although it works. We are told that s

Re: [fricas-devel] Linking (lisp) libraries to FriCAS?

2015-10-28 Thread Waldek Hebisch
Alasdair McAndrew wrote: > > I tried to define > > U==>Union(DoubleFloat, Integer) > > and then have the return list r to be of type U: > > r:List U:=... > > Then I thought r could happily include both DF's and integers. But it > doesn't work in the way I hoped it would. Drat. Well, at low

Re: [fricas-devel] Linking (lisp) libraries to FriCAS?

2015-10-28 Thread Alasdair McAndrew
I tried to define U==>Union(DoubleFloat, Integer) and then have the return list r to be of type U: r:List U:=... Then I thought r could happily include both DF's and integers. But it doesn't work in the way I hoped it would. Drat. On Wed, Oct 28, 2015 at 1:11 PM, Bill Page wrote: > On 27 O

Re: [fricas-devel] Linking (lisp) libraries to FriCAS?

2015-10-28 Thread Waldek Hebisch
Bill Page wrote: > > Perhaps there is some easy way of using routines already available in > BOOT to construct a Record value directly? It would take me some time > to find it. Do you know Waldek? Or can you suggest a different > possible permanent solution? It seems there are no ready routine.

Re: [fricas-devel] Re: FriCAS in a console

2015-10-28 Thread Alasdair McAndrew
It seems to do command completion anyway, of at least some commands. But I'll add that command.list to rfricas and see what happens. The attached file works for me... you may have to change the first few lines according to your own installation. I just copied them from my "fricas" executable fil

[fricas-devel] Re: FriCAS in a console

2015-10-28 Thread oldk1331
On Wednesday, October 28, 2015 at 11:16:10 AM UTC+8, Alasdair wrote: > > Better FriCAS in a console: > > (1) Download and install rlwrap > (2) put the attached file somewhere in your path and make it executable > (this is a copy of the "rmaxima" command with very slight changes) > (3) run "rfric

[fricas-devel] My package for interacting with online databases

2015-10-28 Thread Thomas Baruchel
Hi everybody, for my own purposes I wrote this quick package: https://github.com/baruchel/numerical-routines/tree/master/spad The program 'w3m' needs to be installed. I share it in case other people want to use it. Regards. -- You received this message because you are subscribed to the Googl