Skip to content

Instantly share code, notes, and snippets.

@philshem
Last active May 2, 2017 04:36
Show Gist options
  • Save philshem/8905002 to your computer and use it in GitHub Desktop.
Save philshem/8905002 to your computer and use it in GitHub Desktop.
Scans a .mbox email file and reports back the frequency of words.
# scans a .mbox email file and reports back the frequency of words
import mailbox
import re
from multiprocessing import Pool
mbox = mailbox.mbox('sample.maxima.mbox')
def main():
searchlist = ['advisor','adviser','the']
print '(term,total_emails,email_count,term_count)'
if True:
p = Pool(2)
outlist = p.map(scanmsg, searchlist)
print outlist
else:
for search in searchlist:
print scanmsg(search)
def scanmsg(term):
from collections import Counter
total_emails = 0 # total emails searched
term_count = 0 # total count of term (can be more than the # of emails)
email_count = 0 # count of emails that include term
for message in mbox:
total_emails += 1
text = str(message.get_payload())
get_count = re.split(r'[^0-9A-Za-z]+',text.lower()).count(term)
if get_count > 0:
term_count += get_count
email_count += 1
return term,total_emails,email_count,term_count
if __name__ == '__main__':
import time
start_time = time.clock()
main() # run the whole thing
print round(time.clock() - start_time,2),'seconds'
From [email protected] Thu Apr 12 13:32:26 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3CIWQM01328
for <[email protected]>; Thu, 12 Apr 2001 13:32:26 -0500
Received: from abacus.fnal.gov (IDENT:[email protected] [131.225.84.108])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id NAA04064
for <[email protected]>; Thu, 12 Apr 2001 13:32:25 -0500
Received: from abacus.fnal.gov (IDENT:[email protected] [127.0.0.1])
by abacus.fnal.gov (8.11.0/8.11.0) with SMTP id f3CIWOI09754
for <[email protected]>; Thu, 12 Apr 2001 13:32:24 -0500
Date: Thu, 12 Apr 2001 13:32:24 -0500
Message-Id: <[email protected]>
User-Agent: Pan/0.9.6 (Unix)
From: "James Amundson" <[email protected]>
To: [email protected]
References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]>
Subject: [Maxima] Re: gcl compile
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Status: O
[This is an email copy of a Usenet post to "comp.lang.lisp"]
In article <[email protected]>, "Richard Fateman"
<[email protected]> wrote:
> Certainly the details of the
> interaction between the Maxima source and GCL tend to be better debugged since
> Bill Schelter can change either one.
Right. Furthermore, I am sure maxima is much better tested under gcl than any
other lisp. There can't be very many people using maxima with a lisp other than
gcl -- it required quite a bit of effort to do so until recently.
> If "better" means "can run faster" or
> "is more reliable" or "is more convenient to debug" or "is smaller" then it is
> not obvious how other lisps might compare.
Exactly. I'll bet clisp is the slowest choice, but it has GNU readline support,
which makes it about 1000 times more comfortable to use from the command line.
Is that "better"?
> I would be interested in seeing
> some benchmarks
As would I. It would be great to produce a reasonable benchmarking suite for
maxima.
>. Schelter provides a test suite, which could be used as a
> basis for comparison, though simple speed tests are easy to set up. e.g.
> (showtime:all, ratsimp((a+b+c+d+1)^15) )$ or some variant of that.
Hey! There's a fun game. I tried your simple test on my 800 MHz Linux machine.
The results are appended at the end of this message. Unfortunately, I'm a very bad
benchmarker: I used different versions of maxima with each lisp implementation.
(5.4 with GCL, 5.5 current cvs with CMU and 5.5 cvs as of a few weeks ago with
Clisp.) I also don't have the most recent versions of GCL and Clisp. If I had a
more realistic benchmark I would try a better test.
> I think Schelter is doing a great public service making Maxima available
> free.
Yes. He deserves a great deal of credit.
--Jim Amundson
The timings. Notice that I used (a+b+c+d+1)^35 instead of (a+b+c+d+1)^15; the
latter was too quick.
Please see the above text for disclaimers as to why this is a bad comparison.
GCL:
---------------------------------------------
|abacus>maxima
GCL (GNU Common Lisp) Version(2.3) Tue Mar 21 14:15:15 CST 2000
Licensed under GNU Library General Public License
Contains Enhancements by W. Schelter
Loading init.lsp
Finished loading init.lsp
Maxima 5.4 Tue Mar 21 14:14:45 CST 2000 (with enhancements by W. Schelter).
Licensed under the GNU Public License (see file COPYING)
(C1) (showtime:all,ratsimp((a+b+c+d+1)^35 ))$
Evaluation took 11.03 seconds (11.53 elapsed)
---------------------------------------------
Clisp:
---------------------------------------------
|abacus>clisp -M maxima-clisp.mem
i i i i i i i ooooo o ooooooo ooooo ooooo
I I I I I I I 8 8 8 8 8 o 8 8
I \ `+' / I 8 8 8 8 8 8
\ `-+-' / 8 8 8 ooooo 8oooo
`-__|__-' 8 8 8 8 8
| 8 o 8 8 o 8 8
------+------ ooooo 8oooooo ooo8ooo ooooo 8
Copyright (c) Bruno Haible, Michael Stoll 1992, 1993
Copyright (c) Bruno Haible, Marcus Daniels 1994-1997
Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998
Copyright (c) Bruno Haible, Sam Steingold 1999
Maxima 5.5 Tue Feb 27 21:46:20 CST 2001 (with enhancements by W. Schelter).
Licensed under the GNU Public License (see file COPYING)
(C1) (showtime:all,ratsimp((a+b+c+d+1)^35))$
Evaluation took 13.23 seconds (13.47 elapsed)
---------------------------------------------
|
CMUCL:
|---------------------------------------------
|abacus>lisp -core maxima.core
CMU Common Lisp 18c, running on abacus.fnal.gov
Send questions and bug reports to your local CMU CL maintainer,
or to [email protected]. and [email protected]. respectively.
Loaded subsystems:
Python 1.0, target Intel x86
CLOS based on PCL version: September 16 92 PCL (f)
Warning: These variables are undefined:
MAXIMA::$FILE_SEARCH_DEMO MAXIMA::$FILE_SEARCH_LISP
MAXIMA::$FILE_SEARCH_MAXIMA MAXIMA::$FILE_SEARCH_USAGE
/apps/gnu/src/regex-0.12/regex.o not found .. skipping regexp stuff for describeMaxima 5.5 Fri Apr 6 15:15:13 CDT 2001 (with enhancements by W. Schelter).
Licensed under the GNU Public License (see file COPYING)
(C1) (showtime:all,ratsimp((a+b+c+d+1)^35))$
Evaluation took 4.54 seconds (4.99 elapsed)
---------------------------------------------
From [email protected] Thu Apr 12 14:25:47 2001
Received: from sonia.ma.utexas.edu ([email protected] [128.83.133.239])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3CJPlM04029
for <[email protected]>; Thu, 12 Apr 2001 14:25:47 -0500
Received: (from wfs@localhost)
by sonia.ma.utexas.edu (8.9.3/8.9.1) id OAA06941;
Thu, 12 Apr 2001 14:25:06 -0500
Date: Thu, 12 Apr 2001 14:25:06 -0500
Message-Id: <[email protected]>
X-Authentication-Warning: sonia.ma.utexas.edu: wfs set sender to [email protected] using -f
From: Bill Schelter <[email protected]>
To: [email protected]
cc: [email protected]
In-reply-to: <[email protected]>
([email protected])
Reply-to: [email protected]
Content-Type: text/plain;charset="koi8-r"
References: <[email protected]>
Subject: [Maxima] Re: Maxima 5.5 for WinNT question
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Status: O
From: [email protected]:
1. On the web site you write that there is an postscript and dvi version of
the documentation. Where can I find it?
I have put links to the dvi and pdf version of the Maxima manual on
the web page http://www.ma.utexas.edu/maxima.html
I have also made a link to the latest snapshot of the sources which
will be updated daily.
http://www.ma.utexas.edu/users/wfs/maxima-src-snapshot.tgz
2. The Windows interface preferences does not save proxy settings. Is this
disabled at the moment?
The proxy settings should be saved along with your font preferences
etc, if you do 'save' when in the file->preferences menu they are
saved in "~/netmath.ini". I am not sure how tcl/tk interprets that
under different window platforms.
3. In the src directory I found mactex.lisp . Is there a similar package
available for C/C++ or standard text output for use with Excel or similar
programs?
Not that I know of. There is output for fortran. It should be
relatively easy to write such an output function though, and a good
idea to do.
From [email protected] Fri Apr 13 11:03:55 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3DG3sM18200
for <[email protected]>; Fri, 13 Apr 2001 11:03:54 -0500
Received: from relay.EECS.Berkeley.EDU (relay.EECS.Berkeley.EDU [169.229.34.228])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id LAA27856
for <[email protected]>; Fri, 13 Apr 2001 11:03:54 -0500
Received: from cs.berkeley.edu (windsome.CS.Berkeley.EDU [128.32.131.134])
by relay.EECS.Berkeley.EDU (8.9.3/8.9.3) with ESMTP id JAA27887;
Fri, 13 Apr 2001 09:03:52 -0700 (PDT)
Message-ID: <[email protected]>
Date: Fri, 13 Apr 2001 09:03:52 -0700
From: Richard Fateman <[email protected]>
Organization: University of California, Berkeley
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: James Amundson <[email protected]>
CC: [email protected]
Subject: Re: [Maxima] Re: gcl compile
References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Status: O
James Amundson wrote:
>
>
> Hey! There's a fun game. I tried your simple test on my 800 MHz Linux machine.
>
> GCL:
> (C1) (showtime:all,ratsimp((a+b+c+d+1)^35 ))$
> Evaluation took 11.03 seconds (11.53 elapsed)
>
> Clisp:
> (C1) (showtime:all,ratsimp((a+b+c+d+1)^35))$
> Evaluation took 13.23 seconds (13.47 elapsed)
> |
> CMUCL:
>
> (C1) (showtime:all,ratsimp((a+b+c+d+1)^35))$
>
> Evaluation took 4.54 seconds (4.99 elapsed)
I don't think the different versions of maxima
would influence the timing of this test.
Here is some data on my 933Mhz pentium
Mathematica
4.586 sec
commercial macsyma 4.2 compiled in Allegro Common Lisp 6.0
(code under non-disclosure agreement. I wish I could
do other things with it, but I can't...)
5.358 sec including 3.676 in garbage collection
commercial macsyma 4.2 as delivered for windows system
under CLOE.
27.149 sec including 24.794 in garbage collection
-- seemed rather slow, so I repeated it and got
even longer times, (110 sec)almost all in GC.
Maxima 5.5 (using Bill's pre-packaged release)
10.37 secs in 10.37 secs elapsed time. [this seems
consistent with James' time above]
(I suppose I should try compiling the maxima 5.5 sources
in Allegro CL, but that would take an unpredictable
amount of time, perhaps 30 minutes but maybe much
more if I have to start finding places to
conditionalize it...)
From [email protected] Fri Apr 13 11:43:38 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3DGhcM20048
for <[email protected]>; Fri, 13 Apr 2001 11:43:38 -0500
Received: from relay.EECS.Berkeley.EDU (relay.EECS.Berkeley.EDU [169.229.34.228])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id LAA28635
for <[email protected]>; Fri, 13 Apr 2001 11:43:38 -0500
Received: from cs.berkeley.edu (windsome.CS.Berkeley.EDU [128.32.131.134])
by relay.EECS.Berkeley.EDU (8.9.3/8.9.3) with ESMTP id JAA28898
for <[email protected]>; Fri, 13 Apr 2001 09:43:37 -0700 (PDT)
Message-ID: <[email protected]>
Date: Fri, 13 Apr 2001 09:43:37 -0700
From: Richard Fateman <[email protected]>
Organization: University of California, Berkeley
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: [email protected]
Subject: Re: [Maxima] compiling in allegro common lisp
References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Status: O
(question, mostly for Bill, I think)
In spite of my statement earlier, I decided to try compiling Maxima in
allegro common lisp.
I downloaded the sources for maxima 5.5.
did this..
:ld sysdef.lisp
; Loading c:\maxima\maxima-5.5\src\sysdef.lisp
; Loading c:\maxima\maxima-5.5\src\make.lisp
Error: In-package may not modify an existing package; use defpackage instead.
[condition type: PACKAGE-ERROR]
==> I fixed this.. (maybe a CLTL-1 vs ANSI CL distinction?) changed
remove the :use clause from the in-package.
Here's the first item I can't figure out immediately...
CL-MACSYMA(2): :ld cl-maxima-sysdef.lisp
; Loading c:\maxima\maxima-5.5\src\cl-maxima-sysdef.lisp
Error: Package "FS" not found.
Where is FS package defined?
RJF
From [email protected] Fri Apr 13 15:52:27 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3DKqRM30661
for <[email protected]>; Fri, 13 Apr 2001 15:52:27 -0500
Received: from sonia.ma.utexas.edu ([email protected] [128.83.133.239])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id PAA31816
for <[email protected]>; Fri, 13 Apr 2001 15:52:27 -0500
Received: (from wfs@localhost)
by sonia.ma.utexas.edu (8.9.3/8.9.1) id PAA12938;
Fri, 13 Apr 2001 15:52:25 -0500
Date: Fri, 13 Apr 2001 15:52:25 -0500
Message-Id: <[email protected]>
X-Authentication-Warning: sonia.ma.utexas.edu: wfs set sender to [email protected] using -f
From: Bill Schelter <[email protected]>
To: [email protected]
CC: [email protected]
In-reply-to: <[email protected]> (message from Richard Fateman
on Fri, 13 Apr 2001 09:43:37 -0700)
Subject: Re: [Maxima] compiling in allegro common lisp
Reply-to: [email protected]
Content-Type: text/plain;charset="koi8-r"
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Status: O
One thing you have to remember in running tests is how much space you
allocate.. if you allocate for example sufficient space so that there
are only a couple of garbage collections rather than 20 or 30 then
obviously you get shorter times. Maxima does not by default take
much space at startup since if you are doing small problems, or if it
is being run on a very small machine, that would be detrimental.
Normally after running for a while the space will grow, stabilizing
when the percentage collected after a gc becomes reasonable.
Below we run the little test on an 850 Mhz pentium, but first
allocating a reasonable amount of space.
Maxima 5.5 Fri Apr 6 15:15:13 CDT 2001 (with enhancements by W. Schelter).
Licensed under the GNU Public License (see file COPYING)
(C1) :lisp (progn (allocate 'cons 8000 t) (allocate 'fixnum 1000 t) (si::allocate-relocatable-pages 2000 t))
2000
(C1) (showtime:true,ratsimp((a+b+c+d+1)^35),1)$
Evaluation took 3.12 seconds (4.01 elapsed)
(C2)
on a 400Mhz pentium II deschutes I got 5.90 seconds (elapsed 6.12) but
the 850mhz machine had another big background job running, so I was
not able to get the whole machine and hence the elapsed time exceeds
the run time.
====
All this said, the bignum code in gcl at the moment is the one from
pari, and while ok it is not really optimal. I keep meaning to put
in the gnu mp bignum stuff, which is much better. Not done yet.
========================
To richard for compiling:
1)
Try take http://www.ma.utexas.edu/users/wfs/maxima-src-snapshot.tgz
in that i have changed the sysdef.lisp to load the make.lisp first
so that your lisp cannot complain about redefinining the package.
Also there were a few other cleanup items, that the port to cmulisp
had introduced, which would have caused problems for you. Also
I note in your last report you refer to 'fs' package wanted by
'cl-maxima-sysdef' : you should not be loading that file, it was
for lisp machines way back when: you want sysdef.lisp like clisp
and cmulisp.
Ideally you make a file modelled on compile-clisp.lisp called
compile-allegro.lisp, containing the allegro'isms, and so that
you can make an entry
echo '(progn (load "compile-clisp.lisp")(compile-maxima))' | ${CLISP}
in the src/makefile
let me know if you have problems...
From [email protected] Fri Apr 13 16:08:47 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3DL8lM31456
for <[email protected]>; Fri, 13 Apr 2001 16:08:47 -0500
Received: from relay.EECS.Berkeley.EDU (relay.EECS.Berkeley.EDU [169.229.34.228])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id QAA31984
for <[email protected]>; Fri, 13 Apr 2001 16:08:47 -0500
Received: from cs.berkeley.edu (windsome.CS.Berkeley.EDU [128.32.131.134])
by relay.EECS.Berkeley.EDU (8.9.3/8.9.3) with ESMTP id OAA06166;
Fri, 13 Apr 2001 14:08:44 -0700 (PDT)
Message-ID: <[email protected]>
Date: Fri, 13 Apr 2001 14:08:44 -0700
From: Richard Fateman <[email protected]>
Organization: University of California, Berkeley
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: [email protected], maxima <[email protected]>
Subject: Re: [Maxima] compiling in allegro common lisp
References: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Status: O
I agree that allocating space is going to affect
run-times significantly. However very few people who
run these programs want to know about allocation
commands and CONS cells, so it is worth something to
have the system be clever/adaptive.
What I have done in the past is
(c1)(showtime:all, ratsimp...)$
(c2) kill(all)$
but what you did is cleverer:
(showtime:all, ratsimp(), 1)$
so that label (d1) is assign the number 1, rather than some huge
expression.
Oddly enough, the macsyma inc version seems to take
longer, the 2nd time. I have to assume it is somehow keeping
memory full with useless stuff... the kill(all)$ might not
work. Perhaps the front end is still storing (d2) etc.
If we want to give bignums a workout, instead of using
(a+b+c+d+1)^35, try (1000*a+1000*b +1000*c+1000*d+1000)^35.
I don't know how GCL/PARI/GNU-MP will stack up. There are
excellent profiling tools in Allegro, so I can find out what
percentage of time is consumed by bignum arithmetic. I suspect
that many computations do not need bignums at all; the ones
that use huge bignums a lot may require more delicate treatment
than they are routinely given by a CAS interface.
I haven't tested this recently but Maple does very very well
on an example like this. But the result is not sorted in any
perceptibly ordered way. The result is kind of like a hash
table. The Maple advocates claim this is just fine for many
purposes. True, but it is not comparable. Running the Maple
sort program on the result makes Maple times comparable or
slower, I think.
Thanks for the compiling hints. i'll try again.
RJF
Bill Schelter wrote:
>
> One thing you have to remember in running tests is how much space you
> allocate.. if you allocate for example sufficient space so that there
><snip>
From [email protected] Fri Apr 13 18:12:35 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3DNCZM03320
for <[email protected]>; Fri, 13 Apr 2001 18:12:35 -0500
Received: from relay.EECS.Berkeley.EDU (relay.EECS.Berkeley.EDU [169.229.34.228])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id SAA01264
for <[email protected]>; Fri, 13 Apr 2001 18:12:35 -0500
Received: from cs.berkeley.edu (windsome.CS.Berkeley.EDU [128.32.131.134])
by relay.EECS.Berkeley.EDU (8.9.3/8.9.3) with ESMTP id QAA09121;
Fri, 13 Apr 2001 16:12:33 -0700 (PDT)
Message-ID: <[email protected]>
Date: Fri, 13 Apr 2001 16:12:33 -0700
From: Richard Fateman <[email protected]>
Organization: University of California, Berkeley
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: [email protected], maxima <[email protected]>
CC: [email protected], Richard Fateman <[email protected]>
Subject: Re: [Maxima] compiling in allegro common lisp: works.
References: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Status: O
Here are the timing results:
(user::run)
Maxima 5.5 Fri Mar 30 11:08:06 CST 2001 (with enhancements by W. Schelter).
Licensed under the GNU Public License (see file COPYING)
(C1) showtime:all;
Evaluation took 0.00 seconds (0.00 elapsed)
(D1) ALL
(C2) (a+b+c+d+1)^35;
Evaluation took 0.00 seconds (0.00 elapsed)
35
(D2) (d + c + b + a + 1)
(C3) (ratsimp(d2),1)$
Evaluation took 7.07 seconds (7.34 elapsed)
(C4) (ratsimp(d2),1)$
Evaluation took 4.96 seconds (5.00 elapsed)
(C5) (ratsimp(d2),1)$
Evaluation took 3.27 seconds (3.45 elapsed)
(C6)
....
unfortunately, there are a few glitches.
ACL is unhappy about the redefinition of //
it complains about reference to the serror package in
sys-proclaim (seems I can #-allegro comment it out?)
and I just commented out a function in spgcd
which did some array store bogosity.
I haven't figured out the dumplisp/restart
sequence which for ACL6.0 is slightly different.
You dump only a dll or dxl and then when you
start up,
you specify this file. When I do, I'll send
an compile-allegro.lisp file out.
It looks like the GCL speed and the Allegro
speed on this problem are fairly close. Since
GCL is running on a slower machine, the difference
may be in GCL's favor. (I don't know if WFS
has some GCL-only speedups in use on this task.)
RJF
From [email protected] Fri Apr 13 22:44:32 2001
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E3iWM11193
for <[email protected]>; Fri, 13 Apr 2001 22:44:32 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id WAA32653
for maxima; Fri, 13 Apr 2001 22:44:32 -0500
Date: Fri, 13 Apr 2001 22:44:32 -0500
From: mtest <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
Subject: [Maxima] test
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
From [email protected] Fri Apr 13 22:45:58 2001
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E3jwM11281
for <[email protected]>; Fri, 13 Apr 2001 22:45:58 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id WAA32675
for maxima; Fri, 13 Apr 2001 22:45:58 -0500
Date: Fri, 13 Apr 2001 22:45:58 -0500
From: mtest <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
Subject: [Maxima] test 2
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
From [email protected] Fri Apr 13 22:52:18 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E3qIM11433
for <[email protected]>; Fri, 13 Apr 2001 22:52:18 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id WAA04780
for <[email protected]>; Fri, 13 Apr 2001 22:52:17 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id WAA32746;
Fri, 13 Apr 2001 22:52:17 -0500
Message-Id: <[email protected]>
To: [email protected]
From: Boris Veytsman <[email protected]>
Date: 12 Jun 2000 12:52:06 -0400
Status: R
Subject: [Maxima] [sci.math.symbolic] Problem/Bug in Maxima?
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I've found this letter in smc newsgroup... Please CC: the responces to
the author.
--
Good luck
-Boris
http://www.plmsc.psu.edu/~boris/
------- Start of forwarded message -------
From: David Ronis <[email protected]>
Subject: Problem/Bug in Maxima?
Newsgroups: sci.math.symbolic
Message-ID: <[email protected]>
Date: Mon, 12 Jun 2000 15:33:18 GMT
I've encountered what I think are two bugs in maxima. I need to do
iterated integrals of the form:
f[n](x):=p[n](x)+ W(x) + integrate(f[n-1](s[n-1]),s[n-1],0,x);
f[0](x):=0;
where p[n](x) is a low-order polynomial (defined explicitly) and W(x)
is an unknown function. I've decleared integrate linear.
Here's what happens (say for p[n](x):=x):
(C1) f[n](x):=p[n](x)+ W(x) + integrate(f[n-1](s[n-1]),s[n-1],0,x);
(D1) f (x) := p (x) + W(x) + INTEGRATE(f (s ), s , 0, x)
n n n - 1 n - 1 n - 1
(C2) f[0](x):=0;
(D2) f (x) := 0
0
(C3) declare(integrate,linear);
(D3) DONE
(C4) p[n](x):=x;
(D4) p (x) := x
n
(C5) f[1](x);
(D5) W(x) + x
(C6) f[2](x);
(D6) W(x) + (W(s ) + s ) x + x
1 1
If instead I try:
(C1) declare(integrate,linear);
(D1) DONE
(C2) p[n](x):=x;
(D2) p (x) := x
n
(C3) f[n](x):=p[n](x)+ W(x) + integrate(f[n-1](s),s,0,x);
(D3) f (x) := p (x) + W(x) + INTEGRATE(f (s), s, 0, x)
n n n - 1
(C4) f[0](x):=0;
(D4) f (x) := 0
0
(C5) f[1](x);
(D5) W(x) + x
(C6) f[2](x);
Is x positive, negative, or zero?
pos;
x x
/ /
[ [
(D6) W(x) + x + I W(s) ds + I s ds
] ]
/ /
0 0
(C7) f[3](x);
Is x positive, negative, or zero?
pos;
x s x s x x
/ / / / / /
[ [ [ [ [ [
(D7) W(x) + x + I I W(s) ds ds + I I s ds ds + I W(s) ds + I s ds
] ] ] ] ] ]
/ / / / / /
0 0 0 0 0 0
(C8) f[4](x);
Is x positive, negative, or zero?
pos;
x s s x s s x s
/ / / / / / / /
[ [ [ [ [ [ [ [
(D8) W(x) + x + I I I W(s) ds ds ds + I I I s ds ds ds + I I W(s) ds ds
] ] ] ] ] ] ] ]
/ / / / / / / /
0 0 0 0 0 0 0 0
x s x x
/ / / /
[ [ [ [
+ I I s ds ds + I W(s) ds + I s ds
] ] ] ]
/ / / /
Which is slightly better but still wrong. My questions are:
1. Why doesn't maxima do the trivial integral of x?
2. How do I get it to properly change the symbol used for the
integration variable and limits in multiple integrals?
David
------- End of forwarded message -------
From [email protected] Fri Apr 13 22:55:03 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E3t3M11510
for <[email protected]>; Fri, 13 Apr 2001 22:55:03 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id WAA04804
for <[email protected]>; Fri, 13 Apr 2001 22:55:03 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id WAA00325;
Fri, 13 Apr 2001 22:55:03 -0500
Message-Id: <[email protected]>
To: [email protected]
From: Boris Veytsman <[email protected]>
Date: 12 Jun 2000 12:52:06 -0400
Status: R
Subject: [Maxima] [sci.math.symbolic] Problem/Bug in Maxima?
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I've found this letter in smc newsgroup... Please CC: the responces to
the author.
--
Good luck
-Boris
http://www.plmsc.psu.edu/~boris/
------- Start of forwarded message -------
From: David Ronis <[email protected]>
Subject: Problem/Bug in Maxima?
Newsgroups: sci.math.symbolic
Message-ID: <[email protected]>
Date: Mon, 12 Jun 2000 15:33:18 GMT
I've encountered what I think are two bugs in maxima. I need to do
iterated integrals of the form:
f[n](x):=p[n](x)+ W(x) + integrate(f[n-1](s[n-1]),s[n-1],0,x);
f[0](x):=0;
where p[n](x) is a low-order polynomial (defined explicitly) and W(x)
is an unknown function. I've decleared integrate linear.
Here's what happens (say for p[n](x):=x):
(C1) f[n](x):=p[n](x)+ W(x) + integrate(f[n-1](s[n-1]),s[n-1],0,x);
(D1) f (x) := p (x) + W(x) + INTEGRATE(f (s ), s , 0, x)
n n n - 1 n - 1 n - 1
(C2) f[0](x):=0;
(D2) f (x) := 0
0
(C3) declare(integrate,linear);
(D3) DONE
(C4) p[n](x):=x;
(D4) p (x) := x
n
(C5) f[1](x);
(D5) W(x) + x
(C6) f[2](x);
(D6) W(x) + (W(s ) + s ) x + x
1 1
If instead I try:
(C1) declare(integrate,linear);
(D1) DONE
(C2) p[n](x):=x;
(D2) p (x) := x
n
(C3) f[n](x):=p[n](x)+ W(x) + integrate(f[n-1](s),s,0,x);
(D3) f (x) := p (x) + W(x) + INTEGRATE(f (s), s, 0, x)
n n n - 1
(C4) f[0](x):=0;
(D4) f (x) := 0
0
(C5) f[1](x);
(D5) W(x) + x
(C6) f[2](x);
Is x positive, negative, or zero?
pos;
x x
/ /
[ [
(D6) W(x) + x + I W(s) ds + I s ds
] ]
/ /
0 0
(C7) f[3](x);
Is x positive, negative, or zero?
pos;
x s x s x x
/ / / / / /
[ [ [ [ [ [
(D7) W(x) + x + I I W(s) ds ds + I I s ds ds + I W(s) ds + I s ds
] ] ] ] ] ]
/ / / / / /
0 0 0 0 0 0
(C8) f[4](x);
Is x positive, negative, or zero?
pos;
x s s x s s x s
/ / / / / / / /
[ [ [ [ [ [ [ [
(D8) W(x) + x + I I I W(s) ds ds ds + I I I s ds ds ds + I I W(s) ds ds
] ] ] ] ] ] ] ]
/ / / / / / / /
0 0 0 0 0 0 0 0
x s x x
/ / / /
[ [ [ [
+ I I s ds ds + I W(s) ds + I s ds
] ] ] ]
/ / / /
Which is slightly better but still wrong. My questions are:
1. Why doesn't maxima do the trivial integral of x?
2. How do I get it to properly change the symbol used for the
integration variable and limits in multiple integrals?
David
------- End of forwarded message -------
From [email protected] Fri Apr 13 22:55:45 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E3tjM11530
for <[email protected]>; Fri, 13 Apr 2001 22:55:45 -0500
Received: from sonia.ma.utexas.edu ([email protected] [128.83.133.239])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id WAA04810
for <[email protected]>; Fri, 13 Apr 2001 22:55:45 -0500
Received: (from wfs@localhost)
by sonia.ma.utexas.edu (8.9.3/8.9.1) id WAA16796;
Fri, 13 Apr 2001 22:55:42 -0500
Date: Fri, 13 Apr 2001 22:55:42 -0500
Message-Id: <[email protected]>
X-Authentication-Warning: sonia.ma.utexas.edu: wfs set sender to [email protected] using -f
From: Bill Schelter <[email protected]>
To: [email protected]
CC: [email protected], [email protected], [email protected]
In-reply-to: <[email protected]> (message from Richard Fateman
on Fri, 13 Apr 2001 16:12:33 -0700)
Subject: Re: [Maxima] compiling in allegro common lisp: works.
Reply-to: [email protected]
Content-Type: text/plain;charset="koi8-r"
References: <[email protected]> <[email protected]>
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
For GCL I was able to run on an 850Mhz Pentium (linux) machine which did not
have other big jobs running, and so the time for execution is
the same as wallclock time (ie elapsed time).
Maxima 5.5 Fri Apr 6 15:15:13 CDT 2001 (with enhancements by W. Schelter).
Licensed under the GNU Public License (see file COPYING)
(C1) :lisp (progn (allocate 'cons 8000 t) (allocate 'fixnum 1000 t) (si::allocate-relocatable-pages 2000 t))
2000
(C1) (showtime:all, ratsimp((a+b+c+d+1)^35),1)$
Evaluation took 2.80 seconds (2.81 elapsed)
===========
In reference to the compiling under allegro:
it complains about reference to the serror package in
sys-proclaim (seems I can #-allegro comment it out?)
Yes certainly #-allegro it.
You dump only a dll or dxl and then when you
start up,
you specify this file. When I do, I'll send
an compile-allegro.lisp file out.
Please do!
william
From [email protected] Fri Apr 13 22:56:08 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E3u8M11537
for <[email protected]>; Fri, 13 Apr 2001 22:56:08 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id WAA04820
for <[email protected]>; Fri, 13 Apr 2001 22:56:08 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id WAA00340;
Fri, 13 Apr 2001 22:56:07 -0500
Message-Id: <[email protected]>
To: [email protected]
cc: [email protected]
From: Camm Maguire <[email protected]>
Date: 16 Jun 2000 11:49:29 -0400
In-Reply-To: Boris Veytsman's message of "12 Jun 2000 12:52:06 -0400"
Status: R
Subject: [Maxima] libc/ldso dependency in shared-lib maxima?
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings! I maintain the Debian package of maxima, which has
recently been accepted for installation into the unstable tree. I've
included Dr. Schelter's patch enabling shared (not static) linking to
the system C and math libraries. With this patch, we've had a working
package in incoming for some time now.
Meanwhile, I forgot about maxima for a bit, upgraded my machine to the
slightly newer versions of the Debian system packages, and suddenly
maxima segfaults. Another Debian user sees the same thing and has
filed a bug. Rebuilding on my upgraded system restores functionality.
Luckily, I can chase this down if I hurry, as I still have access to a
pre-upgrade machine which can build maxima with debugging symbols.
I would be greatly appreciative, though, if anyone had an insight as
to where to look in advance.
Take care,
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Fri Apr 13 22:57:16 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E3vGM11573
for <[email protected]>; Fri, 13 Apr 2001 22:57:16 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id WAA04831
for <[email protected]>; Fri, 13 Apr 2001 22:57:16 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id WAA00361;
Fri, 13 Apr 2001 22:57:15 -0500
Message-Id: <[email protected]>
To: [email protected]
cc: [email protected]
From: Camm Maguire <[email protected]>
Date: 16 Jun 2000 11:49:29 -0400
In-Reply-To: Boris Veytsman's message of "12 Jun 2000 12:52:06 -0400"
Status: R
Subject: [Maxima] libc/ldso dependency in shared-lib maxima?
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings! I maintain the Debian package of maxima, which has
recently been accepted for installation into the unstable tree. I've
included Dr. Schelter's patch enabling shared (not static) linking to
the system C and math libraries. With this patch, we've had a working
package in incoming for some time now.
Meanwhile, I forgot about maxima for a bit, upgraded my machine to the
slightly newer versions of the Debian system packages, and suddenly
maxima segfaults. Another Debian user sees the same thing and has
filed a bug. Rebuilding on my upgraded system restores functionality.
Luckily, I can chase this down if I hurry, as I still have access to a
pre-upgrade machine which can build maxima with debugging symbols.
I would be greatly appreciative, though, if anyone had an insight as
to where to look in advance.
Take care,
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Fri Apr 13 22:58:31 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E3wVM11584
for <[email protected]>; Fri, 13 Apr 2001 22:58:31 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id WAA04863
for <[email protected]>; Fri, 13 Apr 2001 22:58:31 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id WAA00384;
Fri, 13 Apr 2001 22:58:31 -0500
Message-Id: <[email protected]>
To: [email protected]
From: Camm Maguire <[email protected]>
Date: 16 Jun 2000 11:49:29 -0400
In-Reply-To: Boris Veytsman's message of "12 Jun 2000 12:52:06 -0400"
Status: R
Subject: [Maxima] libc/ldso dependency in shared-lib maxima?
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings! I maintain the Debian package of maxima, which has
recently been accepted for installation into the unstable tree. I've
included Dr. Schelter's patch enabling shared (not static) linking to
the system C and math libraries. With this patch, we've had a working
package in incoming for some time now.
Meanwhile, I forgot about maxima for a bit, upgraded my machine to the
slightly newer versions of the Debian system packages, and suddenly
maxima segfaults. Another Debian user sees the same thing and has
filed a bug. Rebuilding on my upgraded system restores functionality.
Luckily, I can chase this down if I hurry, as I still have access to a
pre-upgrade machine which can build maxima with debugging symbols.
I would be greatly appreciative, though, if anyone had an insight as
to where to look in advance.
Take care,
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Fri Apr 13 23:01:53 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E41rM11693
for <[email protected]>; Fri, 13 Apr 2001 23:01:53 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA04919
for <[email protected]>; Fri, 13 Apr 2001 23:01:53 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00550;
Fri, 13 Apr 2001 23:01:52 -0500
Message-Id: <[email protected]>
To: [email protected]
From: Camm Maguire <[email protected]>
Date: 19 Jun 2000 12:39:36 -0400
In-Reply-To: Bill Schelter's message of "Sat, 10 Jun 2000 10:09:02 -0500"
Status: R
Subject: [Maxima] Re: source level debugging
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings! Sorry to catch up on this so late ...
OK, I'll include this file in the next package.
BTW, did anyone see my earlier post regarding shared libc dependencies
and segfaults I sent on Friday or thereabouts? I'd greatly appreciate
any insights you may have.
Take care,
Bill Schelter <[email protected]> writes:
> Where should I get the "dbl" command, or what is the (modern?)
> equivalent? Can you give me any other hints?
>
> This is part of the elisp files in the gcl distribution.
>
> There is a file dbl.el
>
> and in it is the command dbl
>
> If you copy those files to your emacs/lisp directory then it will be
> there.
>
> I think there are some directions in the dbl.el file.
>
>
>
>
>
>
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Fri Apr 13 23:02:28 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E42SM11714
for <[email protected]>; Fri, 13 Apr 2001 23:02:28 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA04924
for <[email protected]>; Fri, 13 Apr 2001 23:02:28 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00560;
Fri, 13 Apr 2001 23:02:28 -0500
Message-Id: <[email protected]>
To: [email protected]
From: [email protected]
Date: Thu, 14 Sep 2000 08:25:18 -0500
X-MIMETrack: Serialize by Router on UNKmail.unk.edu/Servers/UNEBR(Release 5.0.4a |July
24, 2000) at 09/14/2000 08:25:36 AM
Content-type: text/plain; charset=us-ascii
Status: R
Subject: [Maxima] stopex.mc and powers for maxima 5.4
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hi,
I'm looking for a maxima (version 5.4) powers function and
a working version of stopex. If anyone can point me to
these files, I'd appreciate it.
I'm working on porting three Macsyma 422 programs to maxima;
a macsyma-to-mathml translator, a second order linear DE
solver, and a clone of Macsyma's specfun library (about
a dozen orthogonal polynomials). Once I get them working,
I'll make them freely available.
Porting "back in time" twenty years is interesting; mostly
I've only had to add simple utility functions such as second,
op, and floor. For string functions ($stringp, $getchar, etc), I've
added a few one line lisp programs. Once I spent days porting
a C++ program from gcc 2.7x to gcc 2.9x; compared to that
experience, porting Macsyma 422 to maxima 5.4 has so far been
a breeze.
Specifically:
1) I'm looking for the maxima (version 5.4) powers function;
my share2 directory has a usage file for powers, but no source file.
I can't find the file on maxima's cvs at the University of Texas either.
If anyone can point me to the source code for powers, I'd appreciate it.
2) Maxima's stopex code seems to be broken; stopex.mc
won't even load. It halts when executing
EVAL_WHEN([BATCH,LOADFILE],
IF GET('GNAUTO,'DIAGEVAL_VERSION)=FALSE
THEN LOAD('[GNAUTO,FASL,DSK,DGVAL]))$
Commenting out this line, allows maxima to load stopex.mc.
But then maxima complains that it can't find the freeofl function.
Rolling my own as
freeofl(x,e) := block([ ],
not member(false, apply(append, [outermap(freeof, x, e)]))
);
allows expandwrt to run, but it generates rubbish:
(c1) expandwrt(x*(x+1),x);
(d1) [5x^2+4x(x+1)]
Again, if anyone has a correctly working stopex.mc file, I'd
appreciate it.
Thanks,
Barton Willis
University of Nebraska at Kearney
From [email protected] Fri Apr 13 23:02:54 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E42sM11751
for <[email protected]>; Fri, 13 Apr 2001 23:02:54 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA04931
for <[email protected]>; Fri, 13 Apr 2001 23:02:54 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00570;
Fri, 13 Apr 2001 23:02:54 -0500
Message-Id: <[email protected]>
To: [email protected]
From: Boris Veytsman <[email protected]>
Date: 12 Jun 2000 12:52:06 -0400
Status: R
Subject: [Maxima] [sci.math.symbolic] Problem/Bug in Maxima?
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I've found this letter in smc newsgroup... Please CC: the responces to
the author.
--
Good luck
-Boris
http://www.plmsc.psu.edu/~boris/
------- Start of forwarded message -------
From: David Ronis <[email protected]>
Subject: Problem/Bug in Maxima?
Newsgroups: sci.math.symbolic
Message-ID: <[email protected]>
Date: Mon, 12 Jun 2000 15:33:18 GMT
I've encountered what I think are two bugs in maxima. I need to do
iterated integrals of the form:
f[n](x):=p[n](x)+ W(x) + integrate(f[n-1](s[n-1]),s[n-1],0,x);
f[0](x):=0;
where p[n](x) is a low-order polynomial (defined explicitly) and W(x)
is an unknown function. I've decleared integrate linear.
Here's what happens (say for p[n](x):=x):
(C1) f[n](x):=p[n](x)+ W(x) + integrate(f[n-1](s[n-1]),s[n-1],0,x);
(D1) f (x) := p (x) + W(x) + INTEGRATE(f (s ), s , 0, x)
n n n - 1 n - 1 n - 1
(C2) f[0](x):=0;
(D2) f (x) := 0
0
(C3) declare(integrate,linear);
(D3) DONE
(C4) p[n](x):=x;
(D4) p (x) := x
n
(C5) f[1](x);
(D5) W(x) + x
(C6) f[2](x);
(D6) W(x) + (W(s ) + s ) x + x
1 1
If instead I try:
(C1) declare(integrate,linear);
(D1) DONE
(C2) p[n](x):=x;
(D2) p (x) := x
n
(C3) f[n](x):=p[n](x)+ W(x) + integrate(f[n-1](s),s,0,x);
(D3) f (x) := p (x) + W(x) + INTEGRATE(f (s), s, 0, x)
n n n - 1
(C4) f[0](x):=0;
(D4) f (x) := 0
0
(C5) f[1](x);
(D5) W(x) + x
(C6) f[2](x);
Is x positive, negative, or zero?
pos;
x x
/ /
[ [
(D6) W(x) + x + I W(s) ds + I s ds
] ]
/ /
0 0
(C7) f[3](x);
Is x positive, negative, or zero?
pos;
x s x s x x
/ / / / / /
[ [ [ [ [ [
(D7) W(x) + x + I I W(s) ds ds + I I s ds ds + I W(s) ds + I s ds
] ] ] ] ] ]
/ / / / / /
0 0 0 0 0 0
(C8) f[4](x);
Is x positive, negative, or zero?
pos;
x s s x s s x s
/ / / / / / / /
[ [ [ [ [ [ [ [
(D8) W(x) + x + I I I W(s) ds ds ds + I I I s ds ds ds + I I W(s) ds ds
] ] ] ] ] ] ] ]
/ / / / / / / /
0 0 0 0 0 0 0 0
x s x x
/ / / /
[ [ [ [
+ I I s ds ds + I W(s) ds + I s ds
] ] ] ]
/ / / /
Which is slightly better but still wrong. My questions are:
1. Why doesn't maxima do the trivial integral of x?
2. How do I get it to properly change the symbol used for the
integration variable and limits in multiple integrals?
David
------- End of forwarded message -------
From [email protected] Fri Apr 13 23:03:12 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E43CM11755
for <[email protected]>; Fri, 13 Apr 2001 23:03:12 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA04943
for <[email protected]>; Fri, 13 Apr 2001 23:03:12 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00577;
Fri, 13 Apr 2001 23:03:12 -0500
Message-Id: <[email protected]>
To: [email protected]
From: Camm Maguire <[email protected]>
Date: 16 Jun 2000 11:49:29 -0400
In-Reply-To: Boris Veytsman's message of "12 Jun 2000 12:52:06 -0400"
Status: R
Subject: [Maxima] libc/ldso dependency in shared-lib maxima?
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings! I maintain the Debian package of maxima, which has
recently been accepted for installation into the unstable tree. I've
included Dr. Schelter's patch enabling shared (not static) linking to
the system C and math libraries. With this patch, we've had a working
package in incoming for some time now.
Meanwhile, I forgot about maxima for a bit, upgraded my machine to the
slightly newer versions of the Debian system packages, and suddenly
maxima segfaults. Another Debian user sees the same thing and has
filed a bug. Rebuilding on my upgraded system restores functionality.
Luckily, I can chase this down if I hurry, as I still have access to a
pre-upgrade machine which can build maxima with debugging symbols.
I would be greatly appreciative, though, if anyone had an insight as
to where to look in advance.
Take care,
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Fri Apr 13 23:03:41 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E43fM11763
for <[email protected]>; Fri, 13 Apr 2001 23:03:41 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA04971
for <[email protected]>; Fri, 13 Apr 2001 23:03:41 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00583;
Fri, 13 Apr 2001 23:03:41 -0500
Message-Id: <[email protected]>
To: [email protected]
From: Camm Maguire <[email protected]>
Date: 19 Jun 2000 12:39:36 -0400
In-Reply-To: Bill Schelter's message of "Sat, 10 Jun 2000 10:09:02 -0500"
Status: R
Subject: [Maxima] Re: source level debugging
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings! Sorry to catch up on this so late ...
OK, I'll include this file in the next package.
BTW, did anyone see my earlier post regarding shared libc dependencies
and segfaults I sent on Friday or thereabouts? I'd greatly appreciate
any insights you may have.
Take care,
Bill Schelter <[email protected]> writes:
> Where should I get the "dbl" command, or what is the (modern?)
> equivalent? Can you give me any other hints?
>
> This is part of the elisp files in the gcl distribution.
>
> There is a file dbl.el
>
> and in it is the command dbl
>
> If you copy those files to your emacs/lisp directory then it will be
> there.
>
> I think there are some directions in the dbl.el file.
>
>
>
>
>
>
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Fri Apr 13 23:03:55 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E43tM11768
for <[email protected]>; Fri, 13 Apr 2001 23:03:55 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA04975
for <[email protected]>; Fri, 13 Apr 2001 23:03:55 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00591;
Fri, 13 Apr 2001 23:03:55 -0500
Message-Id: <[email protected]>
To: [email protected]
From: [email protected]
Date: Thu, 14 Sep 2000 08:25:18 -0500
X-MIMETrack: Serialize by Router on UNKmail.unk.edu/Servers/UNEBR(Release 5.0.4a |July
24, 2000) at 09/14/2000 08:25:36 AM
Content-type: text/plain; charset=us-ascii
Status: R
Subject: [Maxima] stopex.mc and powers for maxima 5.4
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hi,
I'm looking for a maxima (version 5.4) powers function and
a working version of stopex. If anyone can point me to
these files, I'd appreciate it.
I'm working on porting three Macsyma 422 programs to maxima;
a macsyma-to-mathml translator, a second order linear DE
solver, and a clone of Macsyma's specfun library (about
a dozen orthogonal polynomials). Once I get them working,
I'll make them freely available.
Porting "back in time" twenty years is interesting; mostly
I've only had to add simple utility functions such as second,
op, and floor. For string functions ($stringp, $getchar, etc), I've
added a few one line lisp programs. Once I spent days porting
a C++ program from gcc 2.7x to gcc 2.9x; compared to that
experience, porting Macsyma 422 to maxima 5.4 has so far been
a breeze.
Specifically:
1) I'm looking for the maxima (version 5.4) powers function;
my share2 directory has a usage file for powers, but no source file.
I can't find the file on maxima's cvs at the University of Texas either.
If anyone can point me to the source code for powers, I'd appreciate it.
2) Maxima's stopex code seems to be broken; stopex.mc
won't even load. It halts when executing
EVAL_WHEN([BATCH,LOADFILE],
IF GET('GNAUTO,'DIAGEVAL_VERSION)=FALSE
THEN LOAD('[GNAUTO,FASL,DSK,DGVAL]))$
Commenting out this line, allows maxima to load stopex.mc.
But then maxima complains that it can't find the freeofl function.
Rolling my own as
freeofl(x,e) := block([ ],
not member(false, apply(append, [outermap(freeof, x, e)]))
);
allows expandwrt to run, but it generates rubbish:
(c1) expandwrt(x*(x+1),x);
(d1) [5x^2+4x(x+1)]
Again, if anyone has a correctly working stopex.mc file, I'd
appreciate it.
Thanks,
Barton Willis
University of Nebraska at Kearney
From [email protected] Fri Apr 13 23:04:31 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E44VM11796
for <[email protected]>; Fri, 13 Apr 2001 23:04:31 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA04983
for <[email protected]>; Fri, 13 Apr 2001 23:04:30 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00604;
Fri, 13 Apr 2001 23:04:30 -0500
Date: Fri, 13 Apr 2001 23:04:30 -0500
Message-Id: <[email protected]>
From: Richard Fateman <[email protected]>
Organization: University of California, Berkeley
X-Accept-Language: en
To: [email protected]
Content-Type: text/plain; charset=us-ascii
Status: R
Subject: [Maxima] Re: stopex.mc and powers for maxima 5.4
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
[email protected] wrote:
>
> Hi,
>
> I'm looking for a maxima (version 5.4) powers function and
> a working version of stopex. If anyone can point me to
> these files, I'd appreciate it.
the powers function is written in lisp in Macsyma (c), and
seems to be in share/ not share2/ directory. I don't
if it dates back to Maxima days. I don't
know why you would want to use it, because it seems to
have as a feature, the bug that it requires expressions
to be expanded out. You can do rat(expression,x)
and then pick off the leading degree and subtract that term
off, repeatedly, using ratcoeff, or bothcoeff instead.
something like the (untested) program below.
mypowers(r,x):=
block([ h:hipow(r,x)],
if h=0 then [] else cons (h, mypowers(second(bothcoeff(r,x^h)),x)
)))
>
> I'm working on porting three Macsyma 422 programs to maxima;
> a macsyma-to-mathml translator, a second order linear DE
> solver, and a clone of Macsyma's specfun library (about
> a dozen orthogonal polynomials). Once I get them working,
> I'll make them freely available.
>
> Porting "back in time" twenty years is interesting; mostly
> I've only had to add simple utility functions such as second,
> op, and floor. For string functions ($stringp, $getchar, etc), I've
> added a few one line lisp programs. Once I spent days porting
> a C++ program from gcc 2.7x to gcc 2.9x; compared to that
> experience, porting Macsyma 422 to maxima 5.4 has so far been
> a breeze.
>
> Specifically:
>
> 1) I'm looking for the maxima (version 5.4) powers function;
> my share2 directory has a usage file for powers, but no source file.
> I can't find the file on maxima's cvs at the University of Texas either.
> If anyone can point me to the source code for powers, I'd appreciate it.
>
> 2) Maxima's stopex code seems to be broken; stopex.mc
> won't even load. It halts when executing
>
> EVAL_WHEN([BATCH,LOADFILE],
> IF GET('GNAUTO,'DIAGEVAL_VERSION)=FALSE
> THEN LOAD('[GNAUTO,FASL,DSK,DGVAL]))$
>
> Commenting out this line, allows maxima to load stopex.mc.
> But then maxima complains that it can't find the freeofl function.
> Rolling my own as
>
> freeofl(x,e) := block([ ],
> not member(false, apply(append, [outermap(freeof, x, e)]))
> );
>
freeofl takes a list as first argument and ask if, for each element r
of the list L, is e free of r.
I would write it like this..
freeofl(L,e):= if L=[] then true else freeof(first(L),e) and
freeofl(rest(L),e)
I'm not sure what else is needed from the gnauto file though.
> allows expandwrt to run, but it generates rubbish:
>
> (c1) expandwrt(x*(x+1),x);
>
> (d1) [5x^2+4x(x+1)]
>
> Again, if anyone has a correctly working stopex.mc file, I'd
> appreciate it.
>
> Thanks,
>
> Barton Willis
> University of Nebraska at Kearney
From [email protected] Fri Apr 13 23:05:10 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E45AM11835
for <[email protected]>; Fri, 13 Apr 2001 23:05:10 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA04990
for <[email protected]>; Fri, 13 Apr 2001 23:05:09 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00613;
Fri, 13 Apr 2001 23:05:09 -0500
Message-Id: <[email protected]>
MIME-Version: 1.0
From: "Hickey, Gregory" <[email protected]>
To: [email protected]
Date: Fri, 1 Dec 2000 14:32:36 -0400
Content-Type: text/plain;
charset="iso-8859-1"
Status: R
Subject: [Maxima] FW: Macsyma
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Good afternoon, I had sent an earlier question to Paul S. Wang w.r.t.
apparent demise of 'Macsyma' and 'PDEase' product line and he (as indicated
below) referred me to you. Got time for a quick question?....Do you know to
what extent both products (or their equivalent) may be available/supported
in GNU project?
Best Regards,
Gregory A. Hickey, P. Eng.
-----Original Message-----
From: Paul S. Wang [mailto:[email protected]]
<mailto:[mailto:[email protected]]>
Sent: November 28, 2000 4:22 PM
To: [email protected] <mailto:[email protected]>
Subject: Re: Macsyma
I don't really know. But that is a good question.
You may try
[email protected] <mailto:[email protected]> (Bill
Schelter, AKCL/maxima)
and see if Bill has any info.
Paul>
> Thank you very much. I have(had) a paid up maintenance agreement
with them
> for operation of the program; do you know whether they went beyond
Ver2.4,
> also what has happened to their 'PDEase' product..do you know if
'PDEase' is
> also available through GNU effort? Again thank you for responding.
/ Greg H.
From [email protected] Fri Apr 13 23:05:47 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E45lM11860
for <[email protected]>; Fri, 13 Apr 2001 23:05:47 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA04996
for <[email protected]>; Fri, 13 Apr 2001 23:05:47 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00624;
Fri, 13 Apr 2001 23:05:47 -0500
Message-Id: <[email protected]>
To: [email protected]
From: Camm Maguire <[email protected]>
Date: 23 Feb 2001 15:39:54 -0500
In-Reply-To: Richard Fateman's message of "Thu, 14 Sep 2000 10:48:57 -0700"
Status: R
Subject: [Maxima] Maxima-5.5-beta and dynamic shared lib links
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings! I'm upgrading the Debian maxima package to 5.5-beta, and
am running into the same shared-library link problems as before. This
time, I've found some time to detail what's going on a bit more
clearly, so hopefully this will help.
I've now produced two saved_maxima executables, one 5.5-beta compiled
with -g, and one using the current cvs trees for gcl and maxima
compiled as per default, both of which run successfully on 3, and
segfault on 4 of our Debian 2.2 "aka potato" boxes, all of which share
an NFS home filesystem. The problem is the same in all cases: on
startup,
PRINTstream->sm.sm_object0->s.s_dbind->sm.sm_object1->sm.sm_fp->_fileno
is correctly set to stdout (1) on the boxes where it works, and
garbage where it segfaults. The program segfaults when trying to
first write to stdout. (Actually, the whole sm_fp FILE structure is
bogus.)
This setup must be preallocated on the stack or some such, as this
condition holds even when breaking in gdb at the address of the first
assembly statement in init of the executable. Furthermore, on
checking the memory maps loaded by the process, (/proc/<pid>/maps:),
all working cases show the following:
08048000-08485000 r-xp 00000000 03:03 88802 /usr/lib/maxima-5.5/src/saved_maxima_debug
08485000-086fe000 rw-p 0043c000 03:03 88802 /usr/lib/maxima-5.5/src/saved_maxima_debug
086fe000-087af000 rwxp 00000000 00:00 0
40000000-40012000 r-xp 00000000 03:03 34721 /lib/ld-2.1.3.so
40012000-40013000 rw-p 00011000 03:03 34721 /lib/ld-2.1.3.so
40013000-40014000 rwxp 00000000 00:00 0
40019000-400ee000 r-xp 00000000 03:03 34724 /lib/libc-2.1.3.so
400ee000-400f2000 rw-p 000d4000 03:03 34724 /lib/libc-2.1.3.so
400f2000-400f6000 rw-p 00000000 00:00 0
400f6000-40112000 r-xp 00000000 03:03 34901 /lib/libm-2.1.3.so
40112000-40113000 rw-p 0001b000 03:03 34901 /lib/libm-2.1.3.so
bfff2000-c0000000 rwxp ffff3000 00:00 0
whereas the failing cases show
08048000-08477000 r-xp 00000000 09:00 128542 /fix/c/home/camm/saved_maxima_debug
08477000-086ef000 rw-p 0042e000 09:00 128542 /fix/c/home/camm/saved_maxima_debug
40000000-40012000 r-xp 00000000 08:02 174764 /lib/ld-2.1.3.so
40012000-40013000 rw-p 00011000 08:02 174764 /lib/ld-2.1.3.so
40013000-40014000 rwxp 00000000 00:00 0
4001c000-400f1000 r-xp 00000000 08:02 174798 /lib/libc-2.1.3.so
400f1000-400f5000 rw-p 000d4000 08:02 174798 /lib/libc-2.1.3.so
400f5000-400f9000 rw-p 00000000 00:00 0
400f9000-40115000 r-xp 00000000 08:02 174815 /lib/libm-2.1.3.so
40115000-40116000 rw-p 0001b000 08:02 174815 /lib/libm-2.1.3.so
bfffd000-c0000000 rwxp ffffe000 00:00 0
All machines have identical ldso and libc6 packages installed.
I haven't yet had time to understand the sfaslelf.c and/or rsym_elf.c,
which is where I think this is getting setup. I would greatly
appreciate suggestions from those much more knowledgeable than me on
this list! Unfortunately, my test case is not on a public network. I
haven't yet discovered what aspect of these machines is causing the
different loading, so I cannot guarantee reproducing this situation on
another system, though this behavior does persist on each execution
of saved_maxima here. Any suggestions of what to try would be most
helpful. I'm pretty decent with C and a debugger, but don't know
about elf formats, etc.
Thanks!
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Fri Apr 13 23:06:28 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E46SM11902
for <[email protected]>; Fri, 13 Apr 2001 23:06:28 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05000
for <[email protected]>; Fri, 13 Apr 2001 23:06:28 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00632;
Fri, 13 Apr 2001 23:06:28 -0500
Message-Id: <[email protected]>
MIME-Version: 1.0
Date: Fri, 23 Feb 2001 13:04:30 -0800
From: Richard Fateman <[email protected]>
Organization: University of California, Berkeley
X-Accept-Language: en
To: [email protected]
Content-Type: text/plain; charset=us-ascii
Status: R
Subject: [Maxima] Re: Maxima-5.5-beta and dynamic shared lib links
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Sorry I can't help with this. I think there is a problem
with GCL, and I don't know about its implementation at all.
RJF
Camm Maguire wrote:
>
> Greetings! I'm upgrading the Debian maxima package to 5.5-beta, and
> am running into the same shared-library link problems as before. This
> time, I've found some time to detail what's going on a bit more
> clearly, so hopefully this will help.
>
> I've now produced two saved_maxima executables, one 5.5-beta compiled
> with -g, and one using the current cvs trees for gcl and maxima
> compiled as per default, both of which run successfully on 3, and
> segfault on 4 of our Debian 2.2 "aka potato" boxes, all of which share
> an NFS home filesystem. The problem is the same in all cases: on
> startup,
> PRINTstream->sm.sm_object0->s.s_dbind->sm.sm_object1->sm.sm_fp->_fileno
> is correctly set to stdout (1) on the boxes where it works, and
> garbage where it segfaults. The program segfaults when trying to
> first write to stdout. (Actually, the whole sm_fp FILE structure is
> bogus.)
>
> This setup must be preallocated on the stack or some such, as this
> condition holds even when breaking in gdb at the address of the first
> assembly statement in init of the executable. Furthermore, on
> checking the memory maps loaded by the process, (/proc/<pid>/maps:),
> all working cases show the following:
>
> 08048000-08485000 r-xp 00000000 03:03 88802 /usr/lib/maxima-5.5/src/saved_maxima_debug
> 08485000-086fe000 rw-p 0043c000 03:03 88802 /usr/lib/maxima-5.5/src/saved_maxima_debug
> 086fe000-087af000 rwxp 00000000 00:00 0
> 40000000-40012000 r-xp 00000000 03:03 34721 /lib/ld-2.1.3.so
> 40012000-40013000 rw-p 00011000 03:03 34721 /lib/ld-2.1.3.so
> 40013000-40014000 rwxp 00000000 00:00 0
> 40019000-400ee000 r-xp 00000000 03:03 34724 /lib/libc-2.1.3.so
> 400ee000-400f2000 rw-p 000d4000 03:03 34724 /lib/libc-2.1.3.so
> 400f2000-400f6000 rw-p 00000000 00:00 0
> 400f6000-40112000 r-xp 00000000 03:03 34901 /lib/libm-2.1.3.so
> 40112000-40113000 rw-p 0001b000 03:03 34901 /lib/libm-2.1.3.so
> bfff2000-c0000000 rwxp ffff3000 00:00 0
>
> whereas the failing cases show
>
> 08048000-08477000 r-xp 00000000 09:00 128542 /fix/c/home/camm/saved_maxima_debug
> 08477000-086ef000 rw-p 0042e000 09:00 128542 /fix/c/home/camm/saved_maxima_debug
> 40000000-40012000 r-xp 00000000 08:02 174764 /lib/ld-2.1.3.so
> 40012000-40013000 rw-p 00011000 08:02 174764 /lib/ld-2.1.3.so
> 40013000-40014000 rwxp 00000000 00:00 0
> 4001c000-400f1000 r-xp 00000000 08:02 174798 /lib/libc-2.1.3.so
> 400f1000-400f5000 rw-p 000d4000 08:02 174798 /lib/libc-2.1.3.so
> 400f5000-400f9000 rw-p 00000000 00:00 0
> 400f9000-40115000 r-xp 00000000 08:02 174815 /lib/libm-2.1.3.so
> 40115000-40116000 rw-p 0001b000 08:02 174815 /lib/libm-2.1.3.so
> bfffd000-c0000000 rwxp ffffe000 00:00 0
>
> All machines have identical ldso and libc6 packages installed.
>
> I haven't yet had time to understand the sfaslelf.c and/or rsym_elf.c,
> which is where I think this is getting setup. I would greatly
> appreciate suggestions from those much more knowledgeable than me on
> this list! Unfortunately, my test case is not on a public network. I
> haven't yet discovered what aspect of these machines is causing the
> different loading, so I cannot guarantee reproducing this situation on
> another system, though this behavior does persist on each execution
> of saved_maxima here. Any suggestions of what to try would be most
> helpful. I'm pretty decent with C and a debugger, but don't know
> about elf formats, etc.
>
> Thanks!
> --
> Camm Maguire [email protected]
> ==========================================================================
> "The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Fri Apr 13 23:07:05 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E475M11921
for <[email protected]>; Fri, 13 Apr 2001 23:07:05 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05011
for <[email protected]>; Fri, 13 Apr 2001 23:07:05 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00641;
Fri, 13 Apr 2001 23:07:05 -0500
Message-Id: <[email protected]>
MIME-Version: 1.0
Date: Fri, 23 Feb 2001 13:04:30 -0800
From: Richard Fateman <[email protected]>
Organization: University of California, Berkeley
X-Accept-Language: en
To: [email protected]
Content-Type: text/plain; charset=us-ascii
Status: R
Subject: [Maxima] Re: Maxima-5.5-beta and dynamic shared lib links
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Sorry I can't help with this. I think there is a problem
with GCL, and I don't know about its implementation at all.
RJF
Camm Maguire wrote:
>
> Greetings! I'm upgrading the Debian maxima package to 5.5-beta, and
> am running into the same shared-library link problems as before. This
> time, I've found some time to detail what's going on a bit more
> clearly, so hopefully this will help.
>
> I've now produced two saved_maxima executables, one 5.5-beta compiled
> with -g, and one using the current cvs trees for gcl and maxima
> compiled as per default, both of which run successfully on 3, and
> segfault on 4 of our Debian 2.2 "aka potato" boxes, all of which share
> an NFS home filesystem. The problem is the same in all cases: on
> startup,
> PRINTstream->sm.sm_object0->s.s_dbind->sm.sm_object1->sm.sm_fp->_fileno
> is correctly set to stdout (1) on the boxes where it works, and
> garbage where it segfaults. The program segfaults when trying to
> first write to stdout. (Actually, the whole sm_fp FILE structure is
> bogus.)
>
> This setup must be preallocated on the stack or some such, as this
> condition holds even when breaking in gdb at the address of the first
> assembly statement in init of the executable. Furthermore, on
> checking the memory maps loaded by the process, (/proc/<pid>/maps:),
> all working cases show the following:
>
> 08048000-08485000 r-xp 00000000 03:03 88802 /usr/lib/maxima-5.5/src/saved_maxima_debug
> 08485000-086fe000 rw-p 0043c000 03:03 88802 /usr/lib/maxima-5.5/src/saved_maxima_debug
> 086fe000-087af000 rwxp 00000000 00:00 0
> 40000000-40012000 r-xp 00000000 03:03 34721 /lib/ld-2.1.3.so
> 40012000-40013000 rw-p 00011000 03:03 34721 /lib/ld-2.1.3.so
> 40013000-40014000 rwxp 00000000 00:00 0
> 40019000-400ee000 r-xp 00000000 03:03 34724 /lib/libc-2.1.3.so
> 400ee000-400f2000 rw-p 000d4000 03:03 34724 /lib/libc-2.1.3.so
> 400f2000-400f6000 rw-p 00000000 00:00 0
> 400f6000-40112000 r-xp 00000000 03:03 34901 /lib/libm-2.1.3.so
> 40112000-40113000 rw-p 0001b000 03:03 34901 /lib/libm-2.1.3.so
> bfff2000-c0000000 rwxp ffff3000 00:00 0
>
> whereas the failing cases show
>
> 08048000-08477000 r-xp 00000000 09:00 128542 /fix/c/home/camm/saved_maxima_debug
> 08477000-086ef000 rw-p 0042e000 09:00 128542 /fix/c/home/camm/saved_maxima_debug
> 40000000-40012000 r-xp 00000000 08:02 174764 /lib/ld-2.1.3.so
> 40012000-40013000 rw-p 00011000 08:02 174764 /lib/ld-2.1.3.so
> 40013000-40014000 rwxp 00000000 00:00 0
> 4001c000-400f1000 r-xp 00000000 08:02 174798 /lib/libc-2.1.3.so
> 400f1000-400f5000 rw-p 000d4000 08:02 174798 /lib/libc-2.1.3.so
> 400f5000-400f9000 rw-p 00000000 00:00 0
> 400f9000-40115000 r-xp 00000000 08:02 174815 /lib/libm-2.1.3.so
> 40115000-40116000 rw-p 0001b000 08:02 174815 /lib/libm-2.1.3.so
> bfffd000-c0000000 rwxp ffffe000 00:00 0
>
> All machines have identical ldso and libc6 packages installed.
>
> I haven't yet had time to understand the sfaslelf.c and/or rsym_elf.c,
> which is where I think this is getting setup. I would greatly
> appreciate suggestions from those much more knowledgeable than me on
> this list! Unfortunately, my test case is not on a public network. I
> haven't yet discovered what aspect of these machines is causing the
> different loading, so I cannot guarantee reproducing this situation on
> another system, though this behavior does persist on each execution
> of saved_maxima here. Any suggestions of what to try would be most
> helpful. I'm pretty decent with C and a debugger, but don't know
> about elf formats, etc.
>
> Thanks!
> --
> Camm Maguire [email protected]
> ==========================================================================
> "The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Fri Apr 13 23:07:21 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E47LM11934
for <[email protected]>; Fri, 13 Apr 2001 23:07:21 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05015
for <[email protected]>; Fri, 13 Apr 2001 23:07:21 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00646;
Fri, 13 Apr 2001 23:07:21 -0500
Message-Id: <[email protected]>
To: [email protected]
From: Camm Maguire <[email protected]>
Date: 23 Feb 2001 18:55:07 -0500
In-Reply-To: Bill Schelter's message of "Fri, 23 Feb 2001 15:23:33 -0600"
Status: R
Subject: [Maxima] Re: Maxima-5.5-beta and dynamic shared lib links
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings!
This works! Thank you so much!!!
A few (very minor in comparison) other things I've run across in
putting this together:
1. Can't strip the binary:
intech19:~$ strip saved_maxima
BFD: /fix/g/camm/stp7tlJa: warning: allocated section `.data' not in segment
BFD: /fix/g/camm/stp7tlJa: warning: allocated section `.bss' not in segment
(then segfaults if run)
Is this to be expected?
2. I think ctensr.mac should be named ctensr.mc? (So that it can
'load'?)
3. No manpage for xmaxima. Not a big deal.
Thanks for this wonderful tool!
Bill Schelter <[email protected]> writes:
> Please try adding the following to 386-linux.h,
> You will have to redo
>
> ./configure
> (cd o ; rm -f main.o unixsave.o ; make ; cd ../unixport ; make)
>
>
> /* define if there is no _cleanup, do here what needs
> to be done before calling unexec
> */
> #define CLEANUP_CODE \
> setbuf(stdin,0); \
> setbuf(stdout,0);
>
> /* the following will try to make sure that the stdin and stdout are
> set correctly on startup after a save */
>
>
> #define INIT_CORE_END terminal_io->sm.sm_object0->sm.sm_fp = stdin;terminal_io->sm.sm_object1->sm.sm_fp = stdout;
>
>
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Fri Apr 13 23:07:33 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E47WM11940
for <[email protected]>; Fri, 13 Apr 2001 23:07:32 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05025
for <[email protected]>; Fri, 13 Apr 2001 23:07:32 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00651;
Fri, 13 Apr 2001 23:07:32 -0500
Message-Id: <[email protected]>
To: [email protected]
From: Camm Maguire <[email protected]>
Date: 23 Feb 2001 18:55:07 -0500
In-Reply-To: Bill Schelter's message of "Fri, 23 Feb 2001 15:23:33 -0600"
Status: R
Subject: [Maxima] Re: Maxima-5.5-beta and dynamic shared lib links
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings!
This works! Thank you so much!!!
A few (very minor in comparison) other things I've run across in
putting this together:
1. Can't strip the binary:
intech19:~$ strip saved_maxima
BFD: /fix/g/camm/stp7tlJa: warning: allocated section `.data' not in segment
BFD: /fix/g/camm/stp7tlJa: warning: allocated section `.bss' not in segment
(then segfaults if run)
Is this to be expected?
2. I think ctensr.mac should be named ctensr.mc? (So that it can
'load'?)
3. No manpage for xmaxima. Not a big deal.
Thanks for this wonderful tool!
Bill Schelter <[email protected]> writes:
> Please try adding the following to 386-linux.h,
> You will have to redo
>
> ./configure
> (cd o ; rm -f main.o unixsave.o ; make ; cd ../unixport ; make)
>
>
> /* define if there is no _cleanup, do here what needs
> to be done before calling unexec
> */
> #define CLEANUP_CODE \
> setbuf(stdin,0); \
> setbuf(stdout,0);
>
> /* the following will try to make sure that the stdin and stdout are
> set correctly on startup after a save */
>
>
> #define INIT_CORE_END terminal_io->sm.sm_object0->sm.sm_fp = stdin;terminal_io->sm.sm_object1->sm.sm_fp = stdout;
>
>
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Fri Apr 13 23:07:44 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E47iM11949
for <[email protected]>; Fri, 13 Apr 2001 23:07:44 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05029
for <[email protected]>; Fri, 13 Apr 2001 23:07:44 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00656;
Fri, 13 Apr 2001 23:07:44 -0500
Message-Id: <[email protected]>
MIME-Version: 1.0
To: [email protected]
From: [email protected]
Date: Mon, 26 Feb 2001 16:46:42 -0600
X-MIMETrack: Serialize by Router on UNKmail.unk.edu/Servers/UNEBR(Release 5.0.5 |September
22, 2000) at 02/26/2001 04:46:44 PM
Content-type: text/plain; charset=us-ascii
Status: R
Subject: [Maxima] maxima initialization file
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Is there a Maxima equivalent of Macsyma's initialization file? Under
Macsyma the
file is called macsyma-init.macsyma. In this file, you can set filesearch
and issue
setupautoload statements. Maxima's info file mentions the initialization
file, but
all my guesses for where to put it and what to call it have failed.
Thanks,
[Barton, Willis] = 0
University of Nebraska at Kearney
From [email protected] Fri Apr 13 23:07:55 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E47tM11953
for <[email protected]>; Fri, 13 Apr 2001 23:07:55 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05034
for <[email protected]>; Fri, 13 Apr 2001 23:07:55 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00661;
Fri, 13 Apr 2001 23:07:55 -0500
Message-Id: <[email protected]>
To: [email protected]
From: Camm Maguire <[email protected]>
Date: 26 Feb 2001 18:14:12 -0500
In-Reply-To: [email protected]'s message of "Mon, 26 Feb 2001 16:46:42 -0600"
Status: R
Subject: [Maxima] Re: maxima initialization file
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings! Just did an strace -f on the latest maxima, and found
this:
stat("init.lsp", 0xbfffd57c) = -1 ENOENT (No such file or directory)
Perhaps give that a try?
Take care,
[email protected] writes:
> Is there a Maxima equivalent of Macsyma's initialization file? Under
> Macsyma the
> file is called macsyma-init.macsyma. In this file, you can set filesearch
> and issue
> setupautoload statements. Maxima's info file mentions the initialization
> file, but
> all my guesses for where to put it and what to call it have failed.
>
> Thanks,
>
> [Barton, Willis] = 0
> University of Nebraska at Kearney
>
>
>
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Fri Apr 13 23:08:22 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E48MM11982
for <[email protected]>; Fri, 13 Apr 2001 23:08:22 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05040
for <[email protected]>; Fri, 13 Apr 2001 23:08:22 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00666;
Fri, 13 Apr 2001 23:08:22 -0500
Message-Id: <[email protected]>
To: [email protected]
From: Camm Maguire <[email protected]>
Date: 06 Mar 2001 16:05:32 -0500
In-Reply-To: Richard Fateman's message of "Thu, 14 Sep 2000 10:48:57 -0700"
Status: R
Subject: [Maxima] Old Macsyma code
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings! Just to follow up on an old suggestions, I've contacted
Richard Petti, and he assures me that the person who controls Macsyma
now has no intention of making the source openly available in the near
future.
Take care,
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Fri Apr 13 23:08:41 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E48fM11988
for <[email protected]>; Fri, 13 Apr 2001 23:08:41 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05048
for <[email protected]>; Fri, 13 Apr 2001 23:08:41 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00671;
Fri, 13 Apr 2001 23:08:41 -0500
Message-Id: <[email protected]>
To: [email protected]
From: Camm Maguire <[email protected]>
Date: 08 Mar 2001 11:41:30 -0500
In-Reply-To: Camm Maguire's message of "06 Mar 2001 16:05:32 -0500"
Status: R
Subject: [Maxima] Re: Old Macsyma code
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings! Just to let everyone know that I received another reply
from Richard Petti, and he asks for statistics on Maxima usage and
downloads, as he may be able to use this information to help free the
old Macsyma code. So he wants to help! Does anyone have access to
such information, even if partial?
Take care,
Camm Maguire <[email protected]> writes:
> Greetings! Just to follow up on an old suggestions, I've contacted
> Richard Petti, and he assures me that the person who controls Macsyma
> now has no intention of making the source openly available in the near
> future.
>
> Take care,
>
> --
> Camm Maguire [email protected]
> ==========================================================================
> "The earth is but one country, and mankind its citizens." -- Baha'u'llah
>
>
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Fri Apr 13 23:09:01 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E491M12006
for <[email protected]>; Fri, 13 Apr 2001 23:09:01 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05053
for <[email protected]>; Fri, 13 Apr 2001 23:09:01 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00676;
Fri, 13 Apr 2001 23:09:01 -0500
Message-Id: <[email protected]>
Date: Thu, 8 Mar 2001 11:35:27 -0500
From: Boris Veytsman <[email protected]>
To: [email protected]
In-reply-to: <[email protected]> (message from Camm Maguire
on 08 Mar 2001 11:41:30 -0500)
Status: R
Subject: [Maxima] Re: Old Macsyma code
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
> From: Camm Maguire <[email protected]>
> Date: 08 Mar 2001 11:41:30 -0500
> Greetings! Just to let everyone know that I received another reply
> from Richard Petti, and he asks for statistics on Maxima usage and
> downloads, as he may be able to use this information to help free the
> old Macsyma code. So he wants to help! Does anyone have access to
> such information, even if partial?
>
You can try debian statistics -- Maxima is included in the standard distro
--
Good luck
-Boris
http://www.plmsc.psu.edu/~boris/
From [email protected] Fri Apr 13 23:09:28 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E49RM12015
for <[email protected]>; Fri, 13 Apr 2001 23:09:28 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05067
for <[email protected]>; Fri, 13 Apr 2001 23:09:27 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00681;
Fri, 13 Apr 2001 23:09:27 -0500
Message-Id: <[email protected]>
Date: Thu, 8 Mar 2001 13:57:58 -0600
X-Authentication-Warning: sonia.ma.utexas.edu: wfs set sender to [email protected] using -f
From: Bill Schelter <[email protected]>
To: [email protected]
In-reply-to: <[email protected]> (message from Boris
Veytsman on Thu, 8 Mar 2001 11:35:27 -0500)
Reply-to: [email protected]
Content-Type: text/plain;charset="koi8-r"
Status: R
Subject: [Maxima] Re: Old Macsyma code
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
You can try debian statistics -- Maxima is included in the standard distro
actually the most common platform is probably windows, now that there
is a good self installing windows distribution (reference
http://www.ma.utexas.edu/maxima.html ). I should put a counter on my
page for downloads, but the thing is these things just get
mirrored--something I would of course encourage not prohibit, so it is
probably not worth the effort.
From [email protected] Fri Apr 13 23:09:37 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E49bM12019
for <[email protected]>; Fri, 13 Apr 2001 23:09:37 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05071
for <[email protected]>; Fri, 13 Apr 2001 23:09:37 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00686;
Fri, 13 Apr 2001 23:09:37 -0500
Message-Id: <[email protected]>
MIME-Version: 1.0
To: [email protected]
From: [email protected]
Date: Sat, 10 Mar 2001 10:07:30 -0600
X-MIMETrack: Serialize by Router on UNKmail.unk.edu/Servers/UNEBR(Release 5.0.5 |September
22, 2000) at 03/10/2001 10:07:32 AM
Content-type: text/plain; charset=us-ascii
Status: R
Subject: [Maxima] maxima initialization file
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Thanks for the help with maxima's initialization file.
Using maxima 5.4 under Linux, I've only been able to get maxima to read
init.lsp
if the file is in the working directory. Putting it in /usr/lib/maxima-5.4
or
/usr/lib/maxima-5.4/src didn't work for me.
In the process of creating my init.lsp file, I discovered that maxima's
save function
outputs
(in-package "maxima"
This needs to be manually changed to
(in-package "maxima")
To auto-load the function "to_html" located in the file
/home/barton/maxima/mathml4.3.o, the
following init.lsp file works for me:
;;; -*- mode: lisp; package:maxima; syntax:common-lisp; -*-
(in-package "maxima")
(defprop |$to_html| #"/home/barton/maxima/mathml4.3.o" autoload)
(add2lnc '|$to_html| $props)
BLW
University of Nebraska at Kearney
From [email protected] Fri Apr 13 23:09:48 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E49mM12024
for <[email protected]>; Fri, 13 Apr 2001 23:09:48 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05086
for <[email protected]>; Fri, 13 Apr 2001 23:09:48 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00691;
Fri, 13 Apr 2001 23:09:48 -0500
Message-Id: <[email protected]>
To: [email protected]
From: Camm Maguire <[email protected]>
Date: 13 Mar 2001 11:02:52 -0500
In-Reply-To: [email protected]'s message of "Sat, 10 Mar 2001 10:07:30 -0600"
Status: R
Subject: [Maxima] Re: maxima initialization file
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings!
[email protected] writes:
> Thanks for the help with maxima's initialization file.
>
> Using maxima 5.4 under Linux, I've only been able to get maxima to read
> init.lsp
> if the file is in the working directory. Putting it in /usr/lib/maxima-5.4
> or
> /usr/lib/maxima-5.4/src didn't work for me.
>
> In the process of creating my init.lsp file, I discovered that maxima's
> save function
> outputs
>
> (in-package "maxima"
>
> This needs to be manually changed to
>
> (in-package "maxima")
>
This seems to be fixed in the 5.5-beta
> To auto-load the function "to_html" located in the file
> /home/barton/maxima/mathml4.3.o, the
> following init.lsp file works for me:
>
> ;;; -*- mode: lisp; package:maxima; syntax:common-lisp; -*-
> (in-package "maxima")
>
> (defprop |$to_html| #"/home/barton/maxima/mathml4.3.o" autoload)
> (add2lnc '|$to_html| $props)
>
These are your own custom functions, right? Is there a problem with
this?
Take care,
> BLW
>
> University of Nebraska at Kearney
>
>
>
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Fri Apr 13 23:09:59 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E49xM12028
for <[email protected]>; Fri, 13 Apr 2001 23:09:59 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05095
for <[email protected]>; Fri, 13 Apr 2001 23:09:59 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00696;
Fri, 13 Apr 2001 23:09:59 -0500
Message-Id: <[email protected]>
MIME-Version: 1.0
To: [email protected]
From: [email protected]
Date: Wed, 21 Mar 2001 14:55:12 -0600
X-MIMETrack: Serialize by Router on UNKmail.unk.edu/Servers/UNEBR(Release 5.0.6a |January
17, 2001) at 03/21/2001 02:55:16 PM
Content-type: text/plain; charset=us-ascii
Status: R
Subject: [Maxima] prefix operators in maxima 4.5 & 5.5
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Defining "curl" to be a prefix operator makes closefile() parse as curl
osefile(). Is there
there a switch that changes this behavior? Specifically:
(c1) prefix("curl");
(d1) "CURL"
(c2) closefile("buddy.out");
(d2) CURL osefile(buddy.out)
/* cl is also a prefix operator */
(c3) cl x;
(c3) CURL x
(I've been playing with maxima's vector packages. I may adopt it as a
summer programming project.)
Regards,
Barton Willis
From [email protected] Fri Apr 13 23:10:15 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4AFM12118
for <[email protected]>; Fri, 13 Apr 2001 23:10:15 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05099
for <[email protected]>; Fri, 13 Apr 2001 23:10:14 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00711;
Fri, 13 Apr 2001 23:10:14 -0500
Message-Id: <[email protected]>
Date: Wed, 21 Mar 2001 18:09:37 -0600
X-Authentication-Warning: sonia.ma.utexas.edu: wfs set sender to [email protected] using -f
From: Bill Schelter <[email protected]>
To: [email protected]
In-reply-to: <[email protected]>
([email protected])
Reply-to: [email protected]
Content-Type: text/plain;charset="koi8-r"
Status: R
Subject: [Maxima] Re: prefix operators in maxima 4.5 & 5.5
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Thank you for reporting this bug. It would appear to have been
there for sometime, with people not using more than 2 character prefix
(c1) prefix("curl");
(d1) "CURL"
(c2) closefile("buddy.out");
(d2) CURL osefile(buddy.out)
or infix operators. It can be repaired by fixing
the code of read-command-token-aux in nparse.lisp as follows:
[alternately you can just load in the following file..]
(in-package "MAXIMA")
(defun read-command-token-aux (obj)
(let* (result
(ch (parse-tyipeek))
(lis (if (eql ch -1) nil (parser-assoc (char-upcase ch) obj))))
(cond ((null lis)
nil)
(t
(parse-tyi)
(cond ((atom (cadr lis))
;; INFIX("ABC"); puts into macsyma-operators
;;something like: (#\A #\B #\C (ANS |$ABC|))
;; ordinary things are like:
;; (#\< (ANS $<) (#\= (ANS $<=)))
;; where if you fail at the #\< #\X
;; stage, then the previous step was permitted.
(setq result (read-command-token-aux (list (cdr lis) ))))
((null (cddr lis))
;; lis something like (#\= (ANS $<=))
;; and this says there are no longer operators
;; starting with this.
(setq result
(and (eql (car (cadr lis)) 'ans)
(cadr (cadr lis)))))
(t
(let ((res (and (eql (car (cadr lis)) 'ans)
(cadr (cadr lis))))
(com-token (read-command-token-aux (cddr lis) )))
(setq result (or com-token res
(read-command-token-aux
(list (cadr lis))))))
))
(or result (unparse-tyi ch))
result))))
From [email protected] Fri Apr 13 23:10:26 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4APM12124
for <[email protected]>; Fri, 13 Apr 2001 23:10:25 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05103
for <[email protected]>; Fri, 13 Apr 2001 23:10:24 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00716;
Fri, 13 Apr 2001 23:10:24 -0500
Message-Id: <[email protected]>
MIME-Version: 1.0
Date: Thu, 05 Apr 2001 07:54:46 +0200
From: Oscar Lopez <[email protected]>
To: [email protected]
Status: R
Subject: [Maxima] Re: Newbie problem: plotting with maxima
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Oscar Lopez wrote:
>
> How can I get plots from maxima ? For me, it is not necessary to use an
> interface it would be suficient enough to produce gnuplot format output,
> or whatever it was.
>
At the end it was a problem in the omplotdata file, for recent
distributions of Tcl-Tk the file wish8.0 doesn't exist anymore. In order
to use omplotdata it is enough to change wish8.0 wish
-----------------------------------------------------------------------------
3c3
< exec wish "$0" "$@"
---
> exec wish8.0 "$0" "$@"
-----------------------------------------------------------------------------
--
http://www.iit.upco.es/~oscar
We'll be recording at the Paradise Friday night. Live, on the Death
label.
-- Swan, "Phantom of the Paradise"
From [email protected] Fri Apr 13 23:10:50 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4AoM12148
for <[email protected]>; Fri, 13 Apr 2001 23:10:50 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05107
for <[email protected]>; Fri, 13 Apr 2001 23:10:50 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00722;
Fri, 13 Apr 2001 23:10:50 -0500
Message-Id: <[email protected]>
To: [email protected]
From: Camm Maguire <[email protected]>
Date: 06 Apr 2001 11:29:31 -0400
Status: R
Subject: [Maxima] Re: Maxima bug on trigrat function
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Subject: maxima: missing trigrat.lisp
Package: maxima
Version: 5.5-beta-4
Severity: normal
Greetings, and thank you for your report. I'm submitting this to the
Debian Bug tracking system on your behalf to better keep track of this
issue. In general, there are many files in the source package which
are not installed by default in the makefiles, and it appears that the
installed list has gotten out of date with respect to the
documentation. I'm also ccing this message to the maxima list to
enquire as to whether it would be better to delete the reference to
trigrat from the documentation, or to include it in the installation.
Dr. Schelter, this issue has come up before with the mactex.lisp file
in src/, and I just installed it by hand. Is there a general wildcard
file pattern specifying files that we could *safely* install and cover
any references in the existing documentation?
Thanks!
Daniel Martins <[email protected]> writes:
> Dear Camm,
>
> As you are the maintainer of the maxima package I am sending in a copy
> of the problem I found using the testing version of maxima on my
> debian potato.
>
> The function trigrat that is cited in the trigonometric section of the
> info file with an example silply cannot be accesed
>
> In the source code of the maxima 5.4 it appears as trigrat.lisp in the
> subdirectory maxima5-4/share and is different from the remaining
> remaing function suffixes. Some of them are .lsp (not .lisp).
>
> I dont know how to overcome this problem and I am not a lisp
> programmer (sorry!)
>
> Anyway I am describing below a sample session. Ate the end the
> comments in the info file regarding trigrat
>
>
> ***************************************************************
>
>
> Thu 4:05pm ~ >maxima
> GCL (GNU Common Lisp) Version(2.3) Sun Aug 20 20:05:49 CEST 2000
> Licensed under GNU Library General Public License
> Contains Enhancements by W. Schelter
> Maxima 5.4 Sun Aug 20 20:05:46 CEST 2000 (with enhancements by W. Schelter).
> Licensed under the GNU Public License (see file COPYING)
> (C1) trigrat(sin(3*a)/sin(a+%pi/3));
>
> Could not find `trigrat' using paths in FILE_SEARCH_LISP,SYSTEM
>
> (combined values: [./###.{o,lsp,lisp},
>
> /usr/lib/maxima-5.4/{src,share1,sym}/###.o,
>
> /usr/lib/maxima-5.4/{src,share1,sym}/###.o,
>
> /usr/lib/maxima-5.4/{src,share1}/###.lisp, /usr/lib/maxima-5.4/{sym}/###.lsp,
>
> /usr/lib/maxima-5.4/src/../{src,share,share1,sharem}/foo.{mc,mac}] )
> #0: TRIGRAT(?_l=[SIN(3*a)/SIN(a+%PI/3)])
> -- an error. Quitting. To debug this try DEBUGMODE(TRUE);)
> (C2)
>
>
>
>
> ***************************************************************
>
> - Function: TRIGRAT (trigexp)
> gives a canonical simplifyed quasilinear form of a trigonometrical
> expression; trigexp is a rational fraction of several sin, cos or
> tan, the arguments of them are linear forms in some variables (or
> kernels) and %pi/n (n integer) with integer coefficients. The
> result is a simplifyed fraction with numerator and denominator
> linear in sin and cos. Thus TRIGRAT linearize always when it is
> possible.(written by D. Lazard).
>
> (c1) trigrat(sin(3*a)/sin(a+%pi/3));
>
> (d1) sqrt(3) sin(2 a) + cos(2 a) - 1
>
> Here is another example (for which the function was intended); see
> [Davenport, Siret, Tournier, Calcul Formel, Masson (or in english,
> Addison-Wesley), section 1.5.5, Morley theorem). Timings are on
> VAX 780.
>
> (c4) c:%pi/3-a-b;
>
> %pi
> (d4) - b - a + ---
> 3
>
> (c5) bc:sin(a)*sin(3*c)/sin(a+b);
>
> sin(a) sin(3 b + 3 a)
> (d5) ---------------------
> sin(b + a)
>
> (c6) ba:bc,c=a,a=c$
>
> (c7) ac2:ba^2+bc^2-2*bc*ba*cos(b);
>
> 2 2
> sin (a) sin (3 b + 3 a)
> (d7) -----------------------
> 2
> sin (b + a)
>
> %pi
> 2 sin(a) sin(3 a) cos(b) sin(b + a - ---) sin(3 b + 3 a)
> 3
> - --------------------------------------------------------
> %pi
> sin(a - ---) sin(b + a)
> 3
>
> 2 2 %pi
> sin (3 a) sin (b + a - ---)
> 3
> + ---------------------------
> 2 %pi
> sin (a - ---)
> 3
>
> (c9) trigrat(ac2);
> Totaltime= 65866 msec. GCtime= 7716 msec.
>
> (d9)
> - (sqrt(3) sin(4 b + 4 a) - cos(4 b + 4 a)
>
> - 2 sqrt(3) sin(4 b + 2 a)
>
> + 2 cos(4 b + 2 a) - 2 sqrt(3) sin(2 b + 4 a) + 2 cos(2 b + 4 a)
>
> + 4 sqrt(3) sin(2 b + 2 a) - 8 cos(2 b + 2 a) - 4 cos(2 b - 2 a)
>
> + sqrt(3) sin(4 b) - cos(4 b) - 2 sqrt(3) sin(2 b) + 10 cos(2 b)
>
> + sqrt(3) sin(4 a) - cos(4 a) - 2 sqrt(3) sin(2 a) + 10 cos(2 a)
>
> - 9)/4
>
>
>
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Fri Apr 13 23:11:16 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4BGM12152
for <[email protected]>; Fri, 13 Apr 2001 23:11:16 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05118
for <[email protected]>; Fri, 13 Apr 2001 23:11:15 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00727;
Fri, 13 Apr 2001 23:11:15 -0500
Message-Id: <[email protected]>
To: [email protected]
From: Camm Maguire <[email protected]>
Date: 06 Apr 2001 11:29:31 -0400
Status: R
Subject: [Maxima] Re: Maxima bug on trigrat function
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Subject: maxima: missing trigrat.lisp
Package: maxima
Version: 5.5-beta-4
Severity: normal
Greetings, and thank you for your report. I'm submitting this to the
Debian Bug tracking system on your behalf to better keep track of this
issue. In general, there are many files in the source package which
are not installed by default in the makefiles, and it appears that the
installed list has gotten out of date with respect to the
documentation. I'm also ccing this message to the maxima list to
enquire as to whether it would be better to delete the reference to
trigrat from the documentation, or to include it in the installation.
Dr. Schelter, this issue has come up before with the mactex.lisp file
in src/, and I just installed it by hand. Is there a general wildcard
file pattern specifying files that we could *safely* install and cover
any references in the existing documentation?
Thanks!
Daniel Martins <[email protected]> writes:
> Dear Camm,
>
> As you are the maintainer of the maxima package I am sending in a copy
> of the problem I found using the testing version of maxima on my
> debian potato.
>
> The function trigrat that is cited in the trigonometric section of the
> info file with an example silply cannot be accesed
>
> In the source code of the maxima 5.4 it appears as trigrat.lisp in the
> subdirectory maxima5-4/share and is different from the remaining
> remaing function suffixes. Some of them are .lsp (not .lisp).
>
> I dont know how to overcome this problem and I am not a lisp
> programmer (sorry!)
>
> Anyway I am describing below a sample session. Ate the end the
> comments in the info file regarding trigrat
>
>
> ***************************************************************
>
>
> Thu 4:05pm ~ >maxima
> GCL (GNU Common Lisp) Version(2.3) Sun Aug 20 20:05:49 CEST 2000
> Licensed under GNU Library General Public License
> Contains Enhancements by W. Schelter
> Maxima 5.4 Sun Aug 20 20:05:46 CEST 2000 (with enhancements by W. Schelter).
> Licensed under the GNU Public License (see file COPYING)
> (C1) trigrat(sin(3*a)/sin(a+%pi/3));
>
> Could not find `trigrat' using paths in FILE_SEARCH_LISP,SYSTEM
>
> (combined values: [./###.{o,lsp,lisp},
>
> /usr/lib/maxima-5.4/{src,share1,sym}/###.o,
>
> /usr/lib/maxima-5.4/{src,share1,sym}/###.o,
>
> /usr/lib/maxima-5.4/{src,share1}/###.lisp, /usr/lib/maxima-5.4/{sym}/###.lsp,
>
> /usr/lib/maxima-5.4/src/../{src,share,share1,sharem}/foo.{mc,mac}] )
> #0: TRIGRAT(?_l=[SIN(3*a)/SIN(a+%PI/3)])
> -- an error. Quitting. To debug this try DEBUGMODE(TRUE);)
> (C2)
>
>
>
>
> ***************************************************************
>
> - Function: TRIGRAT (trigexp)
> gives a canonical simplifyed quasilinear form of a trigonometrical
> expression; trigexp is a rational fraction of several sin, cos or
> tan, the arguments of them are linear forms in some variables (or
> kernels) and %pi/n (n integer) with integer coefficients. The
> result is a simplifyed fraction with numerator and denominator
> linear in sin and cos. Thus TRIGRAT linearize always when it is
> possible.(written by D. Lazard).
>
> (c1) trigrat(sin(3*a)/sin(a+%pi/3));
>
> (d1) sqrt(3) sin(2 a) + cos(2 a) - 1
>
> Here is another example (for which the function was intended); see
> [Davenport, Siret, Tournier, Calcul Formel, Masson (or in english,
> Addison-Wesley), section 1.5.5, Morley theorem). Timings are on
> VAX 780.
>
> (c4) c:%pi/3-a-b;
>
> %pi
> (d4) - b - a + ---
> 3
>
> (c5) bc:sin(a)*sin(3*c)/sin(a+b);
>
> sin(a) sin(3 b + 3 a)
> (d5) ---------------------
> sin(b + a)
>
> (c6) ba:bc,c=a,a=c$
>
> (c7) ac2:ba^2+bc^2-2*bc*ba*cos(b);
>
> 2 2
> sin (a) sin (3 b + 3 a)
> (d7) -----------------------
> 2
> sin (b + a)
>
> %pi
> 2 sin(a) sin(3 a) cos(b) sin(b + a - ---) sin(3 b + 3 a)
> 3
> - --------------------------------------------------------
> %pi
> sin(a - ---) sin(b + a)
> 3
>
> 2 2 %pi
> sin (3 a) sin (b + a - ---)
> 3
> + ---------------------------
> 2 %pi
> sin (a - ---)
> 3
>
> (c9) trigrat(ac2);
> Totaltime= 65866 msec. GCtime= 7716 msec.
>
> (d9)
> - (sqrt(3) sin(4 b + 4 a) - cos(4 b + 4 a)
>
> - 2 sqrt(3) sin(4 b + 2 a)
>
> + 2 cos(4 b + 2 a) - 2 sqrt(3) sin(2 b + 4 a) + 2 cos(2 b + 4 a)
>
> + 4 sqrt(3) sin(2 b + 2 a) - 8 cos(2 b + 2 a) - 4 cos(2 b - 2 a)
>
> + sqrt(3) sin(4 b) - cos(4 b) - 2 sqrt(3) sin(2 b) + 10 cos(2 b)
>
> + sqrt(3) sin(4 a) - cos(4 a) - 2 sqrt(3) sin(2 a) + 10 cos(2 a)
>
> - 9)/4
>
>
>
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Fri Apr 13 23:11:42 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4BfM12157
for <[email protected]>; Fri, 13 Apr 2001 23:11:41 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05122
for <[email protected]>; Fri, 13 Apr 2001 23:11:41 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00734;
Fri, 13 Apr 2001 23:11:41 -0500
Message-Id: <[email protected]>
MIME-Version: 1.0
Date: Fri, 06 Apr 2001 09:10:32 -0700
From: Richard Fateman <[email protected]>
To: [email protected]
Status: R
Subject: [Maxima] Re: Maxima bug on trigrat function
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I would hope that the autoloading capability of the system
would take care of all of the "out-of-core" files if the
autoload properties were set up and the file names and locations
were correct.
I know of no way to assure that the different files
do not tread on each others' toes, though there would probably
be warning messages for overlaying already-existing program
definitions.
Of some interest: trigrat is NOT in the commercial macsyma,
though I suspect the short file could, with a little
effort, be loaded into it. I tried it and the reader-dispatch
marker #$ to use the maxima reader does not work in macsyma.
I'm also cc'ing Bill Gosper in case he wants to know that
there are actually people fussing with the public domain
maxima.
RJF
Camm Maguire wrote:
>
> Subject: maxima: missing trigrat.lisp
> Package: maxima
> Version: 5.5-beta-4
> Severity: normal
>
> Greetings, and thank you for your report. I'm submitting this to the
> Debian Bug tracking system on your behalf to better keep track of this
> issue. In general, there are many files in the source package which
> are not installed by default in the makefiles, and it appears that the
> installed list has gotten out of date with respect to the
> documentation. I'm also ccing this message to the maxima list to
> enquire as to whether it would be better to delete the reference to
> trigrat from the documentation, or to include it in the installation.
>
> Dr. Schelter, this issue has come up before with the mactex.lisp file
> in src/, and I just installed it by hand. Is there a general wildcard
> file pattern specifying files that we could *safely* install and cover
> any references in the existing documentation?
>
> Thanks!
>
> Daniel Martins <[email protected]> writes:
>
> > Dear Camm,
> >
> > As you are the maintainer of the maxima package I am sending in a copy
> > of the problem I found using the testing version of maxima on my
> > debian potato.
> >
> > The function trigrat that is cited in the trigonometric section of the
> > info file with an example silply cannot be accesed
> >
> > In the source code of the maxima 5.4 it appears as trigrat.lisp in the
> > subdirectory maxima5-4/share and is different from the remaining
> > remaing function suffixes. Some of them are .lsp (not .lisp).
> >
> > I dont know how to overcome this problem and I am not a lisp
> > programmer (sorry!)
> >
> > Anyway I am describing below a sample session. Ate the end the
> > comments in the info file regarding trigrat
> >
> >
> > ***************************************************************
> >
> >
> > Thu 4:05pm ~ >maxima
> > GCL (GNU Common Lisp) Version(2.3) Sun Aug 20 20:05:49 CEST 2000
> > Licensed under GNU Library General Public License
> > Contains Enhancements by W. Schelter
> > Maxima 5.4 Sun Aug 20 20:05:46 CEST 2000 (with enhancements by W. Schelter).
> > Licensed under the GNU Public License (see file COPYING)
> > (C1) trigrat(sin(3*a)/sin(a+%pi/3));
> >
> > Could not find `trigrat' using paths in FILE_SEARCH_LISP,SYSTEM
> >
> > (combined values: [./###.{o,lsp,lisp},
> >
> > /usr/lib/maxima-5.4/{src,share1,sym}/###.o,
> >
> > /usr/lib/maxima-5.4/{src,share1,sym}/###.o,
> >
> > /usr/lib/maxima-5.4/{src,share1}/###.lisp, /usr/lib/maxima-5.4/{sym}/###.lsp,
> >
> > /usr/lib/maxima-5.4/src/../{src,share,share1,sharem}/foo.{mc,mac}] )
> > #0: TRIGRAT(?_l=[SIN(3*a)/SIN(a+%PI/3)])
> > -- an error. Quitting. To debug this try DEBUGMODE(TRUE);)
> > (C2)
> >
> >
> >
> >
> > ***************************************************************
> >
> > - Function: TRIGRAT (trigexp)
> > gives a canonical simplifyed quasilinear form of a trigonometrical
> > expression; trigexp is a rational fraction of several sin, cos or
> > tan, the arguments of them are linear forms in some variables (or
> > kernels) and %pi/n (n integer) with integer coefficients. The
> > result is a simplifyed fraction with numerator and denominator
> > linear in sin and cos. Thus TRIGRAT linearize always when it is
> > possible.(written by D. Lazard).
> >
> > (c1) trigrat(sin(3*a)/sin(a+%pi/3));
> >
> > (d1) sqrt(3) sin(2 a) + cos(2 a) - 1
> >
> > Here is another example (for which the function was intended); see
> > [Davenport, Siret, Tournier, Calcul Formel, Masson (or in english,
> > Addison-Wesley), section 1.5.5, Morley theorem). Timings are on
> > VAX 780.
> >
> > (c4) c:%pi/3-a-b;
> >
> > %pi
> > (d4) - b - a + ---
> > 3
> >
> > (c5) bc:sin(a)*sin(3*c)/sin(a+b);
> >
> > sin(a) sin(3 b + 3 a)
> > (d5) ---------------------
> > sin(b + a)
> >
> > (c6) ba:bc,c=a,a=c$
> >
> > (c7) ac2:ba^2+bc^2-2*bc*ba*cos(b);
> >
> > 2 2
> > sin (a) sin (3 b + 3 a)
> > (d7) -----------------------
> > 2
> > sin (b + a)
> >
> > %pi
> > 2 sin(a) sin(3 a) cos(b) sin(b + a - ---) sin(3 b + 3 a)
> > 3
> > - --------------------------------------------------------
> > %pi
> > sin(a - ---) sin(b + a)
> > 3
> >
> > 2 2 %pi
> > sin (3 a) sin (b + a - ---)
> > 3
> > + ---------------------------
> > 2 %pi
> > sin (a - ---)
> > 3
> >
> > (c9) trigrat(ac2);
> > Totaltime= 65866 msec. GCtime= 7716 msec.
> >
> > (d9)
> > - (sqrt(3) sin(4 b + 4 a) - cos(4 b + 4 a)
> >
> > - 2 sqrt(3) sin(4 b + 2 a)
> >
> > + 2 cos(4 b + 2 a) - 2 sqrt(3) sin(2 b + 4 a) + 2 cos(2 b + 4 a)
> >
> > + 4 sqrt(3) sin(2 b + 2 a) - 8 cos(2 b + 2 a) - 4 cos(2 b - 2 a)
> >
> > + sqrt(3) sin(4 b) - cos(4 b) - 2 sqrt(3) sin(2 b) + 10 cos(2 b)
> >
> > + sqrt(3) sin(4 a) - cos(4 a) - 2 sqrt(3) sin(2 a) + 10 cos(2 a)
> >
> > - 9)/4
> >
> >
> >
>
> --
> Camm Maguire [email protected]
> ==========================================================================
> "The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Fri Apr 13 23:11:57 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4BvM12185
for <[email protected]>; Fri, 13 Apr 2001 23:11:57 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05126
for <[email protected]>; Fri, 13 Apr 2001 23:11:57 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00739;
Fri, 13 Apr 2001 23:11:57 -0500
Message-Id: <[email protected]>
MIME-Version: 1.0
Date: Fri, 06 Apr 2001 09:10:32 -0700
From: Richard Fateman <[email protected]>
To: [email protected]
Status: R
Subject: [Maxima] Re: Maxima bug on trigrat function
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I would hope that the autoloading capability of the system
would take care of all of the "out-of-core" files if the
autoload properties were set up and the file names and locations
were correct.
I know of no way to assure that the different files
do not tread on each others' toes, though there would probably
be warning messages for overlaying already-existing program
definitions.
Of some interest: trigrat is NOT in the commercial macsyma,
though I suspect the short file could, with a little
effort, be loaded into it. I tried it and the reader-dispatch
marker #$ to use the maxima reader does not work in macsyma.
I'm also cc'ing Bill Gosper in case he wants to know that
there are actually people fussing with the public domain
maxima.
RJF
Camm Maguire wrote:
>
> Subject: maxima: missing trigrat.lisp
> Package: maxima
> Version: 5.5-beta-4
> Severity: normal
>
> Greetings, and thank you for your report. I'm submitting this to the
> Debian Bug tracking system on your behalf to better keep track of this
> issue. In general, there are many files in the source package which
> are not installed by default in the makefiles, and it appears that the
> installed list has gotten out of date with respect to the
> documentation. I'm also ccing this message to the maxima list to
> enquire as to whether it would be better to delete the reference to
> trigrat from the documentation, or to include it in the installation.
>
> Dr. Schelter, this issue has come up before with the mactex.lisp file
> in src/, and I just installed it by hand. Is there a general wildcard
> file pattern specifying files that we could *safely* install and cover
> any references in the existing documentation?
>
> Thanks!
>
> Daniel Martins <[email protected]> writes:
>
> > Dear Camm,
> >
> > As you are the maintainer of the maxima package I am sending in a copy
> > of the problem I found using the testing version of maxima on my
> > debian potato.
> >
> > The function trigrat that is cited in the trigonometric section of the
> > info file with an example silply cannot be accesed
> >
> > In the source code of the maxima 5.4 it appears as trigrat.lisp in the
> > subdirectory maxima5-4/share and is different from the remaining
> > remaing function suffixes. Some of them are .lsp (not .lisp).
> >
> > I dont know how to overcome this problem and I am not a lisp
> > programmer (sorry!)
> >
> > Anyway I am describing below a sample session. Ate the end the
> > comments in the info file regarding trigrat
> >
> >
> > ***************************************************************
> >
> >
> > Thu 4:05pm ~ >maxima
> > GCL (GNU Common Lisp) Version(2.3) Sun Aug 20 20:05:49 CEST 2000
> > Licensed under GNU Library General Public License
> > Contains Enhancements by W. Schelter
> > Maxima 5.4 Sun Aug 20 20:05:46 CEST 2000 (with enhancements by W. Schelter).
> > Licensed under the GNU Public License (see file COPYING)
> > (C1) trigrat(sin(3*a)/sin(a+%pi/3));
> >
> > Could not find `trigrat' using paths in FILE_SEARCH_LISP,SYSTEM
> >
> > (combined values: [./###.{o,lsp,lisp},
> >
> > /usr/lib/maxima-5.4/{src,share1,sym}/###.o,
> >
> > /usr/lib/maxima-5.4/{src,share1,sym}/###.o,
> >
> > /usr/lib/maxima-5.4/{src,share1}/###.lisp, /usr/lib/maxima-5.4/{sym}/###.lsp,
> >
> > /usr/lib/maxima-5.4/src/../{src,share,share1,sharem}/foo.{mc,mac}] )
> > #0: TRIGRAT(?_l=[SIN(3*a)/SIN(a+%PI/3)])
> > -- an error. Quitting. To debug this try DEBUGMODE(TRUE);)
> > (C2)
> >
> >
> >
> >
> > ***************************************************************
> >
> > - Function: TRIGRAT (trigexp)
> > gives a canonical simplifyed quasilinear form of a trigonometrical
> > expression; trigexp is a rational fraction of several sin, cos or
> > tan, the arguments of them are linear forms in some variables (or
> > kernels) and %pi/n (n integer) with integer coefficients. The
> > result is a simplifyed fraction with numerator and denominator
> > linear in sin and cos. Thus TRIGRAT linearize always when it is
> > possible.(written by D. Lazard).
> >
> > (c1) trigrat(sin(3*a)/sin(a+%pi/3));
> >
> > (d1) sqrt(3) sin(2 a) + cos(2 a) - 1
> >
> > Here is another example (for which the function was intended); see
> > [Davenport, Siret, Tournier, Calcul Formel, Masson (or in english,
> > Addison-Wesley), section 1.5.5, Morley theorem). Timings are on
> > VAX 780.
> >
> > (c4) c:%pi/3-a-b;
> >
> > %pi
> > (d4) - b - a + ---
> > 3
> >
> > (c5) bc:sin(a)*sin(3*c)/sin(a+b);
> >
> > sin(a) sin(3 b + 3 a)
> > (d5) ---------------------
> > sin(b + a)
> >
> > (c6) ba:bc,c=a,a=c$
> >
> > (c7) ac2:ba^2+bc^2-2*bc*ba*cos(b);
> >
> > 2 2
> > sin (a) sin (3 b + 3 a)
> > (d7) -----------------------
> > 2
> > sin (b + a)
> >
> > %pi
> > 2 sin(a) sin(3 a) cos(b) sin(b + a - ---) sin(3 b + 3 a)
> > 3
> > - --------------------------------------------------------
> > %pi
> > sin(a - ---) sin(b + a)
> > 3
> >
> > 2 2 %pi
> > sin (3 a) sin (b + a - ---)
> > 3
> > + ---------------------------
> > 2 %pi
> > sin (a - ---)
> > 3
> >
> > (c9) trigrat(ac2);
> > Totaltime= 65866 msec. GCtime= 7716 msec.
> >
> > (d9)
> > - (sqrt(3) sin(4 b + 4 a) - cos(4 b + 4 a)
> >
> > - 2 sqrt(3) sin(4 b + 2 a)
> >
> > + 2 cos(4 b + 2 a) - 2 sqrt(3) sin(2 b + 4 a) + 2 cos(2 b + 4 a)
> >
> > + 4 sqrt(3) sin(2 b + 2 a) - 8 cos(2 b + 2 a) - 4 cos(2 b - 2 a)
> >
> > + sqrt(3) sin(4 b) - cos(4 b) - 2 sqrt(3) sin(2 b) + 10 cos(2 b)
> >
> > + sqrt(3) sin(4 a) - cos(4 a) - 2 sqrt(3) sin(2 a) + 10 cos(2 a)
> >
> > - 9)/4
> >
> >
> >
>
> --
> Camm Maguire [email protected]
> ==========================================================================
> "The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Fri Apr 13 23:12:14 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4CEM12205
for <[email protected]>; Fri, 13 Apr 2001 23:12:14 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05136
for <[email protected]>; Fri, 13 Apr 2001 23:12:13 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00744;
Fri, 13 Apr 2001 23:12:13 -0500
Message-Id: <[email protected]>
MIME-Version: 1.0
Date: Fri, 6 Apr 2001 16:35:53 -0300 (EST)
From: Daniel Martins <[email protected]>
To: [email protected]
Status: R
Subject: [Maxima] Re: Maxima bug on trigrat function
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Camm,
Thanks for the prompt reply,
I have an extra remark.
I did notice also that the debian package does not depend upon the gcl
debian package. I dont know if this is implicitly compiled with gcl or
not. Maybe "debianized" maxima should "suggest" gcl ?
About trigrat again. I find this file quite important. It is a
differential relative to other simplifications in trigonometric methods.
Simply ignore it in the documentation appears to me as a not good idea.
Thanks again,
Daniel
On 6 Apr 2001, Camm Maguire wrote:
> Subject: maxima: missing trigrat.lisp
> Package: maxima
> Version: 5.5-beta-4
> Severity: normal
>
>
> Greetings, and thank you for your report. I'm submitting this to the
> Debian Bug tracking system on your behalf to better keep track of this
> issue. In general, there are many files in the source package which
> are not installed by default in the makefiles, and it appears that the
> installed list has gotten out of date with respect to the
> documentation. I'm also ccing this message to the maxima list to
> enquire as to whether it would be better to delete the reference to
> trigrat from the documentation, or to include it in the installation.
>
> Dr. Schelter, this issue has come up before with the mactex.lisp file
> in src/, and I just installed it by hand. Is there a general wildcard
> file pattern specifying files that we could *safely* install and cover
> any references in the existing documentation?
>
> Thanks!
>
> Daniel Martins <[email protected]> writes:
>
> > Dear Camm,
> >
> > As you are the maintainer of the maxima package I am sending in a copy
> > of the problem I found using the testing version of maxima on my
> > debian potato.
> >
> > The function trigrat that is cited in the trigonometric section of the
> > info file with an example silply cannot be accesed
> >
> > In the source code of the maxima 5.4 it appears as trigrat.lisp in the
> > subdirectory maxima5-4/share and is different from the remaining
> > remaing function suffixes. Some of them are .lsp (not .lisp).
> >
> > I dont know how to overcome this problem and I am not a lisp
> > programmer (sorry!)
> >
> > Anyway I am describing below a sample session. Ate the end the
> > comments in the info file regarding trigrat
> >
> >
> > ***************************************************************
> >
> >
> > Thu 4:05pm ~ >maxima
> > GCL (GNU Common Lisp) Version(2.3) Sun Aug 20 20:05:49 CEST 2000
> > Licensed under GNU Library General Public License
> > Contains Enhancements by W. Schelter
> > Maxima 5.4 Sun Aug 20 20:05:46 CEST 2000 (with enhancements by W. Schelter).
> > Licensed under the GNU Public License (see file COPYING)
> > (C1) trigrat(sin(3*a)/sin(a+%pi/3));
> >
> > Could not find `trigrat' using paths in FILE_SEARCH_LISP,SYSTEM
> >
> > (combined values: [./###.{o,lsp,lisp},
> >
> > /usr/lib/maxima-5.4/{src,share1,sym}/###.o,
> >
> > /usr/lib/maxima-5.4/{src,share1,sym}/###.o,
> >
> > /usr/lib/maxima-5.4/{src,share1}/###.lisp, /usr/lib/maxima-5.4/{sym}/###.lsp,
> >
> > /usr/lib/maxima-5.4/src/../{src,share,share1,sharem}/foo.{mc,mac}] )
> > #0: TRIGRAT(?_l=[SIN(3*a)/SIN(a+%PI/3)])
> > -- an error. Quitting. To debug this try DEBUGMODE(TRUE);)
> > (C2)
> >
> >
> >
> >
> > ***************************************************************
> >
> > - Function: TRIGRAT (trigexp)
> > gives a canonical simplifyed quasilinear form of a trigonometrical
> > expression; trigexp is a rational fraction of several sin, cos or
> > tan, the arguments of them are linear forms in some variables (or
> > kernels) and %pi/n (n integer) with integer coefficients. The
> > result is a simplifyed fraction with numerator and denominator
> > linear in sin and cos. Thus TRIGRAT linearize always when it is
> > possible.(written by D. Lazard).
> >
> > (c1) trigrat(sin(3*a)/sin(a+%pi/3));
> >
> > (d1) sqrt(3) sin(2 a) + cos(2 a) - 1
> >
> > Here is another example (for which the function was intended); see
> > [Davenport, Siret, Tournier, Calcul Formel, Masson (or in english,
> > Addison-Wesley), section 1.5.5, Morley theorem). Timings are on
> > VAX 780.
> >
> > (c4) c:%pi/3-a-b;
> >
> > %pi
> > (d4) - b - a + ---
> > 3
> >
> > (c5) bc:sin(a)*sin(3*c)/sin(a+b);
> >
> > sin(a) sin(3 b + 3 a)
> > (d5) ---------------------
> > sin(b + a)
> >
> > (c6) ba:bc,c=a,a=c$
> >
> > (c7) ac2:ba^2+bc^2-2*bc*ba*cos(b);
> >
> > 2 2
> > sin (a) sin (3 b + 3 a)
> > (d7) -----------------------
> > 2
> > sin (b + a)
> >
> > %pi
> > 2 sin(a) sin(3 a) cos(b) sin(b + a - ---) sin(3 b + 3 a)
> > 3
> > - --------------------------------------------------------
> > %pi
> > sin(a - ---) sin(b + a)
> > 3
> >
> > 2 2 %pi
> > sin (3 a) sin (b + a - ---)
> > 3
> > + ---------------------------
> > 2 %pi
> > sin (a - ---)
> > 3
> >
> > (c9) trigrat(ac2);
> > Totaltime= 65866 msec. GCtime= 7716 msec.
> >
> > (d9)
> > - (sqrt(3) sin(4 b + 4 a) - cos(4 b + 4 a)
> >
> > - 2 sqrt(3) sin(4 b + 2 a)
> >
> > + 2 cos(4 b + 2 a) - 2 sqrt(3) sin(2 b + 4 a) + 2 cos(2 b + 4 a)
> >
> > + 4 sqrt(3) sin(2 b + 2 a) - 8 cos(2 b + 2 a) - 4 cos(2 b - 2 a)
> >
> > + sqrt(3) sin(4 b) - cos(4 b) - 2 sqrt(3) sin(2 b) + 10 cos(2 b)
> >
> > + sqrt(3) sin(4 a) - cos(4 a) - 2 sqrt(3) sin(2 a) + 10 cos(2 a)
> >
> > - 9)/4
> >
> >
> >
>
> --
> Camm Maguire [email protected]
> ==========================================================================
> "The earth is but one country, and mankind its citizens." -- Baha'u'llah
>
From [email protected] Fri Apr 13 23:12:27 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4CRM12211
for <[email protected]>; Fri, 13 Apr 2001 23:12:27 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05141
for <[email protected]>; Fri, 13 Apr 2001 23:12:27 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00749;
Fri, 13 Apr 2001 23:12:27 -0500
Message-Id: <[email protected]>
MIME-Version: 1.0
Date: Fri, 6 Apr 2001 16:35:53 -0300 (EST)
From: Daniel Martins <[email protected]>
To: [email protected]
Status: R
Subject: [Maxima] Re: Maxima bug on trigrat function
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Camm,
Thanks for the prompt reply,
I have an extra remark.
I did notice also that the debian package does not depend upon the gcl
debian package. I dont know if this is implicitly compiled with gcl or
not. Maybe "debianized" maxima should "suggest" gcl ?
About trigrat again. I find this file quite important. It is a
differential relative to other simplifications in trigonometric methods.
Simply ignore it in the documentation appears to me as a not good idea.
Thanks again,
Daniel
On 6 Apr 2001, Camm Maguire wrote:
> Subject: maxima: missing trigrat.lisp
> Package: maxima
> Version: 5.5-beta-4
> Severity: normal
>
>
> Greetings, and thank you for your report. I'm submitting this to the
> Debian Bug tracking system on your behalf to better keep track of this
> issue. In general, there are many files in the source package which
> are not installed by default in the makefiles, and it appears that the
> installed list has gotten out of date with respect to the
> documentation. I'm also ccing this message to the maxima list to
> enquire as to whether it would be better to delete the reference to
> trigrat from the documentation, or to include it in the installation.
>
> Dr. Schelter, this issue has come up before with the mactex.lisp file
> in src/, and I just installed it by hand. Is there a general wildcard
> file pattern specifying files that we could *safely* install and cover
> any references in the existing documentation?
>
> Thanks!
>
> Daniel Martins <[email protected]> writes:
>
> > Dear Camm,
> >
> > As you are the maintainer of the maxima package I am sending in a copy
> > of the problem I found using the testing version of maxima on my
> > debian potato.
> >
> > The function trigrat that is cited in the trigonometric section of the
> > info file with an example silply cannot be accesed
> >
> > In the source code of the maxima 5.4 it appears as trigrat.lisp in the
> > subdirectory maxima5-4/share and is different from the remaining
> > remaing function suffixes. Some of them are .lsp (not .lisp).
> >
> > I dont know how to overcome this problem and I am not a lisp
> > programmer (sorry!)
> >
> > Anyway I am describing below a sample session. Ate the end the
> > comments in the info file regarding trigrat
> >
> >
> > ***************************************************************
> >
> >
> > Thu 4:05pm ~ >maxima
> > GCL (GNU Common Lisp) Version(2.3) Sun Aug 20 20:05:49 CEST 2000
> > Licensed under GNU Library General Public License
> > Contains Enhancements by W. Schelter
> > Maxima 5.4 Sun Aug 20 20:05:46 CEST 2000 (with enhancements by W. Schelter).
> > Licensed under the GNU Public License (see file COPYING)
> > (C1) trigrat(sin(3*a)/sin(a+%pi/3));
> >
> > Could not find `trigrat' using paths in FILE_SEARCH_LISP,SYSTEM
> >
> > (combined values: [./###.{o,lsp,lisp},
> >
> > /usr/lib/maxima-5.4/{src,share1,sym}/###.o,
> >
> > /usr/lib/maxima-5.4/{src,share1,sym}/###.o,
> >
> > /usr/lib/maxima-5.4/{src,share1}/###.lisp, /usr/lib/maxima-5.4/{sym}/###.lsp,
> >
> > /usr/lib/maxima-5.4/src/../{src,share,share1,sharem}/foo.{mc,mac}] )
> > #0: TRIGRAT(?_l=[SIN(3*a)/SIN(a+%PI/3)])
> > -- an error. Quitting. To debug this try DEBUGMODE(TRUE);)
> > (C2)
> >
> >
> >
> >
> > ***************************************************************
> >
> > - Function: TRIGRAT (trigexp)
> > gives a canonical simplifyed quasilinear form of a trigonometrical
> > expression; trigexp is a rational fraction of several sin, cos or
> > tan, the arguments of them are linear forms in some variables (or
> > kernels) and %pi/n (n integer) with integer coefficients. The
> > result is a simplifyed fraction with numerator and denominator
> > linear in sin and cos. Thus TRIGRAT linearize always when it is
> > possible.(written by D. Lazard).
> >
> > (c1) trigrat(sin(3*a)/sin(a+%pi/3));
> >
> > (d1) sqrt(3) sin(2 a) + cos(2 a) - 1
> >
> > Here is another example (for which the function was intended); see
> > [Davenport, Siret, Tournier, Calcul Formel, Masson (or in english,
> > Addison-Wesley), section 1.5.5, Morley theorem). Timings are on
> > VAX 780.
> >
> > (c4) c:%pi/3-a-b;
> >
> > %pi
> > (d4) - b - a + ---
> > 3
> >
> > (c5) bc:sin(a)*sin(3*c)/sin(a+b);
> >
> > sin(a) sin(3 b + 3 a)
> > (d5) ---------------------
> > sin(b + a)
> >
> > (c6) ba:bc,c=a,a=c$
> >
> > (c7) ac2:ba^2+bc^2-2*bc*ba*cos(b);
> >
> > 2 2
> > sin (a) sin (3 b + 3 a)
> > (d7) -----------------------
> > 2
> > sin (b + a)
> >
> > %pi
> > 2 sin(a) sin(3 a) cos(b) sin(b + a - ---) sin(3 b + 3 a)
> > 3
> > - --------------------------------------------------------
> > %pi
> > sin(a - ---) sin(b + a)
> > 3
> >
> > 2 2 %pi
> > sin (3 a) sin (b + a - ---)
> > 3
> > + ---------------------------
> > 2 %pi
> > sin (a - ---)
> > 3
> >
> > (c9) trigrat(ac2);
> > Totaltime= 65866 msec. GCtime= 7716 msec.
> >
> > (d9)
> > - (sqrt(3) sin(4 b + 4 a) - cos(4 b + 4 a)
> >
> > - 2 sqrt(3) sin(4 b + 2 a)
> >
> > + 2 cos(4 b + 2 a) - 2 sqrt(3) sin(2 b + 4 a) + 2 cos(2 b + 4 a)
> >
> > + 4 sqrt(3) sin(2 b + 2 a) - 8 cos(2 b + 2 a) - 4 cos(2 b - 2 a)
> >
> > + sqrt(3) sin(4 b) - cos(4 b) - 2 sqrt(3) sin(2 b) + 10 cos(2 b)
> >
> > + sqrt(3) sin(4 a) - cos(4 a) - 2 sqrt(3) sin(2 a) + 10 cos(2 a)
> >
> > - 9)/4
> >
> >
> >
>
> --
> Camm Maguire [email protected]
> ==========================================================================
> "The earth is but one country, and mankind its citizens." -- Baha'u'llah
>
From [email protected] Fri Apr 13 23:12:41 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4CfM12221
for <[email protected]>; Fri, 13 Apr 2001 23:12:41 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05145
for <[email protected]>; Fri, 13 Apr 2001 23:12:41 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00754;
Fri, 13 Apr 2001 23:12:41 -0500
Message-Id: <[email protected]>
Date: Fri, 6 Apr 2001 16:26:31 -0500
From: Bill Schelter <[email protected]>
To: [email protected]
Reply-to: [email protected]
Status: R
Subject: [Maxima] Re: Maxima bug on trigrat function
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Thank you for the report. I have corrected this in the current
version, as reflected on the cvs site.
and have added the following chages:
2001-04-06 Bill Schelter <[email protected]>
* Fix the install to install all share/*.lisp
* Fix auto-mexpr which had a bug, but only seen
with 'trigrat'
* Fix file_search to also look for .lisp in share/*
Meanwhile you can download the file trigrat.lisp from the cvs pages:
wget 'http://cvs.ma.utexas.edu/cgi-bin/cvsweb.cgi/~checkout~/maxima/share/trigrat.lisp?rev=1.2&content-type=text/plain&cvsroot=maxima' -O trigrat.lisp
From [email protected] Fri Apr 13 23:12:55 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4CtM12226
for <[email protected]>; Fri, 13 Apr 2001 23:12:55 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05152
for <[email protected]>; Fri, 13 Apr 2001 23:12:55 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00759;
Fri, 13 Apr 2001 23:12:55 -0500
Message-Id: <[email protected]>
From: [email protected] (Debian Bug Tracking System)
To: [email protected]
Date: Fri, 06 Apr 2001 17:04:02 -0500
Status: R
Subject: [Maxima] Message with no Package: tag cannot be processed!
(Maxima bug on trigrat function)
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Your message didn't have a Package: line at the start (in the
pseudo-header following the real mail header), or didn't have a
pseudo-header at all.
This makes it much harder for us to categorise and deal with your
problem report. Please _resubmit_ your report and tell us which package
the report is on. For help, check out http://www.debian.org/Bugs/Reporting.html.
Your message was dated Fri, 6 Apr 2001 16:26:31 -0500 and had
message-id <[email protected]>
and subject Maxima bug on trigrat function.
The complete text of it is attached to this message.
If you need any assistance or explanation please contact me.
Darren Benham
(administrator, Debian Bugs database)
---------------------------------------------------------------------------
Received: (at submit) by bugs.debian.org; 6 Apr 2001 21:26:35 +0000
>From [email protected] Fri Apr 06 16:26:35 2001
Return-path: <[email protected]>
Received: from sonia.ma.utexas.edu [128.83.133.239] (root)
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 14ldkZ-0006wd-00; Fri, 06 Apr 2001 16:26:35 -0500
Received: (from wfs@localhost)
by sonia.ma.utexas.edu (8.9.3/8.9.1) id QAA28181;
Fri, 6 Apr 2001 16:26:31 -0500
Date: Fri, 6 Apr 2001 16:26:31 -0500
Message-Id: <[email protected]>
X-Authentication-Warning: sonia.ma.utexas.edu: wfs set sender to [email protected] using -f
From: Bill Schelter <[email protected]>
To: [email protected]
CC: [email protected], [email protected], [email protected]
In-reply-to: <[email protected]>
(message from Daniel Martins on Fri, 6 Apr 2001 16:35:53 -0300 (EST))
Subject: Re: Maxima bug on trigrat function
Reply-to: [email protected]
Content-Type: text/plain;charset="koi8-r"
References: <[email protected]>
Delivered-To: [email protected]
Thank you for the report. I have corrected this in the current
version, as reflected on the cvs site.
and have added the following chages:
2001-04-06 Bill Schelter <[email protected]>
* Fix the install to install all share/*.lisp
* Fix auto-mexpr which had a bug, but only seen
with 'trigrat'
* Fix file_search to also look for .lisp in share/*
Meanwhile you can download the file trigrat.lisp from the cvs pages:
wget 'http://cvs.ma.utexas.edu/cgi-bin/cvsweb.cgi/~checkout~/maxima/share/trigrat.lisp?rev=1.2&content-type=text/plain&cvsroot=maxima' -O trigrat.lisp
From [email protected] Fri Apr 13 23:13:11 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4DBM12230
for <[email protected]>; Fri, 13 Apr 2001 23:13:11 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05161
for <[email protected]>; Fri, 13 Apr 2001 23:13:11 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00776;
Fri, 13 Apr 2001 23:13:10 -0500
Message-Id: <[email protected]>
MIME-Version: 1.0
Date: Fri, 06 Apr 2001 17:37:24 -0500
From: James Amundson <[email protected]>
To: [email protected]
Status: R
Subject: [Maxima] recent cmulisp commits to cvs
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hi,
I just tried a cmulisp-compile with the cvs HEAD version of maxima. The
files cmulisp-regex.lisp and cl-info.lisp are missing. Were they
inadvertently omitted from the cvs commit?
Thanks,
Jim
From [email protected] Fri Apr 13 23:13:26 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4DQM12242
for <[email protected]>; Fri, 13 Apr 2001 23:13:26 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05165
for <[email protected]>; Fri, 13 Apr 2001 23:13:26 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00815;
Fri, 13 Apr 2001 23:13:26 -0500
Message-Id: <[email protected]>
Date: Fri, 6 Apr 2001 17:45:02 -0500
From: Bill Schelter <[email protected]>
To: [email protected]
Reply-to: [email protected]
Status: R
Subject: [Maxima] Re: recent cmulisp commits to cvs
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I just tried a cmulisp-compile with the cvs HEAD version of maxima. The
files cmulisp-regex.lisp and cl-info.lisp are missing. Were they
Thank you.
I have just added the couple of cmulisp files by
[email protected] for the regexp stuff for the access to the
documentation.
thanks,
bill
From [email protected] Fri Apr 13 23:13:45 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4DjM12247
for <[email protected]>; Fri, 13 Apr 2001 23:13:45 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05175
for <[email protected]>; Fri, 13 Apr 2001 23:13:44 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00820;
Fri, 13 Apr 2001 23:13:44 -0500
Message-Id: <[email protected]>
To: [email protected]
From: Camm Maguire <[email protected]>
Date: 07 Apr 2001 00:23:26 -0400
Status: R
Subject: [Maxima] Re: recent cmulisp commits to cvs
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings! I also just noticed the cmulisp work. What is the plan?
Is work on gcl going to continue, or will it be replaced by cmulisp?
Or will one have the option of either? Is there an advantage to one
or the other? I only ask as to avoid any work on porting gcl to
different architectures if it is likely to be replaced soon.
Take care,
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Fri Apr 13 23:13:59 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4DxM12276
for <[email protected]>; Fri, 13 Apr 2001 23:13:59 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05182
for <[email protected]>; Fri, 13 Apr 2001 23:13:59 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00825;
Fri, 13 Apr 2001 23:13:59 -0500
Message-Id: <[email protected]>
To: [email protected]
From: Camm Maguire <[email protected]>
Date: 07 Apr 2001 00:24:30 -0400
Status: R
Subject: [Maxima] Re: Maxima bug on trigrat function
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
And thank you for the quick fixes! They're now incorporated and
uploaded in the Debian package.
Take care,
Bill Schelter <[email protected]> writes:
> Thank you for the report. I have corrected this in the current
> version, as reflected on the cvs site.
>
> and have added the following chages:
> 2001-04-06 Bill Schelter <[email protected]>
>
> * Fix the install to install all share/*.lisp
> * Fix auto-mexpr which had a bug, but only seen
> with 'trigrat'
> * Fix file_search to also look for .lisp in share/*
>
>
> Meanwhile you can download the file trigrat.lisp from the cvs pages:
>
> wget 'http://cvs.ma.utexas.edu/cgi-bin/cvsweb.cgi/~checkout~/maxima/share/trigrat.lisp?rev=1.2&content-type=text/plain&cvsroot=maxima' -O trigrat.lisp
>
>
>
>
>
>
>
>
>
>
>
>
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Fri Apr 13 23:14:17 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4EGM12280
for <[email protected]>; Fri, 13 Apr 2001 23:14:16 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05189
for <[email protected]>; Fri, 13 Apr 2001 23:14:16 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00830;
Fri, 13 Apr 2001 23:14:16 -0500
Message-Id: <[email protected]>
To: [email protected]
From: Camm Maguire <[email protected]>
Date: 07 Apr 2001 00:24:30 -0400
Status: R
Subject: [Maxima] Re: Maxima bug on trigrat function
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
And thank you for the quick fixes! They're now incorporated and
uploaded in the Debian package.
Take care,
Bill Schelter <[email protected]> writes:
> Thank you for the report. I have corrected this in the current
> version, as reflected on the cvs site.
>
> and have added the following chages:
> 2001-04-06 Bill Schelter <[email protected]>
>
> * Fix the install to install all share/*.lisp
> * Fix auto-mexpr which had a bug, but only seen
> with 'trigrat'
> * Fix file_search to also look for .lisp in share/*
>
>
> Meanwhile you can download the file trigrat.lisp from the cvs pages:
>
> wget 'http://cvs.ma.utexas.edu/cgi-bin/cvsweb.cgi/~checkout~/maxima/share/trigrat.lisp?rev=1.2&content-type=text/plain&cvsroot=maxima' -O trigrat.lisp
>
>
>
>
>
>
>
>
>
>
>
>
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Fri Apr 13 23:14:32 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4EWM12287
for <[email protected]>; Fri, 13 Apr 2001 23:14:32 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05193
for <[email protected]>; Fri, 13 Apr 2001 23:14:32 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00835;
Fri, 13 Apr 2001 23:14:32 -0500
Message-Id: <[email protected]>
To: [email protected]
From: Camm Maguire <[email protected]>
Date: 07 Apr 2001 00:28:32 -0400
Status: R
Subject: [Maxima] Re: Maxima bug on trigrat function
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings!
Daniel Martins <[email protected]> writes:
> Camm,
>
> Thanks for the prompt reply,
>
> I have an extra remark.
>
> I did notice also that the debian package does not depend upon the gcl
> debian package. I dont know if this is implicitly compiled with gcl or
> not. Maybe "debianized" maxima should "suggest" gcl ?
>
The Debian package does a subbuild on gcl when building maxima. My
understanding is that there is no further run-time dependance on gcl.
> About trigrat again. I find this file quite important. It is a
> differential relative to other simplifications in trigonometric methods.
> Simply ignore it in the documentation appears to me as a not good idea.
>
Its now included in the latest package uploaded today, thanks to the
work of Dr. Schelter.
Take care,
>
> Thanks again,
>
> Daniel
>
>
> On 6 Apr 2001, Camm Maguire wrote:
>
> > Subject: maxima: missing trigrat.lisp
> > Package: maxima
> > Version: 5.5-beta-4
> > Severity: normal
> >
> >
> > Greetings, and thank you for your report. I'm submitting this to the
> > Debian Bug tracking system on your behalf to better keep track of this
> > issue. In general, there are many files in the source package which
> > are not installed by default in the makefiles, and it appears that the
> > installed list has gotten out of date with respect to the
> > documentation. I'm also ccing this message to the maxima list to
> > enquire as to whether it would be better to delete the reference to
> > trigrat from the documentation, or to include it in the installation.
> >
> > Dr. Schelter, this issue has come up before with the mactex.lisp file
> > in src/, and I just installed it by hand. Is there a general wildcard
> > file pattern specifying files that we could *safely* install and cover
> > any references in the existing documentation?
> >
> > Thanks!
> >
> > Daniel Martins <[email protected]> writes:
> >
> > > Dear Camm,
> > >
> > > As you are the maintainer of the maxima package I am sending in a copy
> > > of the problem I found using the testing version of maxima on my
> > > debian potato.
> > >
> > > The function trigrat that is cited in the trigonometric section of the
> > > info file with an example silply cannot be accesed
> > >
> > > In the source code of the maxima 5.4 it appears as trigrat.lisp in the
> > > subdirectory maxima5-4/share and is different from the remaining
> > > remaing function suffixes. Some of them are .lsp (not .lisp).
> > >
> > > I dont know how to overcome this problem and I am not a lisp
> > > programmer (sorry!)
> > >
> > > Anyway I am describing below a sample session. Ate the end the
> > > comments in the info file regarding trigrat
> > >
> > >
> > > ***************************************************************
> > >
> > >
> > > Thu 4:05pm ~ >maxima
> > > GCL (GNU Common Lisp) Version(2.3) Sun Aug 20 20:05:49 CEST 2000
> > > Licensed under GNU Library General Public License
> > > Contains Enhancements by W. Schelter
> > > Maxima 5.4 Sun Aug 20 20:05:46 CEST 2000 (with enhancements by W. Schelter).
> > > Licensed under the GNU Public License (see file COPYING)
> > > (C1) trigrat(sin(3*a)/sin(a+%pi/3));
> > >
> > > Could not find `trigrat' using paths in FILE_SEARCH_LISP,SYSTEM
> > >
> > > (combined values: [./###.{o,lsp,lisp},
> > >
> > > /usr/lib/maxima-5.4/{src,share1,sym}/###.o,
> > >
> > > /usr/lib/maxima-5.4/{src,share1,sym}/###.o,
> > >
> > > /usr/lib/maxima-5.4/{src,share1}/###.lisp, /usr/lib/maxima-5.4/{sym}/###.lsp,
> > >
> > > /usr/lib/maxima-5.4/src/../{src,share,share1,sharem}/foo.{mc,mac}] )
> > > #0: TRIGRAT(?_l=[SIN(3*a)/SIN(a+%PI/3)])
> > > -- an error. Quitting. To debug this try DEBUGMODE(TRUE);)
> > > (C2)
> > >
> > >
> > >
> > >
> > > ***************************************************************
> > >
> > > - Function: TRIGRAT (trigexp)
> > > gives a canonical simplifyed quasilinear form of a trigonometrical
> > > expression; trigexp is a rational fraction of several sin, cos or
> > > tan, the arguments of them are linear forms in some variables (or
> > > kernels) and %pi/n (n integer) with integer coefficients. The
> > > result is a simplifyed fraction with numerator and denominator
> > > linear in sin and cos. Thus TRIGRAT linearize always when it is
> > > possible.(written by D. Lazard).
> > >
> > > (c1) trigrat(sin(3*a)/sin(a+%pi/3));
> > >
> > > (d1) sqrt(3) sin(2 a) + cos(2 a) - 1
> > >
> > > Here is another example (for which the function was intended); see
> > > [Davenport, Siret, Tournier, Calcul Formel, Masson (or in english,
> > > Addison-Wesley), section 1.5.5, Morley theorem). Timings are on
> > > VAX 780.
> > >
> > > (c4) c:%pi/3-a-b;
> > >
> > > %pi
> > > (d4) - b - a + ---
> > > 3
> > >
> > > (c5) bc:sin(a)*sin(3*c)/sin(a+b);
> > >
> > > sin(a) sin(3 b + 3 a)
> > > (d5) ---------------------
> > > sin(b + a)
> > >
> > > (c6) ba:bc,c=a,a=c$
> > >
> > > (c7) ac2:ba^2+bc^2-2*bc*ba*cos(b);
> > >
> > > 2 2
> > > sin (a) sin (3 b + 3 a)
> > > (d7) -----------------------
> > > 2
> > > sin (b + a)
> > >
> > > %pi
> > > 2 sin(a) sin(3 a) cos(b) sin(b + a - ---) sin(3 b + 3 a)
> > > 3
> > > - --------------------------------------------------------
> > > %pi
> > > sin(a - ---) sin(b + a)
> > > 3
> > >
> > > 2 2 %pi
> > > sin (3 a) sin (b + a - ---)
> > > 3
> > > + ---------------------------
> > > 2 %pi
> > > sin (a - ---)
> > > 3
> > >
> > > (c9) trigrat(ac2);
> > > Totaltime= 65866 msec. GCtime= 7716 msec.
> > >
> > > (d9)
> > > - (sqrt(3) sin(4 b + 4 a) - cos(4 b + 4 a)
> > >
> > > - 2 sqrt(3) sin(4 b + 2 a)
> > >
> > > + 2 cos(4 b + 2 a) - 2 sqrt(3) sin(2 b + 4 a) + 2 cos(2 b + 4 a)
> > >
> > > + 4 sqrt(3) sin(2 b + 2 a) - 8 cos(2 b + 2 a) - 4 cos(2 b - 2 a)
> > >
> > > + sqrt(3) sin(4 b) - cos(4 b) - 2 sqrt(3) sin(2 b) + 10 cos(2 b)
> > >
> > > + sqrt(3) sin(4 a) - cos(4 a) - 2 sqrt(3) sin(2 a) + 10 cos(2 a)
> > >
> > > - 9)/4
> > >
> > >
> > >
> >
> > --
> > Camm Maguire [email protected]
> > ==========================================================================
> > "The earth is but one country, and mankind its citizens." -- Baha'u'llah
> >
>
>
>
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Fri Apr 13 23:14:52 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4EqM12292
for <[email protected]>; Fri, 13 Apr 2001 23:14:52 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05218
for <[email protected]>; Fri, 13 Apr 2001 23:14:52 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00840;
Fri, 13 Apr 2001 23:14:52 -0500
Message-Id: <[email protected]>
To: [email protected]
From: Camm Maguire <[email protected]>
Date: 07 Apr 2001 00:28:32 -0400
Status: R
Subject: [Maxima] Re: Maxima bug on trigrat function
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings!
Daniel Martins <[email protected]> writes:
> Camm,
>
> Thanks for the prompt reply,
>
> I have an extra remark.
>
> I did notice also that the debian package does not depend upon the gcl
> debian package. I dont know if this is implicitly compiled with gcl or
> not. Maybe "debianized" maxima should "suggest" gcl ?
>
The Debian package does a subbuild on gcl when building maxima. My
understanding is that there is no further run-time dependance on gcl.
> About trigrat again. I find this file quite important. It is a
> differential relative to other simplifications in trigonometric methods.
> Simply ignore it in the documentation appears to me as a not good idea.
>
Its now included in the latest package uploaded today, thanks to the
work of Dr. Schelter.
Take care,
>
> Thanks again,
>
> Daniel
>
>
> On 6 Apr 2001, Camm Maguire wrote:
>
> > Subject: maxima: missing trigrat.lisp
> > Package: maxima
> > Version: 5.5-beta-4
> > Severity: normal
> >
> >
> > Greetings, and thank you for your report. I'm submitting this to the
> > Debian Bug tracking system on your behalf to better keep track of this
> > issue. In general, there are many files in the source package which
> > are not installed by default in the makefiles, and it appears that the
> > installed list has gotten out of date with respect to the
> > documentation. I'm also ccing this message to the maxima list to
> > enquire as to whether it would be better to delete the reference to
> > trigrat from the documentation, or to include it in the installation.
> >
> > Dr. Schelter, this issue has come up before with the mactex.lisp file
> > in src/, and I just installed it by hand. Is there a general wildcard
> > file pattern specifying files that we could *safely* install and cover
> > any references in the existing documentation?
> >
> > Thanks!
> >
> > Daniel Martins <[email protected]> writes:
> >
> > > Dear Camm,
> > >
> > > As you are the maintainer of the maxima package I am sending in a copy
> > > of the problem I found using the testing version of maxima on my
> > > debian potato.
> > >
> > > The function trigrat that is cited in the trigonometric section of the
> > > info file with an example silply cannot be accesed
> > >
> > > In the source code of the maxima 5.4 it appears as trigrat.lisp in the
> > > subdirectory maxima5-4/share and is different from the remaining
> > > remaing function suffixes. Some of them are .lsp (not .lisp).
> > >
> > > I dont know how to overcome this problem and I am not a lisp
> > > programmer (sorry!)
> > >
> > > Anyway I am describing below a sample session. Ate the end the
> > > comments in the info file regarding trigrat
> > >
> > >
> > > ***************************************************************
> > >
> > >
> > > Thu 4:05pm ~ >maxima
> > > GCL (GNU Common Lisp) Version(2.3) Sun Aug 20 20:05:49 CEST 2000
> > > Licensed under GNU Library General Public License
> > > Contains Enhancements by W. Schelter
> > > Maxima 5.4 Sun Aug 20 20:05:46 CEST 2000 (with enhancements by W. Schelter).
> > > Licensed under the GNU Public License (see file COPYING)
> > > (C1) trigrat(sin(3*a)/sin(a+%pi/3));
> > >
> > > Could not find `trigrat' using paths in FILE_SEARCH_LISP,SYSTEM
> > >
> > > (combined values: [./###.{o,lsp,lisp},
> > >
> > > /usr/lib/maxima-5.4/{src,share1,sym}/###.o,
> > >
> > > /usr/lib/maxima-5.4/{src,share1,sym}/###.o,
> > >
> > > /usr/lib/maxima-5.4/{src,share1}/###.lisp, /usr/lib/maxima-5.4/{sym}/###.lsp,
> > >
> > > /usr/lib/maxima-5.4/src/../{src,share,share1,sharem}/foo.{mc,mac}] )
> > > #0: TRIGRAT(?_l=[SIN(3*a)/SIN(a+%PI/3)])
> > > -- an error. Quitting. To debug this try DEBUGMODE(TRUE);)
> > > (C2)
> > >
> > >
> > >
> > >
> > > ***************************************************************
> > >
> > > - Function: TRIGRAT (trigexp)
> > > gives a canonical simplifyed quasilinear form of a trigonometrical
> > > expression; trigexp is a rational fraction of several sin, cos or
> > > tan, the arguments of them are linear forms in some variables (or
> > > kernels) and %pi/n (n integer) with integer coefficients. The
> > > result is a simplifyed fraction with numerator and denominator
> > > linear in sin and cos. Thus TRIGRAT linearize always when it is
> > > possible.(written by D. Lazard).
> > >
> > > (c1) trigrat(sin(3*a)/sin(a+%pi/3));
> > >
> > > (d1) sqrt(3) sin(2 a) + cos(2 a) - 1
> > >
> > > Here is another example (for which the function was intended); see
> > > [Davenport, Siret, Tournier, Calcul Formel, Masson (or in english,
> > > Addison-Wesley), section 1.5.5, Morley theorem). Timings are on
> > > VAX 780.
> > >
> > > (c4) c:%pi/3-a-b;
> > >
> > > %pi
> > > (d4) - b - a + ---
> > > 3
> > >
> > > (c5) bc:sin(a)*sin(3*c)/sin(a+b);
> > >
> > > sin(a) sin(3 b + 3 a)
> > > (d5) ---------------------
> > > sin(b + a)
> > >
> > > (c6) ba:bc,c=a,a=c$
> > >
> > > (c7) ac2:ba^2+bc^2-2*bc*ba*cos(b);
> > >
> > > 2 2
> > > sin (a) sin (3 b + 3 a)
> > > (d7) -----------------------
> > > 2
> > > sin (b + a)
> > >
> > > %pi
> > > 2 sin(a) sin(3 a) cos(b) sin(b + a - ---) sin(3 b + 3 a)
> > > 3
> > > - --------------------------------------------------------
> > > %pi
> > > sin(a - ---) sin(b + a)
> > > 3
> > >
> > > 2 2 %pi
> > > sin (3 a) sin (b + a - ---)
> > > 3
> > > + ---------------------------
> > > 2 %pi
> > > sin (a - ---)
> > > 3
> > >
> > > (c9) trigrat(ac2);
> > > Totaltime= 65866 msec. GCtime= 7716 msec.
> > >
> > > (d9)
> > > - (sqrt(3) sin(4 b + 4 a) - cos(4 b + 4 a)
> > >
> > > - 2 sqrt(3) sin(4 b + 2 a)
> > >
> > > + 2 cos(4 b + 2 a) - 2 sqrt(3) sin(2 b + 4 a) + 2 cos(2 b + 4 a)
> > >
> > > + 4 sqrt(3) sin(2 b + 2 a) - 8 cos(2 b + 2 a) - 4 cos(2 b - 2 a)
> > >
> > > + sqrt(3) sin(4 b) - cos(4 b) - 2 sqrt(3) sin(2 b) + 10 cos(2 b)
> > >
> > > + sqrt(3) sin(4 a) - cos(4 a) - 2 sqrt(3) sin(2 a) + 10 cos(2 a)
> > >
> > > - 9)/4
> > >
> > >
> > >
> >
> > --
> > Camm Maguire [email protected]
> > ==========================================================================
> > "The earth is but one country, and mankind its citizens." -- Baha'u'llah
> >
>
>
>
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Fri Apr 13 23:15:21 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4FLM12416
for <[email protected]>; Fri, 13 Apr 2001 23:15:21 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05295
for <[email protected]>; Fri, 13 Apr 2001 23:15:21 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00847;
Fri, 13 Apr 2001 23:15:21 -0500
Message-Id: <[email protected]>
Date: Sat, 7 Apr 2001 12:02:07 -0500
From: Bill Schelter <[email protected]>
To: [email protected]
Reply-to: [email protected]
Status: R
Subject: [Maxima] Re: recent cmulisp commits to cvs
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings! I also just noticed the cmulisp work. What is the plan?
Is work on gcl going to continue, or will it be replaced by cmulisp?
Or will one have the option of either? Is there an advantage to one
The work on GCL will definitely continue, and I feel (perhaps biased
of course) that GCL is the best for maxima if it is available on the
platform. Having full control over GCL we are guaranteed that it will
not change in ways undesirable for Maxima, and that it can be
optimized for it. I know GCL does not have any memory leaks, and it
is used in industry for example by the program verification, chip
verification people for doing things like proving the AMD k7 floating
point unit correct. This involved computations taking weeks to run on
powerful processors. GCL is faster on their programs and reliable.
GCL runs the basic tests in maxima about 3 times as fast as Clisp.
The latter is a very good lisp, but if gcl runs on the platform I
would prefer it. Personally I need the ability to single step line by
line at the lisp level in debugging maxima at the lisp level, and I
know how to do that in GCL (having written the code myself!), whereas
I will never be as competent in someone else's lisp.
However, that said, I think it is good to maintain compatibility with
other lisps, so that people can use features or platforms that may be
unique to those lisps, and I am very happy to see people contributing
patches and making sure it does run elsewhere.
And thank you for the quick fixes! They're now incorporated and
uploaded in the Debian package.
Thank YOU for making the debian package so up to date!!
And in answer to someone else's question, maxima once built
under gcl does not depend on gcl being on the system.
w
From [email protected] Fri Apr 13 23:15:34 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4FYM12434
for <[email protected]>; Fri, 13 Apr 2001 23:15:34 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05320
for <[email protected]>; Fri, 13 Apr 2001 23:15:34 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00852;
Fri, 13 Apr 2001 23:15:34 -0500
Message-Id: <[email protected]>
MIME-Version: 1.0
Date: Mon, 9 Apr 2001 13:16:14 -0300 (EST)
From: Daniel Martins <[email protected]>
To: [email protected]
Status: R
Subject: [Maxima] Re: Maxima bug on trigrat function
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Many thanks for all. It is the first time I send a bug report to Debian
and the answer was unexpectly fast and good.
Thank you all. I am porting a program originally in Mathematica to Maxima
and I hope I can perform this task. Trigrat() and tex() were the most
attrative functions to me opt for this change (besides of course GPL) !!
Daniel
Daniel Martins | Personal address:
Depto de Engenharia Mecanica | r Antonieta de Barros, 666 ap 102 bl C1
Universidade Federal do Parana| Phone +55-48-2282411
81531-990 Curitiba PR BRAZIL | 88070-700 Florianopolis SC BRAZIL
E-mail: [email protected] | Fax +55-48-2482659 -- ICQ 84748136
From [email protected] Fri Apr 13 23:15:46 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4FkM12461
for <[email protected]>; Fri, 13 Apr 2001 23:15:46 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05327
for <[email protected]>; Fri, 13 Apr 2001 23:15:46 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00857;
Fri, 13 Apr 2001 23:15:46 -0500
Message-Id: <[email protected]>
MIME-Version: 1.0
Date: Mon, 9 Apr 2001 13:16:14 -0300 (EST)
From: Daniel Martins <[email protected]>
To: [email protected]
Status: R
Subject: [Maxima] Re: Maxima bug on trigrat function
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Many thanks for all. It is the first time I send a bug report to Debian
and the answer was unexpectly fast and good.
Thank you all. I am porting a program originally in Mathematica to Maxima
and I hope I can perform this task. Trigrat() and tex() were the most
attrative functions to me opt for this change (besides of course GPL) !!
Daniel
Daniel Martins | Personal address:
Depto de Engenharia Mecanica | r Antonieta de Barros, 666 ap 102 bl C1
Universidade Federal do Parana| Phone +55-48-2282411
81531-990 Curitiba PR BRAZIL | 88070-700 Florianopolis SC BRAZIL
E-mail: [email protected] | Fax +55-48-2482659 -- ICQ 84748136
From [email protected] Fri Apr 13 23:15:58 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4FwM12466
for <[email protected]>; Fri, 13 Apr 2001 23:15:58 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05331
for <[email protected]>; Fri, 13 Apr 2001 23:15:58 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00862;
Fri, 13 Apr 2001 23:15:58 -0500
Message-Id: <[email protected]>
MIME-Version: 1.0
Date: Mon, 09 Apr 2001 09:19:43 -0700
From: Richard Fateman <[email protected]>
To: [email protected]
Status: R
Subject: [Maxima] Re: Maxima bug on trigrat function
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
It would be good to keep track of the things you had to
do in the conversion so that we can put together
a FAQ on "how do I convert my mathematica program to maxima".
RJF
Daniel Martins wrote:
>
> Many thanks for all. It is the first time I send a bug report to Debian
> and the answer was unexpectly fast and good.
>
> Thank you all. I am porting a program originally in Mathematica to Maxima
> and I hope I can perform this task. Trigrat() and tex() were the most
> attrative functions to me opt for this change (besides of course GPL) !!
>
> Daniel
>
> Daniel Martins | Personal address:
> Depto de Engenharia Mecanica | r Antonieta de Barros, 666 ap 102 bl C1
> Universidade Federal do Parana| Phone +55-48-2282411
> 81531-990 Curitiba PR BRAZIL | 88070-700 Florianopolis SC BRAZIL
> E-mail: [email protected] | Fax +55-48-2482659 -- ICQ 84748136
From [email protected] Fri Apr 13 23:16:10 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4GAM12477
for <[email protected]>; Fri, 13 Apr 2001 23:16:10 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05336
for <[email protected]>; Fri, 13 Apr 2001 23:16:10 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00867;
Fri, 13 Apr 2001 23:16:10 -0500
Message-Id: <[email protected]>
MIME-Version: 1.0
Date: Mon, 9 Apr 2001 13:30:22 -0300 (EST)
From: Daniel Martins <[email protected]>
To: [email protected]
Status: R
Subject: [Maxima] Re: Maxima bug on trigrat function
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Richard,
Thank you for the sugggestion.
I will do my best for it. If in the next 4 months you receive nothing: I
failed, and you can send my best wishes to Stephen Wolfram :)
Speaking more seriously I have with me a small group that works a lot
with mathematica and if could do the job with one program I will need
to convince them after all. In the meantime I will be forced to keep notes
of the job. If the work seems to be fruitful I will even start to learn
LISP ...
Daniel
On Mon, 9 Apr 2001, Richard Fateman wrote:
> It would be good to keep track of the things you had to
> do in the conversion so that we can put together
> a FAQ on "how do I convert my mathematica program to maxima".
>
> RJF
>
>
> Daniel Martins wrote:
> >
> > Many thanks for all. It is the first time I send a bug report to Debian
> > and the answer was unexpectly fast and good.
> >
> > Thank you all. I am porting a program originally in Mathematica to Maxima
> > and I hope I can perform this task. Trigrat() and tex() were the most
> > attrative functions to me opt for this change (besides of course GPL) !!
> >
> > Daniel
> >
> > Daniel Martins | Personal address:
> > Depto de Engenharia Mecanica | r Antonieta de Barros, 666 ap 102 bl C1
> > Universidade Federal do Parana| Phone +55-48-2282411
> > 81531-990 Curitiba PR BRAZIL | 88070-700 Florianopolis SC BRAZIL
> > E-mail: [email protected] | Fax +55-48-2482659 -- ICQ 84748136
>
From [email protected] Fri Apr 13 23:16:22 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4GMM12511
for <[email protected]>; Fri, 13 Apr 2001 23:16:22 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05340
for <[email protected]>; Fri, 13 Apr 2001 23:16:22 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00872;
Fri, 13 Apr 2001 23:16:22 -0500
Message-Id: <[email protected]>
To: [email protected]
From: Boris Veytsman <[email protected]>
Date: 12 Jun 2000 12:52:06 -0400
Status: R
Subject: [Maxima] [sci.math.symbolic] Problem/Bug in Maxima?
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I've found this letter in smc newsgroup... Please CC: the responces to
the author.
--
Good luck
-Boris
http://www.plmsc.psu.edu/~boris/
------- Start of forwarded message -------
From: David Ronis <[email protected]>
Subject: Problem/Bug in Maxima?
Newsgroups: sci.math.symbolic
Message-ID: <[email protected]>
Date: Mon, 12 Jun 2000 15:33:18 GMT
I've encountered what I think are two bugs in maxima. I need to do
iterated integrals of the form:
f[n](x):=p[n](x)+ W(x) + integrate(f[n-1](s[n-1]),s[n-1],0,x);
f[0](x):=0;
where p[n](x) is a low-order polynomial (defined explicitly) and W(x)
is an unknown function. I've decleared integrate linear.
Here's what happens (say for p[n](x):=x):
(C1) f[n](x):=p[n](x)+ W(x) + integrate(f[n-1](s[n-1]),s[n-1],0,x);
(D1) f (x) := p (x) + W(x) + INTEGRATE(f (s ), s , 0, x)
n n n - 1 n - 1 n - 1
(C2) f[0](x):=0;
(D2) f (x) := 0
0
(C3) declare(integrate,linear);
(D3) DONE
(C4) p[n](x):=x;
(D4) p (x) := x
n
(C5) f[1](x);
(D5) W(x) + x
(C6) f[2](x);
(D6) W(x) + (W(s ) + s ) x + x
1 1
If instead I try:
(C1) declare(integrate,linear);
(D1) DONE
(C2) p[n](x):=x;
(D2) p (x) := x
n
(C3) f[n](x):=p[n](x)+ W(x) + integrate(f[n-1](s),s,0,x);
(D3) f (x) := p (x) + W(x) + INTEGRATE(f (s), s, 0, x)
n n n - 1
(C4) f[0](x):=0;
(D4) f (x) := 0
0
(C5) f[1](x);
(D5) W(x) + x
(C6) f[2](x);
Is x positive, negative, or zero?
pos;
x x
/ /
[ [
(D6) W(x) + x + I W(s) ds + I s ds
] ]
/ /
0 0
(C7) f[3](x);
Is x positive, negative, or zero?
pos;
x s x s x x
/ / / / / /
[ [ [ [ [ [
(D7) W(x) + x + I I W(s) ds ds + I I s ds ds + I W(s) ds + I s ds
] ] ] ] ] ]
/ / / / / /
0 0 0 0 0 0
(C8) f[4](x);
Is x positive, negative, or zero?
pos;
x s s x s s x s
/ / / / / / / /
[ [ [ [ [ [ [ [
(D8) W(x) + x + I I I W(s) ds ds ds + I I I s ds ds ds + I I W(s) ds ds
] ] ] ] ] ] ] ]
/ / / / / / / /
0 0 0 0 0 0 0 0
x s x x
/ / / /
[ [ [ [
+ I I s ds ds + I W(s) ds + I s ds
] ] ] ]
/ / / /
Which is slightly better but still wrong. My questions are:
1. Why doesn't maxima do the trivial integral of x?
2. How do I get it to properly change the symbol used for the
integration variable and limits in multiple integrals?
David
------- End of forwarded message -------
From [email protected] Fri Apr 13 23:16:36 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4GaM12516
for <[email protected]>; Fri, 13 Apr 2001 23:16:36 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05346
for <[email protected]>; Fri, 13 Apr 2001 23:16:36 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00883;
Fri, 13 Apr 2001 23:16:36 -0500
Message-Id: <[email protected]>
To: [email protected]
From: Camm Maguire <[email protected]>
Date: 16 Jun 2000 11:49:29 -0400
In-Reply-To: Boris Veytsman's message of "12 Jun 2000 12:52:06 -0400"
Status: R
Subject: [Maxima] libc/ldso dependency in shared-lib maxima?
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings! I maintain the Debian package of maxima, which has
recently been accepted for installation into the unstable tree. I've
included Dr. Schelter's patch enabling shared (not static) linking to
the system C and math libraries. With this patch, we've had a working
package in incoming for some time now.
Meanwhile, I forgot about maxima for a bit, upgraded my machine to the
slightly newer versions of the Debian system packages, and suddenly
maxima segfaults. Another Debian user sees the same thing and has
filed a bug. Rebuilding on my upgraded system restores functionality.
Luckily, I can chase this down if I hurry, as I still have access to a
pre-upgrade machine which can build maxima with debugging symbols.
I would be greatly appreciative, though, if anyone had an insight as
to where to look in advance.
Take care,
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Fri Apr 13 23:16:47 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4GlM12521
for <[email protected]>; Fri, 13 Apr 2001 23:16:47 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05351
for <[email protected]>; Fri, 13 Apr 2001 23:16:47 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00888;
Fri, 13 Apr 2001 23:16:47 -0500
Message-Id: <[email protected]>
MIME-Version: 1.0
To: [email protected]
From: [email protected]
Date: Thu, 14 Sep 2000 08:25:18 -0500
X-MIMETrack: Serialize by Router on UNKmail.unk.edu/Servers/UNEBR(Release 5.0.4a |July
24, 2000) at 09/14/2000 08:25:36 AM
Content-type: text/plain; charset=us-ascii
Status: R
Subject: [Maxima] stopex.mc and powers for maxima 5.4
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hi,
I'm looking for a maxima (version 5.4) powers function and
a working version of stopex. If anyone can point me to
these files, I'd appreciate it.
I'm working on porting three Macsyma 422 programs to maxima;
a macsyma-to-mathml translator, a second order linear DE
solver, and a clone of Macsyma's specfun library (about
a dozen orthogonal polynomials). Once I get them working,
I'll make them freely available.
Porting "back in time" twenty years is interesting; mostly
I've only had to add simple utility functions such as second,
op, and floor. For string functions ($stringp, $getchar, etc), I've
added a few one line lisp programs. Once I spent days porting
a C++ program from gcc 2.7x to gcc 2.9x; compared to that
experience, porting Macsyma 422 to maxima 5.4 has so far been
a breeze.
Specifically:
1) I'm looking for the maxima (version 5.4) powers function;
my share2 directory has a usage file for powers, but no source file.
I can't find the file on maxima's cvs at the University of Texas either.
If anyone can point me to the source code for powers, I'd appreciate it.
2) Maxima's stopex code seems to be broken; stopex.mc
won't even load. It halts when executing
EVAL_WHEN([BATCH,LOADFILE],
IF GET('GNAUTO,'DIAGEVAL_VERSION)=FALSE
THEN LOAD('[GNAUTO,FASL,DSK,DGVAL]))$
Commenting out this line, allows maxima to load stopex.mc.
But then maxima complains that it can't find the freeofl function.
Rolling my own as
freeofl(x,e) := block([ ],
not member(false, apply(append, [outermap(freeof, x, e)]))
);
allows expandwrt to run, but it generates rubbish:
(c1) expandwrt(x*(x+1),x);
(d1) [5x^2+4x(x+1)]
Again, if anyone has a correctly working stopex.mc file, I'd
appreciate it.
Thanks,
Barton Willis
University of Nebraska at Kearney
From [email protected] Fri Apr 13 23:17:09 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4H9M12525
for <[email protected]>; Fri, 13 Apr 2001 23:17:09 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05359
for <[email protected]>; Fri, 13 Apr 2001 23:17:09 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00894;
Fri, 13 Apr 2001 23:17:09 -0500
Message-Id: <[email protected]>
MIME-Version: 1.0
From: "Hickey, Gregory" <[email protected]>
To: [email protected]
Date: Fri, 1 Dec 2000 14:32:36 -0400
Content-Type: text/plain;
charset="iso-8859-1"
Status: R
Subject: [Maxima] FW: Macsyma
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Good afternoon, I had sent an earlier question to Paul S. Wang w.r.t.
apparent demise of 'Macsyma' and 'PDEase' product line and he (as indicated
below) referred me to you. Got time for a quick question?....Do you know to
what extent both products (or their equivalent) may be available/supported
in GNU project?
Best Regards,
Gregory A. Hickey, P. Eng.
-----Original Message-----
From: Paul S. Wang [mailto:[email protected]]
<mailto:[mailto:[email protected]]>
Sent: November 28, 2000 4:22 PM
To: [email protected] <mailto:[email protected]>
Subject: Re: Macsyma
I don't really know. But that is a good question.
You may try
[email protected] <mailto:[email protected]> (Bill
Schelter, AKCL/maxima)
and see if Bill has any info.
Paul>
> Thank you very much. I have(had) a paid up maintenance agreement
with them
> for operation of the program; do you know whether they went beyond
Ver2.4,
> also what has happened to their 'PDEase' product..do you know if
'PDEase' is
> also available through GNU effort? Again thank you for responding.
/ Greg H.
From [email protected] Fri Apr 13 23:17:40 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4HeM12556
for <[email protected]>; Fri, 13 Apr 2001 23:17:40 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05367
for <[email protected]>; Fri, 13 Apr 2001 23:17:40 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00899;
Fri, 13 Apr 2001 23:17:40 -0500
Message-Id: <[email protected]>
MIME-Version: 1.0
To: [email protected]
From: [email protected]
Date: Mon, 26 Feb 2001 16:46:42 -0600
X-MIMETrack: Serialize by Router on UNKmail.unk.edu/Servers/UNEBR(Release 5.0.5 |September
22, 2000) at 02/26/2001 04:46:44 PM
Content-type: text/plain; charset=us-ascii
Status: R
Subject: [Maxima] maxima initialization file
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Is there a Maxima equivalent of Macsyma's initialization file? Under
Macsyma the
file is called macsyma-init.macsyma. In this file, you can set filesearch
and issue
setupautoload statements. Maxima's info file mentions the initialization
file, but
all my guesses for where to put it and what to call it have failed.
Thanks,
[Barton, Willis] = 0
University of Nebraska at Kearney
From [email protected] Fri Apr 13 23:18:00 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4I0M12567
for <[email protected]>; Fri, 13 Apr 2001 23:18:00 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05392
for <[email protected]>; Fri, 13 Apr 2001 23:18:00 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00906;
Fri, 13 Apr 2001 23:18:00 -0500
Message-Id: <[email protected]>
To: [email protected]
From: Camm Maguire <[email protected]>
Date: 08 Mar 2001 11:41:30 -0500
Status: R
Subject: [Maxima] Re: Old Macsyma code
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings! Just to let everyone know that I received another reply
from Richard Petti, and he asks for statistics on Maxima usage and
downloads, as he may be able to use this information to help free the
old Macsyma code. So he wants to help! Does anyone have access to
such information, even if partial?
Take care,
Camm Maguire <[email protected]> writes:
> Greetings! Just to follow up on an old suggestions, I've contacted
> Richard Petti, and he assures me that the person who controls Macsyma
> now has no intention of making the source openly available in the near
> future.
>
> Take care,
>
> --
> Camm Maguire [email protected]
> ==========================================================================
> "The earth is but one country, and mankind its citizens." -- Baha'u'llah
>
>
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Fri Apr 13 23:18:10 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4IAM12571
for <[email protected]>; Fri, 13 Apr 2001 23:18:10 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05396
for <[email protected]>; Fri, 13 Apr 2001 23:18:10 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00911;
Fri, 13 Apr 2001 23:18:10 -0500
Message-Id: <[email protected]>
MIME-Version: 1.0
To: [email protected]
From: [email protected]
Date: Sat, 10 Mar 2001 10:07:30 -0600
X-MIMETrack: Serialize by Router on UNKmail.unk.edu/Servers/UNEBR(Release 5.0.5 |September
22, 2000) at 03/10/2001 10:07:32 AM
Content-type: text/plain; charset=us-ascii
Status: R
Subject: [Maxima] maxima initialization file
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Thanks for the help with maxima's initialization file.
Using maxima 5.4 under Linux, I've only been able to get maxima to read
init.lsp
if the file is in the working directory. Putting it in /usr/lib/maxima-5.4
or
/usr/lib/maxima-5.4/src didn't work for me.
In the process of creating my init.lsp file, I discovered that maxima's
save function
outputs
(in-package "maxima"
This needs to be manually changed to
(in-package "maxima")
To auto-load the function "to_html" located in the file
/home/barton/maxima/mathml4.3.o, the
following init.lsp file works for me:
;;; -*- mode: lisp; package:maxima; syntax:common-lisp; -*-
(in-package "maxima")
(defprop |$to_html| #"/home/barton/maxima/mathml4.3.o" autoload)
(add2lnc '|$to_html| $props)
BLW
University of Nebraska at Kearney
From [email protected] Fri Apr 13 23:18:19 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4IJM12577
for <[email protected]>; Fri, 13 Apr 2001 23:18:19 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05400
for <[email protected]>; Fri, 13 Apr 2001 23:18:19 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00916;
Fri, 13 Apr 2001 23:18:19 -0500
Message-Id: <[email protected]>
MIME-Version: 1.0
To: [email protected]
From: [email protected]
Date: Wed, 21 Mar 2001 14:55:12 -0600
X-MIMETrack: Serialize by Router on UNKmail.unk.edu/Servers/UNEBR(Release 5.0.6a |January
17, 2001) at 03/21/2001 02:55:16 PM
Content-type: text/plain; charset=us-ascii
Status: R
Subject: [Maxima] prefix operators in maxima 4.5 & 5.5
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Defining "curl" to be a prefix operator makes closefile() parse as curl
osefile(). Is there
there a switch that changes this behavior? Specifically:
(c1) prefix("curl");
(d1) "CURL"
(c2) closefile("buddy.out");
(d2) CURL osefile(buddy.out)
/* cl is also a prefix operator */
(c3) cl x;
(c3) CURL x
(I've been playing with maxima's vector packages. I may adopt it as a
summer programming project.)
Regards,
Barton Willis
From [email protected] Fri Apr 13 23:18:30 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4IUM12582
for <[email protected]>; Fri, 13 Apr 2001 23:18:30 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05405
for <[email protected]>; Fri, 13 Apr 2001 23:18:30 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00921;
Fri, 13 Apr 2001 23:18:30 -0500
Message-Id: <[email protected]>
MIME-Version: 1.0
Date: Wed, 04 Apr 2001 14:46:02 +0200
From: Oscar Lopez <[email protected]>
To: [email protected]
Status: R
Subject: [Maxima] Newbie problem: plotting with maxima
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Dear maxima users
I am trying to start using maxima. After I compiled gcl-2.3.8 and
maxima-5.4 I am trying to get some plots. But when I tried something
like:
plot2d(sin(x),[x,-5,5]);
or
plot3d(2^(-u^2+v^2),[u,-5,5],[v,-7,7]);
the screen is completely full of data but any graphic appear. I thought
that maxima had the possibility to use Tcl/tk in order to plot graphics
on the screen, but it doesn't work for me. What am i doing wrong ?
I tested gcl (tcl-tk) doing
> (si::tkconnect)
> (load "/usr/local/lib/gcl-2.3.8/gcl-tk/demos/widget.lisp")
and it worked pretty well. I have in my linux box:
tcl-8.3.2-4mdk
tk-8.3.2-4mdk
tclx-8.3.2-4mdk
How can I get plots from maxima ? For me, it is not necessary to use an
interface it would be suficient enough to produce gnuplot format output,
or whatever it was.
Please reply directly the answers to me because I am not subscribe to
this list.
Thank you in advance for your help.
--
http://www.iit.upco.es/~oscar
The greatest remedy for anger is delay.
From [email protected] Fri Apr 13 23:18:39 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4IdM12587
for <[email protected]>; Fri, 13 Apr 2001 23:18:39 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05409
for <[email protected]>; Fri, 13 Apr 2001 23:18:39 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00926;
Fri, 13 Apr 2001 23:18:39 -0500
Message-Id: <[email protected]>
MIME-Version: 1.0
Date: Thu, 05 Apr 2001 07:54:46 +0200
From: Oscar Lopez <[email protected]>
To: [email protected]
Status: R
Subject: [Maxima] Re: Newbie problem: plotting with maxima
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Oscar Lopez wrote:
>
> How can I get plots from maxima ? For me, it is not necessary to use an
> interface it would be suficient enough to produce gnuplot format output,
> or whatever it was.
>
At the end it was a problem in the omplotdata file, for recent
distributions of Tcl-Tk the file wish8.0 doesn't exist anymore. In order
to use omplotdata it is enough to change wish8.0 wish
-----------------------------------------------------------------------------
3c3
< exec wish "$0" "$@"
---
> exec wish8.0 "$0" "$@"
-----------------------------------------------------------------------------
--
http://www.iit.upco.es/~oscar
We'll be recording at the Paradise Friday night. Live, on the Death
label.
-- Swan, "Phantom of the Paradise"
From [email protected] Fri Apr 13 23:18:48 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4ImM12592
for <[email protected]>; Fri, 13 Apr 2001 23:18:48 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05413
for <[email protected]>; Fri, 13 Apr 2001 23:18:48 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00931;
Fri, 13 Apr 2001 23:18:48 -0500
Message-Id: <[email protected]>
MIME-Version: 1.0
Date: Fri, 06 Apr 2001 17:37:24 -0500
From: James Amundson <[email protected]>
To: "[email protected]" <[email protected]>
Status: R
Subject: [Maxima] recent cmulisp commits to cvs
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hi,
I just tried a cmulisp-compile with the cvs HEAD version of maxima. The
files cmulisp-regex.lisp and cl-info.lisp are missing. Were they
inadvertently omitted from the cvs commit?
Thanks,
Jim
From [email protected] Fri Apr 13 23:25:50 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4PoM12851
for <[email protected]>; Fri, 13 Apr 2001 23:25:50 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05455
for <[email protected]>; Fri, 13 Apr 2001 23:25:50 -0500
From: [email protected]
Received: (from root@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00998;
Fri, 13 Apr 2001 23:25:50 -0500
Message-Id: <[email protected]>
To: [email protected]
In-reply-to: <[email protected]> (message from Richard Fateman
on Fri, 13 Apr 2001 16:12:33 -0700)
Subject: Re: [Maxima] compiling in allegro common lisp: works.
Reply-to: [email protected]
Content-Type: text/plain;charset="koi8-r"
References: <[email protected]> <[email protected]>
Date: Fri, 13 Apr 2001 22:55:42 -0500
Status: RO
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
For GCL I was able to run on an 850Mhz Pentium (linux) machine which did not
have other big jobs running, and so the time for execution is
the same as wallclock time (ie elapsed time).
Maxima 5.5 Fri Apr 6 15:15:13 CDT 2001 (with enhancements by W. Schelter).
Licensed under the GNU Public License (see file COPYING)
(C1) :lisp (progn (allocate 'cons 8000 t) (allocate 'fixnum 1000 t) (si::allocate-relocatable-pages 2000 t))
2000
(C1) (showtime:all, ratsimp((a+b+c+d+1)^35),1)$
Evaluation took 2.80 seconds (2.81 elapsed)
===========
In reference to the compiling under allegro:
it complains about reference to the serror package in
sys-proclaim (seems I can #-allegro comment it out?)
Yes certainly #-allegro it.
You dump only a dll or dxl and then when you
start up,
you specify this file. When I do, I'll send
an compile-allegro.lisp file out.
Please do!
william
_______________________________________________
Maxima mailing list
[email protected]
http://www.math.utexas.edu/mailman/listinfo/maxima
From [email protected] Fri Apr 13 23:25:55 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4PtM12856
for <[email protected]>; Fri, 13 Apr 2001 23:25:55 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05462
for <[email protected]>; Fri, 13 Apr 2001 23:25:55 -0500
Received: (from root@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA01004;
Fri, 13 Apr 2001 23:25:55 -0500
Message-Id: <[email protected]>
From: Bill Schelter <[email protected]>
To: [email protected]
Reply-to: [email protected]
Status: RO
Subject: [Maxima] Re: recent cmulisp commits to cvs
Date: Sat, 7 Apr 2001 12:02:07 -0500
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings! I also just noticed the cmulisp work. What is the plan?
Is work on gcl going to continue, or will it be replaced by cmulisp?
Or will one have the option of either? Is there an advantage to one
The work on GCL will definitely continue, and I feel (perhaps biased
of course) that GCL is the best for maxima if it is available on the
platform. Having full control over GCL we are guaranteed that it will
not change in ways undesirable for Maxima, and that it can be
optimized for it. I know GCL does not have any memory leaks, and it
is used in industry for example by the program verification, chip
verification people for doing things like proving the AMD k7 floating
point unit correct. This involved computations taking weeks to run on
powerful processors. GCL is faster on their programs and reliable.
GCL runs the basic tests in maxima about 3 times as fast as Clisp.
The latter is a very good lisp, but if gcl runs on the platform I
would prefer it. Personally I need the ability to single step line by
line at the lisp level in debugging maxima at the lisp level, and I
know how to do that in GCL (having written the code myself!), whereas
I will never be as competent in someone else's lisp.
However, that said, I think it is good to maintain compatibility with
other lisps, so that people can use features or platforms that may be
unique to those lisps, and I am very happy to see people contributing
patches and making sure it does run elsewhere.
And thank you for the quick fixes! They're now incorporated and
uploaded in the Debian package.
Thank YOU for making the debian package so up to date!!
And in answer to someone else's question, maxima once built
under gcl does not depend on gcl being on the system.
w
_______________________________________________
Maxima mailing list
[email protected]
http://www.math.utexas.edu/mailman/listinfo/maxima
From [email protected] Sat Apr 14 15:35:54 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3EKZsM07610
for <[email protected]>; Sat, 14 Apr 2001 15:35:54 -0500
Received: from sonia.ma.utexas.edu ([email protected] [128.83.133.239])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id PAA22002
for <[email protected]>; Sat, 14 Apr 2001 15:35:54 -0500
Received: (from wfs@localhost)
by sonia.ma.utexas.edu (8.9.3/8.9.1) id PAA20888;
Sat, 14 Apr 2001 15:35:54 -0500
Date: Sat, 14 Apr 2001 15:35:54 -0500
Message-Id: <[email protected]>
X-Authentication-Warning: sonia.ma.utexas.edu: wfs set sender to [email protected] using -f
From: Bill Schelter <[email protected]>
To: [email protected], [email protected]
In-reply-to: <[email protected]> (message from Richard Fateman
on Sat, 14 Apr 2001 09:10:09 -0700)
Subject: Re: [Maxima] compiling in allegro common lisp: works.
Reply-to: [email protected]
Content-Type: text/plain;charset="koi8-r"
References: <[email protected]> <[email protected]> <[email protected]> <[email protected]>
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Fateman asks:
GCL looks to be pretty fast there!
Is there any c-code for the polynomial/rational function
stuff in Maxima? (In the original code I think
There is c code for ctimes, cplus, and cmod (the integer parts of
polynomial times), which is put on as an optimizer. I just tried an
experiment of removing that code and just putting in the standard
common lisp function proclamations as in sys-proclaim.lisp.
The time went from 2.81 seconds to 2.94 seconds (both were elapsed
time = run time since machine was unloaded), so I guess the
optimizations help a little bit (4.4%). When I originally wrote the C
versions [many years ago!], I had not yet implemented the very fast
function calling of functions with a fixed number of arguments in GCL,
which required my garbage collection of the C stack in GCL etc: Such
functions now compile to c functions of the same number of arguments
and the calls are made via the c stack or via registers depending on
the compiler, and so they are fast, with the only overhead over
regular C being one memory look up since the function call is of the
form (*faddr)(a,b,c) instead of f(a,b,c). Basically there is not much
you can do in C that you can't do in lisp if you understand the
compiler.. Of course since I was the one who did the original version
of gcc for the x86, I do understand both the lisp and c compilers
which of course is one reason I personally like the
maxima->gcl->gcc->assembler chain! Of course our bignum code
is still not so optimal, when I was redoing the bignum code of GCL
last time the good GNU mp bignum code did not exist. Also the
ability of gcc to handle long long 's did not exist. So there is
definitely room for improvement.
Bill
From [email protected] Sun Apr 15 03:02:36 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3F82ZM26944
for <[email protected]>; Sun, 15 Apr 2001 03:02:35 -0500
Received: from nas20-165.wnt.club-internet.fr (IDENT:[email protected] [213.44.179.165])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id DAA31085
for <[email protected]>; Sun, 15 Apr 2001 03:02:34 -0500
Received: by nas20-165.wnt.club-internet.fr (Postfix, from userid 501)
id 336913855B; Sun, 15 Apr 2001 10:01:11 +0200 (CEST)
Message-ID: <[email protected]>
X-Mailer: XFMail 1.3 [p0] on Linux
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
Date: Sun, 15 Apr 2001 10:01:11 +0200 (CEST)
Reply-To: [email protected]
From: Daniel Duparc <[email protected]>
To: [email protected]
Subject: [Maxima] tests with maxima 5.5 beta3
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I just began to run my favorite tests for
computer algebra systems in maxima 5.5 beta3, after
having tried:
(a+b+c+d+1)^35
on my linux box
(amd k6-2 at 300 MHz, 256 MB ram,
512 MB swap, Mandrake 7.1): 21 seconds.
(By the way,
1. Maple V.5.1 cannot do the job:
Error, (in expand/bigpow)
object too large
3,869
2. MuPAD 2.0 succeeds in 401s after
_at least_ one reinitialization of the kernel
(doubling the stack for pari?)
3. pari/gp 2.1 succeeds in 97s with a big initial stack
)
The problem:
------------
I am very confused by the result of
integrate(1/(1+x^5+x),x);
which is, in my opinion, false and very strange, without
any warning.
Best regards.
----
Daniel Duparc <[email protected]>
29 av. de la Commune de Paris
94400 Vitry sur Seine (France)
From [email protected] Sun Apr 15 11:19:09 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3FGJ9M06357
for <[email protected]>; Sun, 15 Apr 2001 11:19:09 -0500
Received: from nas20-67.wnt.club-internet.fr (IDENT:[email protected] [213.44.179.67])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id LAA04660
for <[email protected]>; Sun, 15 Apr 2001 11:19:08 -0500
Received: by georgette.lefrancois (Postfix, from userid 501)
id 45100389B8; Sun, 15 Apr 2001 18:17:42 +0200 (CEST)
Message-ID: <[email protected]>
X-Mailer: XFMail 1.3 [p0] on Linux
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
Date: Sun, 15 Apr 2001 18:17:42 +0200 (CEST)
Reply-To: [email protected]
From: Daniel Duparc <[email protected]>
To: [email protected]
Subject: [Maxima] texting maxima (continued)
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
The same results were given by Maxima 5.4:
[daniel@georgette ~]$ maxima
GCL (GNU Common Lisp) Version(2.3) ven avr 28 22:31:35 CEST 2000
Licensed under GNU Library General Public License
Contains Enhancements by W. Schelter
Maxima 5.4 ven avr 28 22:31:31 CEST 2000 (with enhancements by W. Schelter).
Licensed under the GNU Public License (see file COPYING)
(C1) integrate(1/(1+x+x^5),x);
/ 2
[ x - 4 x + 5
I ------------ dx 2 x + 1
] 3 2 2 5 ATAN(-------)
/ x - x + 1 LOG(x + x + 1) SQRT(3)
(D1) ----------------- - --------------- + ---------------
7 14 7 SQRT(3)
(C2)
The true answer is (given for example by MuPAD 1.4.2):
*----* MuPAD 1.4.2 -- The Open Computer Algebra System
/| /|
*----* | Copyright (c) 1997 - 1999 by SciFace Software
| *--|-* All rights reserved.
|/ |/
*----* Licensed to: Daniel Duparc
Type ?demo, ?topics, ?news or ?changes for further information.
>> int(1/(1+x+x^5),x);
/ 1/2 \
1/2 | 2 3 (x + 1/2) |
5 3 atan| ---------------- | 2 /
\ 3 / ln((x + 1/2) + 3/4) |
------------------------------- - -------------------- + sum|
21 14 \
/ 2 3 4
| 5941 X2 3284 X2 54096 X2 216384 X2
X2 ln| x + ------- - -------- + --------- - ---------- +
\ 625 625 625 625
\ \
| 2 3 |
256/625 |, X2 = RootOf(- 12 X3 - 23 X3 + 161 X3 - 1 ) |
/ /
Bests regards.
----
Daniel Duparc <[email protected]>
29 av. de la Commune de Paris
94400 Vitry sur Seine (France)
From [email protected] Sun Apr 15 12:11:30 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3FHBTM07855
for <[email protected]>; Sun, 15 Apr 2001 12:11:29 -0500
Received: from relay.EECS.Berkeley.EDU (relay.EECS.Berkeley.EDU [169.229.34.228])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id MAA05474
for <[email protected]>; Sun, 15 Apr 2001 12:11:29 -0500
Received: from cs.berkeley.edu (as3-1-68.HIP.Berkeley.EDU [136.152.193.246])
by relay.EECS.Berkeley.EDU (8.9.3/8.9.3) with ESMTP id KAA17173;
Sun, 15 Apr 2001 10:11:11 -0700 (PDT)
Message-ID: <[email protected]>
Date: Sun, 15 Apr 2001 10:07:34 -0700
From: Richard Fateman <[email protected]>
Organization: computer science division, UC Berkeley
X-Mailer: Mozilla 4.73 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: [email protected]
CC: [email protected]
Subject: Re: [Maxima] texting maxima (continued)
References: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
The code for rational function integration in Maxima has been
replaced in the commercial macsyma. Basically, if the denominator
of the rational fraction does not factor over the integers,
then newer solution methods have been discovered. These are
actually kind of clumsy with sum over "rootof" expressions, but
the answer is formally correct. Mupad uses these methods.
There are other, probably better for many users, ways for expressing the
answer.. e.g. finding approximate roots in the complex plane
in this case (where the denominator has no extra parameters).
If the derivative doesn't come back with the same answer,
after simplification, then there may also be a bug in
the procedures.
RJF
Daniel Duparc wrote:
>
> The same results were given by Maxima 5.4:
>
> [daniel@georgette ~]$ maxima
> GCL (GNU Common Lisp) Version(2.3) ven avr 28 22:31:35 CEST 2000
> Licensed under GNU Library General Public License
> Contains Enhancements by W. Schelter
> Maxima 5.4 ven avr 28 22:31:31 CEST 2000 (with enhancements by W. Schelter).
> Licensed under the GNU Public License (see file COPYING)
> (C1) integrate(1/(1+x+x^5),x);
>
> / 2
> [ x - 4 x + 5
> I ------------ dx 2 x + 1
> ] 3 2 2 5 ATAN(-------)
> / x - x + 1 LOG(x + x + 1) SQRT(3)
> (D1) ----------------- - --------------- + ---------------
> 7 14 7 SQRT(3)
> (C2)
>
> The true answer is (given for example by MuPAD 1.4.2):
>
> *----* MuPAD 1.4.2 -- The Open Computer Algebra System
> /| /|
> *----* | Copyright (c) 1997 - 1999 by SciFace Software
> | *--|-* All rights reserved.
> |/ |/
> *----* Licensed to: Daniel Duparc
>
> Type ?demo, ?topics, ?news or ?changes for further information.
>
> >> int(1/(1+x+x^5),x);
>
> / 1/2 \
> 1/2 | 2 3 (x + 1/2) |
> 5 3 atan| ---------------- | 2 /
> \ 3 / ln((x + 1/2) + 3/4) |
> ------------------------------- - -------------------- + sum|
> 21 14 \
>
> / 2 3 4
> | 5941 X2 3284 X2 54096 X2 216384 X2
> X2 ln| x + ------- - -------- + --------- - ---------- +
> \ 625 625 625 625
>
> \ \
> | 2 3 |
> 256/625 |, X2 = RootOf(- 12 X3 - 23 X3 + 161 X3 - 1 ) |
> / /
>
> Bests regards.
> ----
> Daniel Duparc <[email protected]>
> 29 av. de la Commune de Paris
> 94400 Vitry sur Seine (France)
> _______________________________________________
> Maxima mailing list
> [email protected]
> http://www.math.utexas.edu/mailman/listinfo/maxima
From [email protected] Sun Apr 15 23:40:50 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3G4eoM27779
for <[email protected]>; Sun, 15 Apr 2001 23:40:50 -0500
Received: from sonia.ma.utexas.edu ([email protected] [128.83.133.239])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA14477
for <[email protected]>; Sun, 15 Apr 2001 23:40:50 -0500
Received: (from wfs@localhost)
by sonia.ma.utexas.edu (8.9.3/8.9.1) id XAA31529;
Sun, 15 Apr 2001 23:40:45 -0500
Date: Sun, 15 Apr 2001 23:40:45 -0500
Message-Id: <[email protected]>
X-Authentication-Warning: sonia.ma.utexas.edu: wfs set sender to [email protected] using -f
From: Bill Schelter <[email protected]>
To: [email protected]
CC: [email protected]
In-reply-to: <[email protected]> (message from
Daniel Duparc on Sun, 15 Apr 2001 10:01:11 +0200 (CEST))
Subject: Re: [Maxima] tests with maxima 5.5 beta3
Reply-to: [email protected]
Content-Type: text/plain;charset="koi8-r"
References: <[email protected]>
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
* I have made some changes to Maxima to handle the integrals
with irreducible factors, see below.
* Also I have changed GCL to compile Maxima on optimize, so that the
test now takes 2.46 seconds rather than 2.81 as previously stated..
[this is 850Mhz Pentium III under linux, gcc 2.95.2, GCL 2.3.8 beta3
with sufficient space allocated]
(C1) :lisp (progn (allocate 'cons 8000 t) (allocate 'fixnum 1000 t) (si::allocate-relocatable-pages 2000 t))
(C1)(showtime:all, ratsimp((a+b+c+d+1)^35),1)$
Evaluation took 2.46 seconds (2.49 elapsed)
======
Details about the integration change:
I have added a switch so that the integration in the term
of sum over the roots of the denominator, will be enabled.
Below is a sample call. This is in the latest snapshot.
One needs several files to bring this uptodate including sinint,
displa, and some others..
(C3) describe(rootso);
- Variable: INTEGRATE_USE_ROOTSOF
default: [false] If not false then when the denominator of an
rational function cannot be factored, we give the integral in a
form which is a sum over the roots of the denominator:
(C4) integrate(1/(1+x+x^5),x);
/ 2
[ x - 4 x + 5
I ------------ dx 2 x + 1
] 3 2 2 5 ATAN(-------)
/ x - x + 1 LOG(x + x + 1) SQRT(3)
(D4) ----------------- - --------------- + ---------------
7 14 7 SQRT(3)
but now we set the flag to be true and the first part of the
integral will undergo further simplification.
(C5) INTEGRATE_USE_ROOTSOF:true;
(D5) TRUE
(C6) integrate(1/(1+x+x^5),x);
==== 2
\ (%R1 - 4 %R1 + 5) LOG(x - %R1)
> -------------------------------
/ 2
==== 3 %R1 - 2 %R1
3 2
%R1 in ROOTSOF(x - x + 1)
(D6) ----------------------------------------------------------
7
2 x + 1
2 5 ATAN(-------)
LOG(x + x + 1) SQRT(3)
- --------------- + ---------------
14 7 SQRT(3)
(C7)
Note that it may be that we want to approximate the roots in the
complex plane, and then provide the function factored, since we
will then be able to group the roots and their complex conjugates,
so as to give a better answer.
From [email protected] Mon Apr 16 14:44:03 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3GJi3M00976
for <[email protected]>; Mon, 16 Apr 2001 14:44:03 -0500
Received: from s-inf-pc24.oulu.fi (IDENT:[email protected] [130.231.50.154])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id OAA32313
for <[email protected]>; Mon, 16 Apr 2001 14:44:03 -0500
Received: from localhost (tuukkat@localhost)
by s-inf-pc24.oulu.fi (8.9.3/8.9.3) with ESMTP id RAA21158
for <[email protected]>; Mon, 16 Apr 2001 17:21:30 +0300
Date: Mon, 16 Apr 2001 17:21:30 +0300 (EEST)
From: Tuukka Toivonen <[email protected]>
To: [email protected]
Subject: Re: [Maxima] compiling in allegro common lisp
In-Reply-To: <[email protected]>
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
On Fri, 13 Apr 2001, Bill Schelter wrote:
> (C1) :lisp (progn (allocate 'cons 8000 t) (allocate 'fixnum 1000 t) (si::allocate-relocatable-pages 2000 t))
> 2000
> (C1) (showtime:true,ratsimp((a+b+c+d+1)^35),1)$
> Evaluation took 3.12 seconds (4.01 elapsed)
> (C2)
...
> the 850mhz machine had another big background job running, so I was
Indeed. I have here 800 MHz Athlon (with Seti@home running background at
low priority) and I get:
(C1) :lisp (progn (allocate 'cons 8000 t) (allocate 'fixnum 1000
t) (si::allocate-relocatable-pages 2000 t))
2000
(C1) (showtime:true,ratsimp((a+b+c+d+1)^35),1)$
Evaluation took 2.45 seconds (2.87 elapsed)
(C2) (showtime:true,ratsimp((a+b+c+d+1)^35),1)$
Evaluation took 2.68 seconds (3.11 elapsed)
(C3) (showtime:true,ratsimp((a+b+c+d+1)^35),1)$
Evaluation took 2.70 seconds (3.14 elapsed)
(C4) (showtime:true,ratsimp((a+b+c+d+1)^35),1)$
Evaluation took 2.74 seconds (3.18 elapsed)
The time tends to increase, but it's now much faster when I allocated more
space as Bill suggested.
The C compiler is egcs-2.91.66 but I'm not quite sure how much that
actually makes difference.
From [email protected] Mon Apr 16 15:44:40 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3GKicM03932
for <[email protected]>; Mon, 16 Apr 2001 15:44:38 -0500
Received: from relay.EECS.Berkeley.EDU (relay.EECS.Berkeley.EDU [169.229.34.228])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id PAA01123
for <[email protected]>; Mon, 16 Apr 2001 15:44:38 -0500
Received: from cs.berkeley.edu (windsome.CS.Berkeley.EDU [128.32.131.134])
by relay.EECS.Berkeley.EDU (8.9.3/8.9.3) with ESMTP id NAA01720;
Mon, 16 Apr 2001 13:44:34 -0700 (PDT)
Message-ID: <[email protected]>
Date: Mon, 16 Apr 2001 13:44:33 -0700
From: Richard Fateman <[email protected]>
Organization: University of California, Berkeley
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Richard Fateman <[email protected]>
CC: [email protected], [email protected], [email protected],
[email protected]
Subject: Re: [Maxima] speed testing: Allegro vs GCL
References: <[email protected]> <[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
A better test for Maxima speed, if you are
concerned with the speed of polynomial and
rational function manipulation, may be this:
(showtime:all, rat( (a+b+c+d+1)^35), 1)$
note that instead of doing ratsimp, we are
doing rat.
What ratsimp does is take the result of
the tightly encoded polynomial result of rat and
conses up an algebraic tree, in macsyma's
"general form".
This does a sorting / ordering kind of
operation which is rather expensive.
In particular, I just tried using MAXIMA source on
Allegro CL on a 933 Mhz machine. rat alone takes
about 0.94 seconds.
(the commercial macsyma takes 1.2 sec + another 7.5 in
garbage collection).
Doing the RATSIMP takes 4.65 seconds.
The Allegro profiler (is there one for GCL?)
gives this information, which shows that the largest
single user of computer time is the
8% of the time in the RATSIMP taken within the
function MEMQ.
See below for more info:
RATSIMP Profiler
Sample represents 3.9 seconds of processor time (out of a total of 3.9)
Times below 1.0% will be suppressed.
% % self total self total Function
Time Cum. secs secs calls ms/call ms/call name
8.1 8.1 0.3 0.3 MEMQ
5.2 13.2 0.2 0.3 "kf_bignum_multiply"
3.6 16.8 0.1 2.5 ... SIMPLIFYA
3.6 20.4 0.1 0.2 ... ALIKE1
3.2 23.6 0.1 2.4 ... SIMPTIMES
3.1 26.7 0.1 0.2 EQTEST
3.0 29.6 0.1 0.7 ... PCTIMES1
2.8 32.5 0.1 0.1 EXCL::EQUAL-NOT-EQ
2.7 35.1 0.1 0.2 PZEROP
2.6 37.7 0.1 0.1 EXCL::*_2OP
2.5 40.2 0.1 0.1 EXCL::=_2OP
2.4 42.7 0.1 0.3 ... SIMPEXPT
2.2 44.8 0.1 0.1 "kf_prunebig"
2.1 47.0 0.1 1.3 ... PTIMES
2.1 49.1 0.1 0.2 MNUMP
2.0 51.1 0.1 0.1 EXCL::GET_2OP
2.0 53.0 0.1 0.5 ... TMS
1.9 54.9 0.1 0.1 "qcons"
1.8 56.7 0.1 0.7 ... PLUSIN
1.8 58.5 0.1 0.1 "kf_restify2"
1.8 60.3 0.1 0.4 ... GREAT
1.7 62.0 0.1 0.3 ... TIMESIN
1.7 63.7 0.1 0.1 ZEROP1
1.6 65.3 0.1 0.1 "qcar"
1.6 66.9 0.1 0.1 ONEP1
1.4 68.3 0.1 0.2 ... PPLUS1
1.3 69.6 0.1 2.5 ... SIMPLUS
1.3 70.9 0.1 0.9 ... PCTIMES
1.2 72.2 0.0 0.3 ... ORDFN
1.2 73.4 0.0 0.0 "qcdr"
1.1 74.5 0.0 0.1 ALIKE
1.1 75.6 0.0 0.5 CTIMES
1.0 76.6 0.0 0.1 "big_add_int"
..............
If we do the RAT() problem a few times and look at the profile:
RAT Profiler:
Sample represents 2.0 seconds of processor time (out of a total of 2.0)
Times below 1.0% will be suppressed.
% % self total self total Function
Time Cum. secs secs calls ms/call ms/call name
16.9 16.9 0.3 0.5 "kf_bignum_multiply"
9.4 26.2 0.2 1.1 ... PCTIMES1
8.3 34.6 0.2 0.2 PZEROP
7.1 41.6 0.1 0.1 EXCL::*_2OP
6.0 47.7 0.1 2.0 ... PTIMES
5.7 53.3 0.1 0.1 "kf_prunebig"
5.1 58.5 0.1 0.1 EXCL::=_2OP
3.5 62.0 0.1 1.3 ... PCTIMES
3.3 65.3 0.1 0.8 CTIMES
3.2 68.6 0.1 0.1 "big_add_int"
3.1 71.7 0.1 0.4 ... PPLUS1
3.0 74.7 0.1 0.1 "kf_new_other"
2.1 76.8 0.0 0.0 EXCL::+_2OP
2.1 78.9 0.0 0.3 PCPLUS
2.0 81.0 0.0 0.1 "kf_newbignum"
1.8 82.8 0.0 0.0 "fixnum_in_big"
1.8 84.6 0.0 1.4 PTIMES1
1.6 86.3 0.0 0.0 "kf_restify2"
1.5 87.8 0.0 0.5 "integer_multiply"
1.5 89.3 0.0 0.1 PCOEFADD
1.5 90.8 0.0 0.5 PCETIMES1
1.4 92.3 0.0 0.4 PPLUS
1.4 93.7 0.0 0.0 "qcons"
1.2 94.9 0.0 0.2 CPLUS
1.0 96.0 0.0 0.0 "replace_temp_bignum"
[1] CL-MACSYMA(22):
..............
So a good place to try to improve this code is
either in making kf_bignum_multiply faster, [or to
eliminate calls to it]. Another place is pzerop.
This is defined as
(defun pzerop (x) (and (numberp x) (zerop x)))
which suggests it could
(a) be done in-line and/or
(b) done faster e.g. (defun pzerop(x)(equalp x 0))
It is plausible that PCTIMES and PTIMES are
taking a lot of time: PCTIMES multiplies
a polynomial by a coefficient (which could
be a polynomial in other variables), and
PTIMES. CTIMES and CPLUS are in there, but
not as big contributors.
From [email protected] Tue Apr 17 14:15:39 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3HJFdM26414
for <[email protected]>; Tue, 17 Apr 2001 14:15:39 -0500
Received: from imr1.ericy.com (imr1.ericy.com [208.237.135.240])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id OAA19774
for <[email protected]>; Tue, 17 Apr 2001 14:15:39 -0500
Received: from mr6.exu.ericsson.se. (mr6u3.ericy.com [208.237.135.123])
by imr1.ericy.com (8.10.2/8.10.2) with ESMTP id f3HJFdB25679
for <[email protected]>; Tue, 17 Apr 2001 14:15:39 -0500 (CDT)
Received: from eamrcnt749 (eamrcnt749.exu.ericsson.se [138.85.133.47])
by mr6.exu.ericsson.se. (8.11.3/8.11.3) with SMTP id f3HJFbR20252
for <[email protected]>; Tue, 17 Apr 2001 14:15:38 -0500 (CDT)
Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt749 ; Tue Apr 17 14:15:35 2001 -0500
Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.82.5]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id PAA00527 for <[email protected]>; Tue, 17 Apr 2001 15:15:34 -0400 (EDT)
Received: (from toy@localhost)
by edgedsp4.rtp.ericsson.se (8.9.3+Sun/8.9.1) id PAA24479;
Tue, 17 Apr 2001 15:15:32 -0400 (EDT)
X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to [email protected] using -f
To: [email protected]
From: Raymond Toy <[email protected]>
Date: 17 Apr 2001 15:15:32 -0400
Message-ID: <[email protected]>
Lines: 21
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.4 (Solid Vapor)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: [Maxima] Re: recent cmulisp commits to cvs
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Camm> Greetings! I also just noticed the cmulisp work. What is the plan?
Camm> Is work on gcl going to continue, or will it be replaced by cmulisp?
Camm> Or will one have the option of either? Is there an advantage to one
Camm> or the other? I only ask as to avoid any work on porting gcl to
Camm> different architectures if it is likely to be replaced soon.
While I can't speak for maxima itself, I plan to make the necessary
changes to get maxima to run on cmulisp. In fact, I've just sent
(privately, since I wasn't on this list until just now) a set of
patches (done by Fred Gilham and me) that lets cmulisp run all of the
tests correctly. cmulisp can now also do plotting via the openmath
plotting option.
Also, since gcl runs on far more platforms than cmulisp, I hope gcl
continues so that maxima continues.
Ray
P.S. I was trying to rebuild the info files. SpecfunII.texi seems to be
missing....
From [email protected] Tue Apr 17 18:10:05 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3HNA5M05183
for <[email protected]>; Tue, 17 Apr 2001 18:10:05 -0500
Received: from imr1.ericy.com (imr1.ericy.com [208.237.135.240])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id SAA07574
for <[email protected]>; Tue, 17 Apr 2001 18:10:05 -0500
Received: from mr7.exu.ericsson.se. (mr7u3.ericy.com [208.237.135.122])
by imr1.ericy.com (8.10.2/8.10.2) with ESMTP id f3HNA5B08302
for <[email protected]>; Tue, 17 Apr 2001 18:10:06 -0500 (CDT)
Received: from eamrcnt749 (eamrcnt749.exu.ericsson.se [138.85.133.47])
by mr7.exu.ericsson.se. (8.11.3/8.11.3) with SMTP id f3HNA4r25387
for <[email protected]>; Tue, 17 Apr 2001 18:10:04 -0500 (CDT)
Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt749 ; Tue Apr 17 18:10:04 2001 -0500
Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.82.5]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id TAA05929 for <[email protected]>; Tue, 17 Apr 2001 19:10:03 -0400 (EDT)
Received: (from toy@localhost)
by edgedsp4.rtp.ericsson.se (8.9.3+Sun/8.9.1) id TAA24887;
Tue, 17 Apr 2001 19:10:03 -0400 (EDT)
X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to [email protected] using -f
To: [email protected]
From: Raymond Toy <[email protected]>
Date: 17 Apr 2001 19:10:02 -0400
Message-ID: <[email protected]>
Lines: 46
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.4 (Solid Vapor)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: [Maxima] Important patch for cmulisp-regex
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Here is an important patch for cmulisp-regex.lisp. Without it, the
regex routines can corrupt cmucl's memory.
Ray
P.S. Is it appropriate to submit patches via this list?
Changelog:
Fix allocation/deallocation of regex registers to prevent memory
corruption
Patch:
--- maxima-clean/maxima/src/cmulisp-regex.lisp Fri Apr 6 18:39:31 2001
+++ maxima/src/cmulisp-regex.lisp Tue Apr 17 15:32:51 2001
@@ -228,14 +228,24 @@
re-regs))
(defun allocate-re-regs ()
- (make-alien re-registers 1))
+ (let ((regs (make-alien re-registers 1)))
+ (setf (slot (deref regs) 'num-regs) 0)
+ regs))
+
(defun free-re-regs (re-regs)
(declare (type (alien (* re-registers)) re-regs))
+
(let ((r (deref re-regs)))
- (free-alien (slot r 'start))
- (free-alien (slot r 'end))
- (free-alien re-regs)))
+ ;;(format t "freeing ~A:~%" re-regs)
+ ;;(format t " num-regs: ~A~%" (slot r 'num-regs))
+ (when (plusp (slot r 'num-regs))
+ ;;(format t " free start: ~A~%" (slot r 'start))
+ ;;(format t " free end: ~A~%" (slot r 'end))
+ (free-alien (slot r 'start))
+ (free-alien (slot r 'end))
+ (free-alien re-regs)
+ )))
(defun make-case-fold-table ()
"Translation table to fold all uppercase ASCII characters to lower
From [email protected] Tue Apr 17 19:24:33 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3I0OXM08082
for <[email protected]>; Tue, 17 Apr 2001 19:24:33 -0500
Received: from sonia.ma.utexas.edu ([email protected] [128.83.133.239])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id TAA10432
for <[email protected]>; Tue, 17 Apr 2001 19:24:33 -0500
Received: (from wfs@localhost)
by sonia.ma.utexas.edu (8.9.3/8.9.1) id TAA22049;
Tue, 17 Apr 2001 19:24:32 -0500
Date: Tue, 17 Apr 2001 19:24:32 -0500
Message-Id: <[email protected]>
X-Authentication-Warning: sonia.ma.utexas.edu: wfs set sender to [email protected] using -f
From: Bill Schelter <[email protected]>
To: [email protected]
CC: [email protected]
In-reply-to: <[email protected]> (message from Raymond Toy on 17
Apr 2001 19:10:02 -0400)
Subject: Re: [Maxima] Important patch for cmulisp-regex
Reply-to: [email protected]
Content-Type: text/plain;charset="koi8-r"
References: <[email protected]>
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I have applied the patch regexp patch
P.S. Is it appropriate to submit patches via this list?
I think so yes. Certainly such ones...
P.S. Is it appropriate to submit patches via this list?
I am working on your other patches..
From [email protected] Fri Apr 20 05:34:53 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3KAYrM27669
for <[email protected]>; Fri, 20 Apr 2001 05:34:53 -0500
Received: from nas8-132.wnt.club-internet.fr (IDENT:[email protected] [213.44.167.132])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id FAA28981
for <[email protected]>; Fri, 20 Apr 2001 05:34:51 -0500
Received: by georgette.lefrancois (Postfix, from userid 501)
id 53EEC38A00; Fri, 20 Apr 2001 12:33:26 +0200 (CEST)
Message-ID: <[email protected]>
X-Mailer: XFMail 1.3 [p0] on Linux
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
Date: Fri, 20 Apr 2001 12:33:26 +0200 (CEST)
Reply-To: [email protected]
From: Daniel Duparc <[email protected]>
To: [email protected]
Subject: [Maxima] xmaxima script
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Dear friends of maxima,
The use of maxima under xemacs is quite comfortable.
However, I tried xmaxima 5.5 and found it beautiful.
I tried to change the dimensions of the window,
but failed miserably : I'm just a beginner in Tkl/Tk.
However I found the following :
- the A4 format (used in Europe) is 21cm x 29.7cm,
that is 8.2777" x 11.6929", not, of course 8" x11"
- in line 11916, the preferences file is spelled "~/xmaxina.ini"
and not "~/xmaxima.ini".
(In my opinion, "~/.xmaxima.ini" would be preferable,
preventing any deleting by mistake)
- also, for the moment, there is no other option than the font size.
Can _a user_ add other preferences, and how?
Best regards.
----
Daniel Duparc <[email protected]>
29 av. de la Commune de Paris
94400 Vitry sur Seine (France)
From [email protected] Fri Apr 20 08:40:54 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3KDesM00597
for <[email protected]>; Fri, 20 Apr 2001 08:40:54 -0500
Received: from imr2.ericy.com ([12.34.240.68])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id IAA31868
for <[email protected]>; Fri, 20 Apr 2001 08:40:54 -0500
Received: from mr7.exu.ericsson.se. (mr7att.ericy.com [138.85.92.15])
by imr2.ericy.com (8.11.3/8.11.3) with ESMTP id f3KDeN809375
for <[email protected]>; Fri, 20 Apr 2001 08:40:23 -0500 (CDT)
Received: from eamrcnt749 (eamrcnt749.exu.ericsson.se [138.85.133.47])
by mr7.exu.ericsson.se. (8.11.3/8.11.3) with SMTP id f3KDeNH17994
for <[email protected]>; Fri, 20 Apr 2001 08:40:23 -0500 (CDT)
Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt749 ; Fri Apr 20 08:40:22 2001 -0500
Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.82.5]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id JAA09007 for <[email protected]>; Fri, 20 Apr 2001 09:40:21 -0400 (EDT)
Received: (from toy@localhost)
by edgedsp4.rtp.ericsson.se (8.9.3+Sun/8.9.1) id JAA25902;
Fri, 20 Apr 2001 09:40:20 -0400 (EDT)
X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to [email protected] using -f
To: [email protected]
From: Raymond Toy <[email protected]>
Date: 20 Apr 2001 09:40:20 -0400
Message-ID: <[email protected]>
Lines: 45
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (alfalfa)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: [Maxima] CMUCL problems with yesterdays sources
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I grabbed yesterdays sources and there are a few problems.
o First, it fails in rtest3a with trying to eval some ill-formed
expression. The changes looked fairly minimal, but I think the
problem is in mstuff.lisp. The definition of mfunction1 changed.
If I change it back to the original, that error doesn't occur
anymore.
o The following patch is required. Otherwise problems 2 and 5 of
rtest1a returns 0 where FALSE is expected.
--- maxima-clean/maxima-5.5/src/ar.lisp Mon May 8 02:09:41 2000
+++ maxima-devel/maxima-5.5/src/ar.lisp Fri Apr 20 09:19:29 2001
@@ -60,7 +60,7 @@
($FIXNUM . FIXNUM)))))
(COND ((NOT LTYPE)
(COND ((EQ TYPE '$ANY)
- #+cl (make-array diml)
+ #+cl (make-array diml :initial-element nil)
#-cl
(MAKE-MGENARRAY #+cl :type #-cl type '$ANY
#+cl :CONTENT #-cl CONTENT (APPLY '*ARRAY NIL T DIML)))
o A typo in compile-cmulisp: (setq *init-run*) should probably be
(setq *init-run* t).
o In generr.lisp, the errset macro used for clisp can also be used for
CMUCL. If not, then errcatch doesn't catch errors as desired.
(Note: If you change generr, the files that use errset don't get
recompiled by make. I think they should.)
o Finally, a more serious problem. Problems 6 and 23 in rtest6a
are wrong. For problem 23, the expected answer is abs(y). However,
I get just plain y. Similarly in problem 23, the abs is missing.
For some reason radexpand is ALL instead of TRUE. (Note: the
documentation for SQRT is wrong. It says if RADEXPAND is TRUE,
sqrt(x^2) is x. This only happens if RADEXPAND is ALL.)
With these minor changes, all of the tests pass on CMUCL, except for
the last noted problem. These go away too if RADEXPAND is set to
TRUE.
Ray
From [email protected] Fri Apr 20 14:38:36 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3KJcaM21672
for <[email protected]>; Fri, 20 Apr 2001 14:38:36 -0500
Received: from sonia.ma.utexas.edu ([email protected] [128.83.133.239])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id OAA04654
for <[email protected]>; Fri, 20 Apr 2001 14:38:36 -0500
Received: (from wfs@localhost)
by sonia.ma.utexas.edu (8.9.3/8.9.1) id OAA01456;
Fri, 20 Apr 2001 14:38:34 -0500
Date: Fri, 20 Apr 2001 14:38:34 -0500
Message-Id: <[email protected]>
X-Authentication-Warning: sonia.ma.utexas.edu: wfs set sender to [email protected] using -f
From: Bill Schelter <[email protected]>
To: [email protected]
CC: [email protected]
In-reply-to: <[email protected]> (message from Raymond Toy on 20
Apr 2001 09:40:20 -0400)
Subject: Re: [Maxima] CMUCL problems with yesterdays sources
Reply-to: [email protected]
Content-Type: text/plain;charset="koi8-r"
References: <[email protected]>
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I grabbed yesterdays sources and there are a few problems. [under cmulisp]
Thank you for testing that. I have fixed the things you suggest
that presented problems under cmulisp and also the problem
o Finally, a more serious problem. Problems 6 and 23 in rtest6a
are wrong. For problem 23, the expected answer is abs(y). However,
should now be ok. hyp.lisp was setting the value not inside a let.
All the tests are now ok under gcl and clisp. Also the source level
debugging (which had temporarily been broken by a clisp patch), does
now work under both gcl and clisp. All the emacs files such as
dbl.el, smart-complete.el, sshell.el are also now in the maxima
distribution as well as the gcl distribution, since people using clisp
or cmulisp would also need them if they want the source level
debugging under emacs. I have also updated the documentation on
that (as well as a number of other things).
The changes are in the cvs and also the daily snapshot has been
updated.
bill
From [email protected] Fri Apr 20 14:43:43 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3KJhhM22079
for <[email protected]>; Fri, 20 Apr 2001 14:43:43 -0500
Received: from imr1.ericy.com (imr1.ericy.com [208.237.135.240])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id OAA04716
for <[email protected]>; Fri, 20 Apr 2001 14:43:43 -0500
Received: from mr6.exu.ericsson.se. (mr6u3.ericy.com [208.237.135.123])
by imr1.ericy.com (8.10.2/8.10.2) with ESMTP id f3KJhiB26567
for <[email protected]>; Fri, 20 Apr 2001 14:43:44 -0500 (CDT)
Received: from eamrcnt749 (eamrcnt749.exu.ericsson.se [138.85.133.47])
by mr6.exu.ericsson.se. (8.11.3/8.11.3) with SMTP id f3KJhgT20816
for <[email protected]>; Fri, 20 Apr 2001 14:43:42 -0500 (CDT)
Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt749 ; Fri Apr 20 14:43:41 2001 -0500
Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.82.5]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id PAA17288; Fri, 20 Apr 2001 15:43:40 -0400 (EDT)
Received: (from toy@localhost)
by edgedsp4.rtp.ericsson.se (8.9.3+Sun/8.9.1) id PAA26366;
Fri, 20 Apr 2001 15:43:38 -0400 (EDT)
X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to [email protected] using -f
To: [email protected]
Cc: [email protected]
Subject: Re: [Maxima] CMUCL problems with yesterdays sources
References: <[email protected]>
<[email protected]>
From: Raymond Toy <[email protected]>
Date: 20 Apr 2001 15:43:38 -0400
In-Reply-To: <[email protected]>
Message-ID: <[email protected]>
Lines: 24
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (alfalfa)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
>>>>> "Bill" == Bill Schelter <[email protected]> writes:
Bill> I grabbed yesterdays sources and there are a few problems. [under cmulisp]
Bill> Thank you for testing that. I have fixed the things you suggest
Bill> that presented problems under cmulisp and also the problem
Bill> o Finally, a more serious problem. Problems 6 and 23 in rtest6a
Bill> are wrong. For problem 23, the expected answer is abs(y). However,
Bill> should now be ok. hyp.lisp was setting the value not inside a let.
Cool!
Bill> All the tests are now ok under gcl and clisp. Also the source level
Do you mean clisp or cmulisp?
Bill> The changes are in the cvs and also the daily snapshot has been
Bill> updated.
I'll check these out soon.
Ray
From [email protected] Fri Apr 20 15:21:48 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3KKLkM23830
for <[email protected]>; Fri, 20 Apr 2001 15:21:46 -0500
Received: from mgw-x4.nokia.com (mgw-x4.nokia.com [131.228.20.27])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id PAA05625
for <[email protected]>; Fri, 20 Apr 2001 15:21:45 -0500
Received: from esvir04nok.ntc.nokia.com (esvir04nokt.ntc.nokia.com [172.21.143.36])
by mgw-x4.nokia.com (Switch-2.1.0/Switch-2.1.0) with ESMTP id f3KKMg824679
for <[email protected]>; Fri, 20 Apr 2001 23:22:42 +0300 (EET DST)
Received: from esebh02nok.ntc.nokia.com (unverified) by esvir04nok.ntc.nokia.com
(Content Technologies SMTPRS 4.2.1) with ESMTP id <[email protected]>;
Fri, 20 Apr 2001 23:21:28 +0300
Received: from mgw.research.nokia.com ([172.21.33.76]) by esebh02nok.ntc.nokia.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2652.78)
id GS5MVHQ5; Fri, 20 Apr 2001 23:21:28 +0300
Received: from users.sourceforge.net (hed034-203.research.nokia.com [172.21.34.203])
by mgw.research.nokia.com (8.9.3/8.9.3) with ESMTP id XAA28502;
Fri, 20 Apr 2001 23:21:27 +0300 (EETDST)
X-Authentication-Warning: mgw.research.nokia.com: Host hed034-203.research.nokia.com [172.21.34.203] claimed to be users.sourceforge.net
Message-ID: <[email protected]>
Date: Fri, 20 Apr 2001 23:21:05 +0300
From: Markus Nentwig <[email protected]>
X-Mailer: Mozilla 4.06 [en] (WinNT; I)
MIME-Version: 1.0
To: [email protected], [email protected],
[email protected], [email protected], [email protected],
[email protected], [email protected]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Subject: [Maxima] Documentation for Emacs Maxima mode
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hello,
I have written some 'complete idiot's guide to Maxima-mode in Emacs'
(don't laugh, it took me hours to figure that out). I thought I'd better
ask first for comments before announcing it to the public.
Have a look at
http://symaxx.sourceforge.net/MaximaMode_in_Emacs.html
and tell me, what you think. I know almost nothing about Emacs, so
please correct me if I'm wrong or there is an easier way.
I was planning to post the link on sci.math.symbolic at some time.
Regards
Markus
From [email protected] Fri Apr 20 16:43:30 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3KLhUM27478
for <[email protected]>; Fri, 20 Apr 2001 16:43:30 -0500
Received: from imr2.ericy.com ([12.34.240.68])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id QAA07878
for <[email protected]>; Fri, 20 Apr 2001 16:43:29 -0500
Received: from mr7.exu.ericsson.se. (mr7att.ericy.com [138.85.92.15])
by imr2.ericy.com (8.11.3/8.11.3) with ESMTP id f3KLgx823459
for <[email protected]>; Fri, 20 Apr 2001 16:42:59 -0500 (CDT)
Received: from eamrcnt749 (eamrcnt749.exu.ericsson.se [138.85.133.47])
by mr7.exu.ericsson.se. (8.11.3/8.11.3) with SMTP id f3KLgxg06842
for <[email protected]>; Fri, 20 Apr 2001 16:42:59 -0500 (CDT)
Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt749 ; Fri Apr 20 16:42:58 2001 -0500
Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.82.5]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id RAA19460; Fri, 20 Apr 2001 17:42:57 -0400 (EDT)
Received: (from toy@localhost)
by edgedsp4.rtp.ericsson.se (8.9.3+Sun/8.9.1) id RAA26564;
Fri, 20 Apr 2001 17:42:57 -0400 (EDT)
X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to [email protected] using -f
To: [email protected]
Cc: [email protected]
Subject: Re: [Maxima] CMUCL problems with yesterdays sources
References: <[email protected]>
<[email protected]>
<[email protected]>
From: Raymond Toy <[email protected]>
Date: 20 Apr 2001 17:42:56 -0400
In-Reply-To: <[email protected]>
Message-ID: <[email protected]>
Lines: 90
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (alfalfa)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
>>>>> "Raymond" == Raymond Toy <[email protected]> writes:
>>>>> "Bill" == Bill Schelter <[email protected]> writes:
Bill> The changes are in the cvs and also the daily snapshot has been
Bill> updated.
Raymond> I'll check these out soon.
Ok. Couple of problems.
o Need to comment out the default errset:
--- maxima-clean/maxima-5.5/src/generr.lisp Fri Apr 20 13:59:22 2001
+++ maxima-devel/maxima-5.5/src/generr.lisp Fri Apr 20 17:31:38 2001
@@ -38,7 +38,7 @@
`(handler-case (list ,(car l))
(error (e) (when errset (error e)))))
-#-(or excl clisp lucid)
+#-(or excl clisp lucid cmu)
(defmacro errset (&rest l) `(list ,(car l)))
o The restart loop for cmu isn't quite right. I think this works
better.
--- maxima-clean/maxima-5.5/src/init_max1.lisp Wed Apr 18 13:12:31 2001
+++ maxima-devel/maxima-5.5/src/init_max1.lisp Fri Apr 20 15:53:53 2001
@@ -100,9 +100,11 @@
(catch 'to-lisp
(set-pathnames)
#+cmu
- (with-simple-restart (macsyma-quit "Macsyma top-level")
- (init-maxima)
- (macsyma-top-level))
+ (init-maxima)
+ #+cmu
+ (loop
+ (with-simple-restart (macsyma-quit "Macsyma top-level")
+ (macsyma-top-level)))
#-cmu
(catch 'macsyma-quit
(macsyma-top-level))))
o The MFUNCTION1 change doesn't work. This does. I have no idea why.
--- maxima-clean/maxima-5.5/src/mstuff.lisp Fri Apr 20 15:02:50 2001
+++ maxima-devel/maxima-5.5/src/mstuff.lisp Fri Apr 20 17:29:40 2001
@@ -34,7 +34,7 @@
;; leave a conditional here.
(DEFUN MFUNCTION1 (FUN)
#+cmu
- `(LAMBDA (X Y) (MEVALP `((,',FUN) ((MQUOTE) ,X) ((MQUOTE) ,Y))))
+ (LAMBDA (X Y) (MEVALP `((,FUN) ((MQUOTE) ,X) ((MQUOTE) ,Y))))
#-cmu
(function (LAMBDA (X Y) (MEVALP `((,FUN) ((MQUOTE) ,X) ((MQUOTE) ,Y)))))
)
o Need this patch so that FALSE is returned instead of 0.
--- maxima-clean/maxima-5.5/src/ar.lisp Mon May 8 02:09:41 2000
+++ maxima-devel/maxima-5.5/src/ar.lisp Fri Apr 20 17:40:22 2001
@@ -60,7 +60,7 @@
($FIXNUM . FIXNUM)))))
(COND ((NOT LTYPE)
(COND ((EQ TYPE '$ANY)
- #+cl (make-array diml)
+ #+cl (make-array diml :initial-element nil)
#-cl
(MAKE-MGENARRAY #+cl :type #-cl type '$ANY
#+cl :CONTENT #-cl CONTENT (APPLY '*ARRAY NIL T DIML)))
o Need this so that CMUCL can continue after a break.
--- maxima-clean/maxima-5.5/src/macsys.lisp Tue Apr 17 23:16:09 2001
+++ maxima-devel/maxima-5.5/src/macsys.lisp Fri Apr 20 17:41:22 2001
@@ -292,7 +292,7 @@
(in-package "MAXIMA")
(sloop
do
- (catch #+kcl si::*quit-tag* #-kcl nil
+ (catch #+kcl si::*quit-tag* #+cmu 'continue #-(or kcl cmu) nil
(catch 'macsyma-quit
(continue)(bye)))))))
With these changes, maxima runs the tests correctly again, and
restarts work.
Ray
From [email protected] Sat Apr 21 07:42:46 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3LCgkM19495
for <[email protected]>; Sat, 21 Apr 2001 07:42:46 -0500
Received: from latinum.dresearch.de (latinum.DResearch.DE [195.90.255.74])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id HAA18170
for <[email protected]>; Sat, 21 Apr 2001 07:42:42 -0500
Received: from mark.intern.dresearch.de (mark.intern.DResearch.DE [10.32.0.29])
by latinum.dresearch.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id f3LCgcO22401
for <[email protected]>; Sat, 21 Apr 2001 14:42:39 +0200
Received: from DResearch.de (inti.intern.DResearch.DE [10.32.0.19]) by mark.intern.dresearch.de with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0)
id H11AV0FS; Sat, 21 Apr 2001 14:42:38 +0200
Message-ID: <[email protected]>
Date: Sat, 21 Apr 2001 14:42:37 +0200
From: "Khomoutov, Konstantin" <[email protected]>
Organization: DResearch
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: ru,en
MIME-Version: 1.0
To: [email protected]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Subject: [Maxima] 3d plotting of a matrix
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
How can I perform ``plot3d()'' of a matrix?
I need to get the plot of a 3d-grid (surface) defined by a matrix in which
elements represent Z-coordinates for 3d-grid nodes.
I tried the way described below:
M:MATRIX([1,2,3,4],[1,2,3,4],[1,2,3,4],[1,2,3,4])$
plot3d(M[x][y],[x,1,4],[y,1,4],['grid,4,4]);
But I got the error message from the Maxima in which it said that the ``x''
and ``y'' in the ``M[x][y]'' expression must be integers. That's right, but I
can not find a function that converts float numbers to integer ones.
I also tried to fool the Maxima by typing something like this:
plot3d(M[?truncate(x)][?truncate(y)],...);
but got the error message about my ``x'' and ``y'' are not floats (but what
they are if they aren't integers too?). The straightforward way to fix this:
plot3d(M[?truncate(FLOAT(x))][?truncate(FLOAT(y))],...);
produces the same error message :(
Any solution out there?
Thanks a lot for any help...
P.S.
I think my problem is enough foolish, but I'm C/C++/asm programmer and these
implicit dynamical type convertion tricks produce the cold sweat on my
forehead ;)
--
Konstantin Khomoutov from DResearch (Digital Media Systems GmbH).
mailto: [email protected], [email protected]
ICQ: 102278638
From [email protected] Sat Apr 21 20:44:52 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3M1iqM07327
for <[email protected]>; Sat, 21 Apr 2001 20:44:52 -0500
Received: from UNKmail.unk.edu (UNKmail.UNK.edu [144.216.2.9])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id UAA27070
for <[email protected]>; Sat, 21 Apr 2001 20:44:52 -0500
From: [email protected]
To: [email protected]
Date: Sat, 21 Apr 2001 20:43:44 -0500
Message-ID: <[email protected]>
X-MIMETrack: Serialize by Router on UNKmail.unk.edu/Servers/UNEBR(Release 5.0.6a |January
17, 2001) at 04/21/2001 08:43:45 PM
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Subject: [Maxima] generating solvable DEs
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Somewhat off-topic, but if you are writing a DE final examination this
weekend, you may
enjoy the short Maxima program:
gen_de(sol, dvar, ivar, const) := block([de ],
sol : [sol, diff(sol,ivar),diff(sol,ivar,2)],
de : eliminate(sol, const),
de : solve(de, diff(dvar,ivar,2)),
ratsimp(first(de))
)$
(c1) depends(y,x)$
(c2) gen_de(y=k1*(x+x^3)*x^(-3/2) + k2 * x*x^(-3/2),y,x,[k1, k2]);
(c3) 'diff(y,x,2) = 3*y/(4*x^2)
(c4) latex(%);
$$ \frac {d^{2} y}{d x^{2}}=\frac {3\,y}{4\,x^{2}} $$
Wunderbar. To me Maxima is fun, but it also about doing real work quickly and accurately.
For all the folks that have made this possible, I thank you.
--blw
From [email protected] Sun Apr 22 13:51:38 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3MIpbM00735
for <[email protected]>; Sun, 22 Apr 2001 13:51:37 -0500
Received: from sonia.ma.utexas.edu ([email protected] [128.83.133.239])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id NAA04343
for <[email protected]>; Sun, 22 Apr 2001 13:51:37 -0500
Received: (from wfs@localhost)
by sonia.ma.utexas.edu (8.9.3/8.9.1) id NAA13833;
Sun, 22 Apr 2001 13:51:25 -0500
Date: Sun, 22 Apr 2001 13:51:25 -0500
Message-Id: <[email protected]>
X-Authentication-Warning: sonia.ma.utexas.edu: wfs set sender to [email protected] using -f
From: Bill Schelter <[email protected]>
To: [email protected]
CC: [email protected]
In-reply-to: <[email protected]> ([email protected])
Subject: Re: [Maxima] 3d plotting of a matrix
Reply-to: [email protected]
Content-Type: text/plain;charset="koi8-r"
References: <[email protected]>
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
How can I perform ``plot3d()'' of a matrix?
I need to get the plot of a 3d-grid (surface) defined by a matrix in which
elements represent Z-coordinates for 3d-grid nodes.
I tried the way described below:
M:MATRIX([1,2,3,4],[1,2,3,4],[1,2,3,4],[1,2,3,4])$
plot3d(M[x][y],[x,1,4],[y,1,4],['grid,4,4]);
I think the easiest thing to do is to define a function f, which is
what you want to plot: ie f(x,y) == z where the z is what you want:
f(x,y):=float(M[?round(x),?round(y)])$
plot3d(f,[x,1,4],[y,1,4],['grid,4,4]);
then plot3d works ok. The problem with putting random forms in as the
first argument of plot3d, is that plot3d evaluates its arguments,
[perhaps it should not but it does..].
And it is not happy evaluating ?round(x) until that has a value..
Note also while M[1][2] will work, M[1,2] will probably be more
efficient not that that matters too much here..
From [email protected] Mon Apr 23 07:37:02 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3NCb2M05051
for <[email protected]>; Mon, 23 Apr 2001 07:37:02 -0500
Received: from mail.protherics.com ([195.70.65.75])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id HAA21081
for <[email protected]>; Mon, 23 Apr 2001 07:37:01 -0500
Received: from icthus.proteus.co.uk (icthus.proteus.co.uk [193.115.24.114])
by mail.protherics.com (8.10.0/8.10.0) with ESMTP id f3NCgJm05469
for <[email protected]>; Mon, 23 Apr 2001 13:42:19 +0100 (BST)
Received: from protherics.com (NTPC017 [193.115.24.217])
by icthus.proteus.co.uk (8.10.0/8.10.0) with ESMTP id f3NDfDX11515
for <[email protected]>; Mon, 23 Apr 2001 13:41:13 GMT
Message-ID: <[email protected]>
Date: Mon, 23 Apr 2001 13:37:49 +0100
From: tra <[email protected]>
Organization: Protherics Molecular Design Ltd
X-Mailer: Mozilla 4.75 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: maxima mailing list <[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Subject: [Maxima] PC maxima - WRITEFILE
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I recently downloaded the PC version of maxima and have been having a
lot of fun playing with it.
I used to use Macsyma, many years ago, so it was good to remeber some of
that stuff.
However, I do not seem to be able to get WRITEFILE to work.
If I submit a series of commands like:
WRITEFILE("TRANSCRIPT");
x: a + b;
CLOSEFILE();
then maxima creates a file called TRANSCRIPT, but it is empty.
Is this a known weakness of the PC distribution or am I missing
something.
Thanks for your help
Tim Auton
--
T R Auton PhD MSc C.Math
Head of Biomedical Statistics
Protherics Molecular Design Ltd
Beechfield House
Lyme Green Business Park
Macclesfield
Cheshire SK11 0JL
UK
email: [email protected]
From [email protected] Tue Apr 24 01:01:14 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3O61EM08884
for <[email protected]>; Tue, 24 Apr 2001 01:01:14 -0500
Received: from debian (d035.p8.col.ru [212.248.4.35])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id BAA11910
for <[email protected]>; Tue, 24 Apr 2001 01:01:10 -0500
Received: from debian ([127.0.0.1] helo=localhost)
by debian with esmtp (Exim 3.12 #1 (Debian))
id 14rvvn-0000Vt-00
for <[email protected]>; Tue, 24 Apr 2001 10:04:11 +0400
To: Maxima mailing list <[email protected]>
X-Mailer: Mew version 1.94.2 on Emacs 20.7 / Mule 4.0 (HANANOEN)
Mime-Version: 1.0
Content-Type: Multipart/Mixed;
boundary*=windows-1251''%2D%2DNext%5FPart%28Tue%5FApr%5F24%5F10%3A00%3A30%5F2001%5F518%29%2D%2D
Content-Transfer-Encoding: 7bit
Message-Id: <[email protected]>
Date: Tue, 24 Apr 2001 10:04:10 +0400
From: Alexey Dejneka <[email protected]>
X-Dispatcher: imput version 991025(IM133)
Lines: 77
Subject: [Maxima] xmaxima on CMUCL
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
----Next_Part(Tue_Apr_24_10:00:30_2001_518)--
Content-Type: Text/Plain; charset=windows-1251
Content-Transfer-Encoding: quoted-printable
Here is a version of server.lisp, which works on cmucl. To use it with
xmaxima, change in bin/xmaxima the line
set ws_openMath(localMaximaServer) "[file join $ws_openMath(maximaPath) =
src/saved_maxima] -load [file join $ws_openMath(maximaPath) src/server.l=
isp] -eval \"(setup PORT)\" &"
to
set ws_openMath(localMaximaServer) "lisp -core [file join $ws_openMath(m=
aximaPath) src/maxima.core] -load [file join $ws_openMath(maximaPath) sr=
c/server-new.lisp] -eval \"(setup PORT)\" &"
---
----Next_Part(Tue_Apr_24_10:00:30_2001_518)--
Content-Type: Text/Plain; charset=windows-1251
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename*=windows-1251''server%2Dnew%2Elisp
;; very simple server started on port
(and (find-package "MAXIMA") (push :maxima *features*))
#+maxima
(in-package "MAXIMA")
;;; from CLOCC: <http://clocc.sourceforge.net>
(defun open-socket (host port &optional bin)
"Open a socket connection to HOST at PORT."
(declare (type (or integer string) host) (fixnum port) (type boolean b=
in))
(let ((host (etypecase host
(string host)
(integer (hostent-name (resolve-host-ipaddr host))))))
#+allegro (socket:make-socket :remote-host host :remote-port port
:format (if bin :binary :text))
#+clisp (lisp:socket-connect port host :element-type
(if bin '(unsigned-byte 8) 'character))=
#+cmu (sys:make-fd-stream (ext:connect-to-inet-socket host port)
:input t :output t :element-type
(if bin '(unsigned-byte 8) 'character))
#+gcl (si:make-socket-stream host port bin) ; FIXME
#+lispworks (comm:open-tcp-stream host port :direction :io :element-=
type
(if bin 'unsigned-byte 'base-char)=
)
#-(or allegro clisp cmu gcl lispworks)
(error 'not-implemented :proc (list 'open-socket host port bin))))
(defun user::setup ( port &optional (host "localhost"))
(let* ((sock (open-socket host port)))
(setq me sock)
(setq *socket-connection* me)
(setq *standard-input* me)
(setq *standard-output* me)
(setq *error-output* me)
(setq *terminal-io* me)
(format t "pid=3D~a~%"
#+cmu (unix:unix-getpid)
#+gcl (si::getpid)
#-(or cmu gcl) (error 'not-emplemented 'getpid))
(setq *debug-io* me)
))
#+maxima
(progn
(setq $in_netmath t)
(setq $show_openplot nil))
----Next_Part(Tue_Apr_24_10:00:30_2001_518)----
From [email protected] Tue Apr 24 13:25:26 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3OIPPM15477
for <[email protected]>; Tue, 24 Apr 2001 13:25:25 -0500
Received: from nas16-225.wnt.club-internet.fr (IDENT:[email protected] [213.44.175.225])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id NAA27893
for <[email protected]>; Tue, 24 Apr 2001 13:25:24 -0500
Received: by georgette.lefrancois (Postfix, from userid 501)
id DF848385BE; Tue, 24 Apr 2001 20:24:02 +0200 (CEST)
Message-ID: <[email protected]>
X-Mailer: XFMail 1.3 [p0] on Linux
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
Date: Tue, 24 Apr 2001 20:24:02 +0200 (CEST)
Reply-To: [email protected]
From: Daniel Duparc <[email protected]>
To: [email protected]
Subject: [Maxima] geometry of xmzximz
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
A (partial) answer to a question I asked,
for persons with the same problem (if any?):
The option "-geometry" seems not to work
(or I invoke bad parameters?
xmaxima -geometry 950x700
(then, an order
puts "${width}x${height}"
before the dsetq of line 12007
gives an error message).
These lines around 12007 automaticaly set width and height
to a maximum, which are a bit too big for me.
So, a not so bad workaround to get useful geometry
is to write
geometry . 950x700+10+30
instead of
geometry . "${width}x${height}"
Best regards.
---
Daniel Duparc <[email protected]>
29 av. de la Commune de Paris
94400 Vitry sur Seine (France)
From [email protected] Wed Apr 25 07:28:53 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3PCSoM29253
for <[email protected]>; Wed, 25 Apr 2001 07:28:50 -0500
Received: from bug.ucw.cz ([email protected] [194.213.32.131])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id HAA16215
for <[email protected]>; Wed, 25 Apr 2001 07:28:48 -0500
Received: (from pavel@localhost)
by bug.ucw.cz (8.9.3/8.8.5) id JAA00537;
Sat, 21 Apr 2001 09:56:11 +0200
Message-ID: <[email protected]>
Date: Sat, 21 Apr 2001 09:56:10 +0200
From: Pavel Machek <[email protected]>
To: Markus Nentwig <[email protected]>, [email protected],
[email protected], [email protected], [email protected],
[email protected], [email protected]
References: <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93i
In-Reply-To: <[email protected]>; from Markus Nentwig on Fri, Apr 20, 2001 at 11:21:05PM +0300
Subject: [Maxima] Re: Documentation for Emacs Maxima mode
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hi!
> I have written some 'complete idiot's guide to Maxima-mode in Emacs'
> (don't laugh, it took me hours to figure that out). I thought I'd better
> ask first for comments before announcing it to the public.
>
> Have a look at
> http://symaxx.sourceforge.net/MaximaMode_in_Emacs.html
> and tell me, what you think. I know almost nothing about Emacs, so
> please correct me if I'm wrong or there is an easier way.
> I was planning to post the link on sci.math.symbolic at some time.
Only think I noticed that you are using <control-alt-a> notation, where
emacs would simply say C-M-a. As you are explaining what to press at
the beggining, anyway, you should probably use emacs notation.
Pavel
--
I'm [email protected]. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at [email protected]
From [email protected] Thu Apr 26 05:01:06 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3QA16M19510
for <[email protected]>; Thu, 26 Apr 2001 05:01:06 -0500
Received: from iscar.cpd.uva.es (iscar.cpd.uva.es [157.88.18.32])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id EAA22857
for <[email protected]>; Thu, 26 Apr 2001 04:54:39 -0500
Received: from almacen6.agt.cie.uva.es.agt.uva.es (almacen6.agt.cie.uva.es [157.88.45.221])
by iscar.cpd.uva.es (8.11.1/8.11.1) with ESMTP id f3Q9s2n08692
for <[email protected]>; Thu, 26 Apr 2001 11:54:06 +0200 (MET DST)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <[email protected]>
Date: Thu, 26 Apr 2001 11:55:10 +0200
To: [email protected]
X-Mailer: VM 6.92 under Emacs 20.5.1
From: Pedro Fortuny Ayuso <[email protected]>
Subject: [Maxima] 10000! (Sorry... but)
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Unfortunately, every time I try to compute 10000! I get the error
message
------
Error: Out of bignum stack space, (si::MULTIPLY-BIGNUM-STACK n) to grow
Fast links are on: do (si::use-fast-links nil) for debugging
Error signalled by CATCH.
Broken at MACSYMA-TOP-LEVEL. Type :H for Help.
MAXIMA>>
------
I know this post may seem *ridiculous*, but
1) I have been able to compute it under any math-package I have
used in my laptop (Maple for Windows, MuPAD for Windows, for
Linux, and some other).
2) It is the first speed-test I always try (it is not too good,
but it is easiest).
3) (The most important) I think I am doing something wrong with
my configuration, and would like to mend it.
4) In fact, I cannot print it even if I multiply the bignum
stack and get enough space...
Thank you very much,
Pedro.
PS: Pentium 133MMX, Linux 2.2.14, glibc 2.1, 48Mb RAM, Maxima 5.4
and 5.5-beta3, gcl 2.3.
--
Pedro Fortuny Ayuso --------> http://www.geocities.com/pedro_fortuny
Dpt. Matematicas, Univ. Autonoma de Madrid ------> http://www.uam.es
Campus Cantoblanco, 28049 Madrid. SPAIN. -----> tel. (34) 91 3974911
From [email protected] Fri Apr 27 01:40:24 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3R6eNM11997
for <[email protected]>; Fri, 27 Apr 2001 01:40:23 -0500
Received: from sonia.ma.utexas.edu ([email protected] [128.83.133.239])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id BAA15952
for <[email protected]>; Fri, 27 Apr 2001 01:40:23 -0500
Received: (from wfs@localhost)
by sonia.ma.utexas.edu (8.9.3/8.9.1) id BAA14560;
Fri, 27 Apr 2001 01:40:20 -0500
Date: Fri, 27 Apr 2001 01:40:20 -0500
Message-Id: <[email protected]>
X-Authentication-Warning: sonia.ma.utexas.edu: wfs set sender to [email protected] using -f
From: Bill Schelter <[email protected]>
To: [email protected]
CC: [email protected]
In-reply-to: <[email protected]> (message from
Pedro Fortuny Ayuso on Thu, 26 Apr 2001 11:55:10 +0200)
Subject: Re: [Maxima] 10000! (Sorry... but)
Reply-to: [email protected]
Content-Type: text/plain;charset="koi8-r"
References: <[email protected]>
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I have made a few changes to the printing of bignums in maxima so it
now handles the 10000! ok. (see cvs or snapshots).
Still as I said before the GCL bignum code is not so good, since the
10000! takes 5 seconds on a pentium 850mhz, and another 5 seconds to
print (with GCL). The maxima CLISP time (using GMP bignum code) is MUCH
faster (0.12 seconds to compute it) with printing taking 3 seconds.
I will look into putting the GMP bignum code into GCL as well.
======
Also the xmaxima is mostly working in clisp and cmulisp now.
From [email protected] Fri Apr 27 06:34:12 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3RBYCM21959
for <[email protected]>; Fri, 27 Apr 2001 06:34:12 -0500
Received: from s-inf-pc24.oulu.fi (IDENT:[email protected] [130.231.50.154])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id GAA22271
for <[email protected]>; Fri, 27 Apr 2001 06:34:11 -0500
Received: from localhost (tuukkat@localhost)
by s-inf-pc24.oulu.fi (8.9.3/8.9.3) with ESMTP id OAA02107
for <[email protected]>; Fri, 27 Apr 2001 14:33:42 +0300
Date: Fri, 27 Apr 2001 14:33:42 +0300 (EEST)
From: Tuukka Toivonen <[email protected]>
To: [email protected]
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Subject: [Maxima] dynamic library init/readline support
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I made a while back GNU readline support for GCL-2.3 and all programs
using GCL like Maxima. Back then I needed to link readline statically, and
it worked fine.
Now I'm porting the patch to GCL-2.3.8 and it seems that readline gets
linked dynamically just fine. Nevertheless, it seems that my code in GCL
gets linked in "statically"--which means that my initialization routine,
which initializes Readline variables, gets called only while GCL is being
compiled. But when the user later actually runs GCL, the readline
variables are resetted and it doesn't work.
So, I should ensure that some C-function would be called when GCL is
actually run, after compilation. stracing saved_maxima it seems that it
might run "init.lsp" at the startup. So I could register a C function
as a LISP command and call my initialization routine from
init.lsp. However this might not be ideal solution, since it wouldn't be
transparent to GCL user.
How could I trigger my C function at Maxima load time (instead of compile
time)?
From [email protected] Sat Apr 28 13:26:33 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3SIQXM24274
for <[email protected]>; Sat, 28 Apr 2001 13:26:33 -0500
Received: from UNKmail.unk.edu (UNKmail.UNK.edu [144.216.2.9])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id NAA20255
for <[email protected]>; Sat, 28 Apr 2001 13:26:32 -0500
From: [email protected]
To: [email protected]
Date: Sat, 28 Apr 2001 13:25:18 -0500
Message-ID: <[email protected]>
X-MIMETrack: Serialize by Router on UNKmail.unk.edu/Servers/UNEBR(Release 5.0.6a |January
17, 2001) at 04/28/2001 01:25:19 PM
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Subject: [Maxima] cabs and trigreduce bugs
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Bugs:
1) Maxima's (gcl / maxima 5.5 and 5.4) abs and cabs functions need some
work:
(C1) display2d : false$
(C2) cabs(%i + log(1+%i));
(D2) SQRT(LOG(2)^2/4+1)
(C3) cabs(rectform(%i + log(1+%i)));
(D3) SQRT(LOG(2)^2/4+(%PI/4+1)^2)
/* (D3) is correct and (D2) isn't. */
Maxima 5.5 is missing the eigenvalue code, but Maxima 5.4 has it. Under 5.4, I get
another problem with cabs:
(c1) tee[i,j] := if(i=j) then %i-2 else if (abs(i-j)=1) then 1 else 0$
(c2) m : genmatrix(tee,4,4)$
(c3) cabs(first(first(eigenvalues(m))));
This above gives an error about "SIGN called on ... (I'm connected to my NT machine
now and I don't remember the exact error. Sorry.)
2) A bug with trigreduce:
(C11) trigreduce(cos(2*atan(8/5)/3));
Error: 8 is not of type LIST.
Fast links are on: do (si::use-fast-links nil) for debugging
Error signalled by MACSYMA-TOP-LEVEL.
Broken at MACSYMA-TOP-LEVEL. Type :H for Help.
MAXIMA>>:q
(Incidentally, isn't "signaled" the correct spelling? Lotus Notes seems to think so.)
3) Might a bug or might be a feature, but float doesn't evaluate %pi to a float while bfloat does:
(C15) float(%pi);
(D15) %PI
(C16) bfloat(%pi);
(D16) 3.141592653589793B0
(C17) float(%e);
(D17) %E
(C18) bfloat(%e);
(D18) 2.718281828459045B0
(Under Macsyma 422, float(%pi) and float(%e) both evaluate to floats.)
Regards,
[Barton, Willis] = 0.
From [email protected] Wed May 2 09:03:42 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f42E3gM18494
for <[email protected]>; Wed, 2 May 2001 09:03:42 -0500
Received: from nef.ens.fr (nef.ens.fr [129.199.96.32])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id JAA00666
for <[email protected]>; Wed, 2 May 2001 09:03:41 -0500
Received: from clipper.ens.fr (clipper-gw.ens.fr [129.199.1.22])
by nef.ens.fr (8.10.1/1.01.28121999) with ESMTP id f42E3Qq61734
for <[email protected]>; Wed, 2 May 2001 16:03:27 +0200 (CEST)
Received: from (benjello@localhost) by clipper.ens.fr (8.9.2/jb-1.1)
Date: Wed, 2 May 2001 16:03:26 +0200
From: Mahdi Ben Jelloul <[email protected]>
To: Maxima Mailing List <[email protected]>
Message-ID: <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
Subject: [Maxima] hermite polynomial
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hello,
I'm a newbie in maxima.
I would like to use Hermite Polynomials.
It seems from documentation that they are incuded in the specint
package (%HE).
But I have not be able to obtaine them ...
Any hints ?
Thanks a lot,
ps: I use the potato .deb version of maxima
--
Mahdi BEN JELLOUL
LODYC (Case 100)
Univ. P. et M. Curie
4, place Jussieu
75252 Paris CEDEX 05
From [email protected] Wed May 2 12:50:31 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f42HoVM02131
for <[email protected]>; Wed, 2 May 2001 12:50:31 -0500
Received: from UNKmail.unk.edu (UNKmail.UNK.edu [144.216.2.9])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id MAA05721
for <[email protected]>; Wed, 2 May 2001 12:50:31 -0500
From: [email protected]
Subject: Re: [Maxima] hermite polynomial
To: [email protected]
Cc: [email protected]
Date: Wed, 2 May 2001 12:49:12 -0500
Message-ID: <[email protected]>
X-MIMETrack: Serialize by Router on UNKmail.unk.edu/Servers/UNEBR(Release 5.0.6a |January
17, 2001) at 05/02/2001 12:49:14 PM
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Code for Hermite polynomials (along with about 15 other orthogonal
polynomials) is in the specfun package. I contributed this package in
mid-April, so unless your maxima
is very recent, you won't have it. You can download specfun.mc from the
maxima CVS at
http://cvs.ma.utexas.edu/cgi-bin/cvsweb.cgi/maxima/share/?cvsroot=maxima
Copy specfun.mc to the maxima share directory. For best performance, compile specfun.
To use it, try
(C4) load("specfun")$
(C5) display2d : false$
(C6) makelist(hermite(i,x),i,0,3);
(D6) [1,2*x,-2*(1-2*x^2),-12*x*(1-2*x^2/3)]
Let me know if you have any problems.
Since contributing specfun, I've made a few improvements to it (improved
the gradef
statements and sped up the spherical harmonic function). I'll send the
newest version to anybody that wants it (it's small -- about 20K). My
package also has two demonstration programs -- variational method in
quantum mechanics and a first order degenerate pertubational calculation
for the Stark effect.
Regards,
Barton Willis
University of Nebraska at Kearney
From [email protected] Wed May 2 13:47:10 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f42IlAM07947
for <[email protected]>; Wed, 2 May 2001 13:47:10 -0500
Received: from iscar.cpd.uva.es (iscar.cpd.uva.es [157.88.18.32])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id NAA07076
for <[email protected]>; Wed, 2 May 2001 13:47:09 -0500
Received: from almacen6.agt.cie.uva.es.agt.uva.es (almacen6.agt.cie.uva.es [157.88.45.221])
by iscar.cpd.uva.es (8.11.1/8.11.1) with ESMTP id f42Iksn20648
for <[email protected]>; Wed, 2 May 2001 20:46:55 +0200 (MET DST)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <[email protected]>
Date: Wed, 2 May 2001 20:48:01 +0200
To: [email protected]
X-Mailer: VM 6.92 under Emacs 20.5.1
From: Pedro Fortuny Ayuso <[email protected]>
Subject: [Maxima] Re: Hermite
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I have Hermite polynomials in version 5.5-beta3.
You have to load the package
"specfun"
and use them via
hermite(n,x)
where I suppose (I do not know for sure) 'n' is a number and 'x' is
a variable.
Sorry but I do not know those polynomials... :-) so maybe this is
not what you are looking for.
Pedro.
--
Pedro Fortuny Ayuso --------> http://www.geocities.com/pedro_fortuny
Dpt. Matematicas, Univ. Autonoma de Madrid ------> http://www.uam.es
Campus Cantoblanco, 28049 Madrid. SPAIN. -----> tel. (34) 91 3974911
From [email protected] Thu May 3 14:39:50 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f43JdoM15703
for <[email protected]>; Thu, 3 May 2001 14:39:50 -0500
Received: from gwdu42.gwdg.de (gwdu42.gwdg.de [134.76.10.26])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id OAA06073
for <[email protected]>; Thu, 3 May 2001 14:39:49 -0500
Received: from localhost ([127.0.0.1] helo=0)
by gwdu42.gwdg.de with esmtp (Exim 3.14 #22)
id 14vOx2-0001Ye-00
for [email protected]; Thu, 03 May 2001 21:39:48 +0200
User-Agent: IMHO/0.98 (Webmail for Roxen)
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
From: Gelgel Wirasuta <[email protected]>
X-Originating-IP: gwirasu[64.0.99.168]
Date: Thu, 03 May 2001 21:39:48 +0100
MIME-Version: 1.0
To: [email protected]
Message-Id: <[email protected]>
Subject: [Maxima] (no subject)
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
test
From [email protected] Fri May 4 05:04:50 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f44A4oM20837
for <[email protected]>; Fri, 4 May 2001 05:04:50 -0500
Received: from lucky.upol.cz (lucky.upol.cz [158.194.72.60])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id FAA22500
for <[email protected]>; Fri, 4 May 2001 05:04:49 -0500
Received: from localhost (richter@localhost)
by lucky.upol.cz (8.9.3/8.9.3) with ESMTP id LAA06166
for <[email protected]>; Fri, 4 May 2001 11:57:43 +0200
X-Authentication-Warning: lucky.upol.cz: richter owned process doing -bs
Date: Fri, 4 May 2001 11:57:42 +0200 (CEST)
From: Lukas Richterek <[email protected]>
X-Sender: [email protected]
To: [email protected]
In-Reply-To: <[email protected]>
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=ISO-8859-2
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by dell3.ma.utexas.edu id f44A4oM20837
Subject: [Maxima] Definitions of LI[n](x) functions
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Dear MAXIMA users,
allow me to trouble You about the following matter. I need to evaluate
such integrals as
integrate(x^3/(exp(x)-1),x,0,INF),
in this particular case the result should be %pi^4/15. MAXIMA returns:
...
GCL (GNU Common Lisp) Version(2.3.8) Pᡫv젠4 09:07:47 CEST 2001
Licensed under GNU Library General Public License
Contains Enhancements by W. Schelter
Maxima 5.5 Pᡫv젴 09:07:44 CEST 2001 (with enhancements by W. Schelter).
Licensed under the GNU Public License (see file COPYING)
...
(C2) integrate(x^3/(exp(x)-1),x,0,INF);
x x 2 x 3 x
(D2) (limit 6 LI (%E ) - 6 x LI (%E ) + 3 x LI (%E ) + x LOG(1 - %E )
x -> INF 4 3 2
4 4
x %PI
- --) - ----
... 4 15
I would like to ask, in what way the functions LI[n](x) are defined? If I
try
(C3) LI[4](1);
I got
4
%PI
(D3) ----
90
but for another x-argument MAXIMA does not return any numerical value,
e.g.
(C4) LI[4](2);
(D4) LI (2)
4
Thanks in advance for any hints!
Faithfully,
Lukas Richterek
--
Department of Theoretical Physics | tel.:+420-68-5222451, ext. 372
Fac. Nat. Sciences, | fax :+420-68-5225737
Palacky University | e-mail: [email protected]
Svobody 26, Olomouc, CZ-771 46 |
C z e c h R e p u b l i c | /|||\
http://aix.upol.cz/~richter/index.html ( o|o )
---------------------------------------- \ u / ------------------
Pokud chcete, piste mi prosim cesky v kodovani ISO-8859-2!
--- >>> http://www.cestina.cz <<< ---
Prectete-li nasledujici vetu s diakritikou, je vse v poradku:
Pokud chcete, piڴe mi prosim 馳ky v k󤯶⯭ ISO-8859-2!
------------------------------------------------------------------
From [email protected] Sat May 5 07:38:56 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f45CcuM21712
for <[email protected]>; Sat, 5 May 2001 07:38:56 -0500
Received: from nas18-92.wnt.club-internet.fr (IDENT:[email protected] [213.44.177.92])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id HAA20837
for <[email protected]>; Sat, 5 May 2001 07:38:54 -0500
Received: by georgette.lefrancois (Postfix, from userid 501)
id ED132388E9; Sat, 5 May 2001 14:37:35 +0200 (CEST)
Message-ID: <[email protected]>
X-Mailer: XFMail 1.3 [p0] on Linux
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
Date: Sat, 05 May 2001 14:37:35 +0200 (CEST)
Reply-To: [email protected]
From: Daniel Duparc <[email protected]>
To: [email protected]
Subject: [Maxima] bad news ?
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Dear friends of maxima,
As far as I understand, Dr. Shelter announced
the fix of the 10000! bug?
Extract of a session with the maxima snapshot
of april, the 27th:
[daniel@georgette ~]$ maxima
GCL (GNU Common Lisp) Version(2.3.8) ven avr 27 18:57:43 CEST 2001
Licensed under GNU Library General Public License
Contains Enhancements by W. Schelter
Maxima 5.5 ven avr 27 18:57:36 CEST 2001 (with enhancements by W. Schelter).
Licensed under the GNU Public License (see file COPYING)
(C1) alloc(4);
(D1) ALLOC(4)
(C2) 10000!;
Error: Out of bignum stack space, (si::MULTIPLY-BIGNUM-STACK n) to grow
Fast links are on: do (si::use-fast-links nil) for debugging
Error signalled by CATCH.
Broken at MACSYMA-TOP-LEVEL. Type :H for Help.
MAXIMA>>:t
(C3)
Best regards.
----
Daniel Duparc <[email protected]>
29 av. de la Commune de Paris
94400 Vitry sur Seine (France)
From [email protected] Sun May 6 01:50:26 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f466oNM22024
for <[email protected]>; Sun, 6 May 2001 01:50:23 -0500
Received: from sonia.ma.utexas.edu ([email protected] [128.83.133.239])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id BAA11589
for <[email protected]>; Sun, 6 May 2001 01:50:23 -0500
Received: (from wfs@localhost)
by sonia.ma.utexas.edu (8.9.3/8.9.1) id BAA21935;
Sun, 6 May 2001 01:50:17 -0500
Date: Sun, 6 May 2001 01:50:17 -0500
Message-Id: <[email protected]>
X-Authentication-Warning: sonia.ma.utexas.edu: wfs set sender to [email protected] using -f
From: Bill Schelter <[email protected]>
To: [email protected]
CC: [email protected], [email protected]
In-reply-to: <[email protected]> (message from Richard Fateman
on Mon, 30 Apr 2001 16:44:35 -0700)
Subject: Re: [Maxima] 10000! (Sorry... but)
Reply-to: [email protected]
Content-Type: text/plain;charset="koi8-r"
References: <[email protected]> <[email protected]> <[email protected]>
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I have finally gotten around to adding much better bignum code to GCL.
So now 10000! takes .074 seconds. It is now sufficiently fast
that I have to do a loop 10 times to get a better measurement.
This is a factor of 70 improvement over the 5 seconds it used to
take... The times are on a 900Mhz pentium III.
I have just put out gcl 2.4.0 and maxima 5.6
Please let me know of problems in compiling this. I have not yet put
out a windows binary of the above, because of shell/configure problems
in compiling under mingw.
Incidentally the printing is much improved too.
(c1) :lisp (si::allocate-contiguous-pages 3000 t) (si::allocate 'cfun 300 t) (si::allocate 'fixnum 200 t)
(C8) for i:1 thru 10 do 10000!;
Evaluation took 0.74 seconds (0.76 elapsed)
(D8)
[ note I still am not allocating much space by default, probably
should do more. Also the bignum space is currently allocated as
contiguous blocks, but I should make it relocatable, but cannot track
down a couple of bugs preventing me from doing so]
Fateman wrote:>
in Maxima on top of allegro CL, same machine (900 MHZ)...
2.46 seconds of which .39 is in GC. Better than GCL but
not as good as CLISP.
10000! on my 933MHz pentium in commercial macsyma
takes 0.421 sec including 0.01 in GC. (This is on top
of CLOE)
From [email protected] Sun May 6 04:37:27 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f469bRM26781
for <[email protected]>; Sun, 6 May 2001 04:37:27 -0500
Received: from nas16-22.wnt.club-internet.fr (IDENT:[email protected] [213.44.175.22])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id EAA15869
for <[email protected]>; Sun, 6 May 2001 04:37:25 -0500
Received: by georgette.lefrancois (Postfix, from userid 501)
id E4C503851E; Sun, 6 May 2001 11:36:07 +0200 (CEST)
Message-ID: <[email protected]>
X-Mailer: XFMail 1.3 [p0] on Linux
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <[email protected]>
Date: Sun, 06 May 2001 11:36:07 +0200 (CEST)
Reply-To: [email protected]
From: Daniel Duparc <[email protected]>
To: [email protected]
Subject: Re: [Maxima] 10000! (Sorry... but)
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Le 06-May-01 Bill Schelter ꤲivait:
>
> I have finally gotten around to adding much better bignum code to GCL.
> So now 10000! takes .074 seconds. It is now sufficiently fast
> that I have to do a loop 10 times to get a better measurement.
> This is a factor of 70 improvement over the 5 seconds it used to
> take... The times are on a 900Mhz pentium III.
>
> I have just put out gcl 2.4.0 and maxima 5.6
>
> Please let me know of problems in compiling this. I have not yet put
> out a windows binary of the above, because of shell/configure problems
> in compiling under mingw.
Thank you, Bill, for your magnificent work.
The 2 programs compiled without any problem
under Linux Mandrake 7.1.
>
> Incidentally the printing is much improved too.
>
> (c1) :lisp (si::allocate-contiguous-pages 3000 t) (si::allocate 'cfun 300 t)
> (si::allocate 'fixnum 200 t)
> (C8) for i:1 thru 10 do 10000!;
> Evaluation took 0.74 seconds (0.76 elapsed)
> (D8)
>
> [ note I still am not allocating much space by default, probably
> should do more. Also the bignum space is currently allocated as
> contiguous blocks, but I should make it relocatable, but cannot track
> down a couple of bugs preventing me from doing so]
>
Incidentally, 10000! is computed and printed without any call of
:lisp(si ... etc... in maxima 5.6 on my machine
(roughly as fastly as under pari/gp 2.1.1).
However I tried to compute one more time (1+a+b+c+d)^35,
and interrupted maxima twice. Then I noticed that
there were 2 copies of saved-maxima in memory, computing
hard (98% of CPU time). Is this a feature or a bug ;-)?
Best regards.
----
Daniel Duparc <[email protected]>
29 av. de la Commune de Paris
94400 Vitry sur Seine (France)
From [email protected] Sun May 6 13:02:27 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f46I2RM08260
for <[email protected]>; Sun, 6 May 2001 13:02:27 -0500
Received: from tcsnpop1.tcsn.uswest.net (tcsnpop1.tcsn.uswest.net [207.108.112.1])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with SMTP id NAA26031
for <[email protected]>; Sun, 6 May 2001 13:02:27 -0500
Received: (qmail 66184 invoked by alias); 6 May 2001 18:01:53 -0000
Delivered-To: [email protected]@fixme
Received: (qmail 63968 invoked by uid 0); 6 May 2001 18:01:16 -0000
Received: from 216-161-145-39.customers.uswest.net (HELO uswest.net) (216.161.145.39)
by tcsnpop1.tcsn.uswest.net with SMTP; 6 May 2001 18:01:16 -0000
Message-ID: <[email protected]>
Date: Sun, 06 May 2001 11:02:22 +0000
From: Jim Cadien <[email protected]>
X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.17-21mdk i686)
X-Accept-Language: en
MIME-Version: 1.0
To: [email protected]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Subject: [Maxima] plot window
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I have just started using xmaxima frontend and would like to have plots
in a separate window. Where do I set this up?
Jim Cadien
From [email protected] Sun May 6 13:19:29 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f46IJTM08814
for <[email protected]>; Sun, 6 May 2001 13:19:29 -0500
Received: from sonia.ma.utexas.edu ([email protected] [128.83.133.239])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id NAA26195
for <[email protected]>; Sun, 6 May 2001 13:19:29 -0500
Received: (from wfs@localhost)
by sonia.ma.utexas.edu (8.9.3/8.9.1) id NAA24607;
Sun, 6 May 2001 13:19:26 -0500
Date: Sun, 6 May 2001 13:19:26 -0500
Message-Id: <[email protected]>
X-Authentication-Warning: sonia.ma.utexas.edu: wfs set sender to [email protected] using -f
From: Bill Schelter <[email protected]>
To: [email protected]
CC: [email protected]
In-reply-to: <[email protected]> (message from Jim Cadien on Sun,
06 May 2001 11:02:22 +0000)
Subject: Re: [Maxima] plot window
Reply-to: [email protected]
Content-Type: text/plain;charset="koi8-r"
References: <[email protected]>
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I have just started using xmaxima frontend and would like to have plots
in a separate window. Where do I set this up?
In File->Preferences
Where it asks
Should plot windows be embedded ?
click on embedded and change it to one of the other defaults:
separate means it will reuse one external popup window
multiple means it will make a new window for each plot.
You should be able to then save your preferences. Then you should
reboot windows -- no just kidding..!
This may not be in older versions of xmaxima/netmath
From [email protected] Sun May 6 13:38:01 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f46Ic1M09345
for <[email protected]>; Sun, 6 May 2001 13:38:01 -0500
Received: from sonia.ma.utexas.edu ([email protected] [128.83.133.239])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id NAA26385
for <[email protected]>; Sun, 6 May 2001 13:38:01 -0500
Received: (from wfs@localhost)
by sonia.ma.utexas.edu (8.9.3/8.9.1) id NAA24742;
Sun, 6 May 2001 13:38:00 -0500
Date: Sun, 6 May 2001 13:38:00 -0500
Message-Id: <[email protected]>
X-Authentication-Warning: sonia.ma.utexas.edu: wfs set sender to [email protected] using -f
From: Bill Schelter <[email protected]>
To: [email protected]
In-reply-to: <[email protected]> (message from Jim Cadien on Sun,
06 May 2001 11:26:19 +0000)
Subject: Re: [Maxima] plot window
Reply-to: [email protected]
Content-Type: text/plain;charset="koi8-r"
References: <[email protected]> <[email protected]> <[email protected]>
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Well, under main window file-> Pref I get:
exit
apply
save
font
and that's it.
Yes you need a newer version of xmaxima. You should be able to get it from the
cvs server:
wget http://cvs.ma.utexas.edu/cgi-bin/cvsweb.cgi/~checkout~/maxima/bin/xmaxima?rev=1.3&content-type=text/plain&cvsroot=maxima --output-document=xmaxima
I cant be sure it will be compatible with the maxima binary you have,
but it probably is. You need to set an environment variable to tell
xmaxima which maxima executable to use, ie where the root maxima
directory is eg under unix:
export MAXIMA_DIRECTORY=/home/wfs/maxima-5.6
xmaxima
Note if you are running the clisp version of maxima you would use the
same as the above but do
xmaxima -lisp clisp
this last will certainly only work with maxima 5.6.
From [email protected] Sun May 6 15:21:11 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f46KLBM12700
for <[email protected]>; Sun, 6 May 2001 15:21:11 -0500
Received: from web12204.mail.yahoo.com (web12204.mail.yahoo.com [216.136.173.88])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with SMTP id PAA28283
for <[email protected]>; Sun, 6 May 2001 15:21:10 -0500
Message-ID: <[email protected]>
Received: from [129.119.149.28] by web12204.mail.yahoo.com; Sun, 06 May 2001 13:21:10 PDT
Date: Sun, 6 May 2001 13:21:10 -0700 (PDT)
From: C Y <[email protected]>
To: [email protected]
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: [Maxima] While we're on the plot window...
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I have a couple questions about the plot window.
The reason I ask is eventually (when I both figure out
how and have time) I hope to create a GTK-Perl based
interface to maxima (the embryonic beginnings of this
are on sourceforge at
http://mathshield.sourceforge.net) using MathML and a
notebook style interface. At some point I'm hoping to
embed the plot window in the notebook. Is the
embedding ability specific to TCL, or could it
theoretically be done with other toolkits? Will I
need to do some lower level coding to avoid dependance
on TCL in the plot window itself?
(http://mathshield.sourceforge.net/concept2.png is a
rough idea of where I hope to go eventually with this
- the screenshots section shows a little more of the
current interface idea if anyone is interested.)
Thanks for your tremendous work on all of this by the
way. Maxima is one of the coolest software programs
I've seen in a long time.
Oh, inexperienced newbie question. Does anyone know
how the feature sets of Octave and Maxima compare? I
don't have enough experience with Octave to know.
Anyone worked with them enough to make a comparison?
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
From [email protected] Sun May 6 16:18:32 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f46LIWM14574
for <[email protected]>; Sun, 6 May 2001 16:18:32 -0500
Received: from sonia.ma.utexas.edu ([email protected] [128.83.133.239])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id QAA29057
for <[email protected]>; Sun, 6 May 2001 16:18:32 -0500
Received: (from wfs@localhost)
by sonia.ma.utexas.edu (8.9.3/8.9.1) id QAA25669;
Sun, 6 May 2001 16:18:30 -0500
Date: Sun, 6 May 2001 16:18:30 -0500
Message-Id: <[email protected]>
X-Authentication-Warning: sonia.ma.utexas.edu: wfs set sender to [email protected] using -f
From: Bill Schelter <[email protected]>
To: [email protected]
CC: [email protected]
In-reply-to: <[email protected]> (message
from C Y on Sun, 6 May 2001 13:21:10 -0700 (PDT))
Subject: Re: [Maxima] While we're on the plot window...
Reply-to: [email protected]
Content-Type: text/plain;charset="koi8-r"
References: <[email protected]>
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
embedding ability specific to TCL, or could it
theoretically be done with other toolkits? Will I
One thing you might look at is the TeXmacs. Maxima has an interface
with that, which is interesting. Needs some work, but it does
typesetting of the math. I also will be putting an interface into
xmaxima that displays properly typeset output.
Displaying a plot window inside another application is easy enough:
If you are doing it under X windows at least then for example
do
xwininfo
to find the id of the window you are interested in.
suppose it has id 0x100001a
% wish -use 0x100001a -f foo.tcl
where
foo.tcl is
=======
label .l -text {hello world}
pack .l
=====
will put that window into the one you specified which perhaps
belongs to another application. The plotting stuff is all in
the files: plotting.tcl
In the xmaxima.tcl you want the stuff starting at
## source plotting.tcl
down to
## endsource plotting.tcl
-use id
Specifies that the main window for the
application is to be embedded in the
window whose identifier is id, instead
of being created as an independent
toplevel window. Id must be specified
in the same way as the value for the
-use option for toplevel widgets (i.e.
it has a form like that returned by
the winfo id command).
From [email protected] Sun May 6 16:25:00 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f46LP0M14803
for <[email protected]>; Sun, 6 May 2001 16:25:00 -0500
Received: from relay.EECS.Berkeley.EDU (relay.EECS.Berkeley.EDU [169.229.34.228])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id QAA29262
for <[email protected]>; Sun, 6 May 2001 16:25:00 -0500
Received: from cs.berkeley.edu (as3-1-190.HIP.Berkeley.EDU [136.152.194.112])
by relay.EECS.Berkeley.EDU (8.9.3/8.9.3) with ESMTP id OAA01139;
Sun, 6 May 2001 14:24:57 -0700 (PDT)
Message-ID: <[email protected]>
Date: Sun, 06 May 2001 14:20:56 -0700
From: Richard Fateman <[email protected]>
Organization: computer science division, UC Berkeley
X-Mailer: Mozilla 4.73 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: C Y <[email protected]>
CC: [email protected]
Subject: Re: [Maxima] While we're on the plot window...
References: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
C Y wrote:
(the embryonic beginnings of this
> are on sourceforge at
> http://mathshield.sourceforge.net) using MathML and a
> notebook style interface.
Although it is sometimes considered impolite to question
why people are programming up anything, I can't resist
asking you why you are doing this. In particular, why
are you using MathML, which so far as I can tell is
quite unsuitable for this purpose. For example, how do you encode
"interrupt the computation"?
How do you encode a macsyma program as MathML, except
perhaps as a text string, in which case, what's the point?
<snip>
tion. Does anyone know
> how the feature sets of Octave and Maxima compare?
Octave is a clone of Matlab. Essentially, it does
"numbers". Maxima does "symbols" which as a special
case, does "numbers".
RJF
From [email protected] Sat May 5 14:16:23 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f45JGNM01151
for <[email protected]>; Sat, 5 May 2001 14:16:23 -0500
Received: from zar1.retecal.es (smtp.retecal.es [212.22.32.9])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with SMTP id OAA27636
for [email protected]; Sat, 5 May 2001 14:16:22 -0500
Date: Sat, 5 May 2001 14:16:22 -0500
From: [email protected]
Message-Id: <[email protected]>
Received: FROM retecal.es BY zar1.retecal.es ; Sat May 05 21:16:00 2001 +0200
Subject: [Maxima] Re: Maxima bad news?
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
As far as I know, one can compute 10000! and even 50000! by
assigning more memory to bignums:
:lisp(si::multiply-bignum-stack 100)
lets one compute 10000! (do not know if 50000! also).
This is all in a Pentium 133Mmx (1 minute to compute+display)
with 48Mb RAM, so I think it should work in your computer.
The fact is that *this* (multiply bignum stack) did NOT work
in the previous versions, and I think (and thought) this is
what Dr. Schelter was intending to solve (?)
Hope this helps,
Pedro
Pedro Fortuny Ayuso
[email protected] www.geocities.com/pedro_fortuny
Universidad Autonoma de Madrid.
From [email protected] Sun May 6 18:06:28 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f46N6SM18089
for <[email protected]>; Sun, 6 May 2001 18:06:28 -0500
Received: from web12206.mail.yahoo.com (web12206.mail.yahoo.com [216.136.173.90])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with SMTP id SAA31100
for <[email protected]>; Sun, 6 May 2001 18:06:28 -0500
Message-ID: <[email protected]>
Received: from [129.119.200.40] by web12206.mail.yahoo.com; Sun, 06 May 2001 16:06:27 PDT
Date: Sun, 6 May 2001 16:06:27 -0700 (PDT)
From: C Y <[email protected]>
Subject: Re: [Maxima] While we're on the plot window...
To: Richard Fateman <[email protected]>
Cc: [email protected]
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
--- Richard Fateman <[email protected]> wrote:
> Although it is sometimes considered impolite to
> question
> why people are programming up anything, I can't
> resist
> asking you why you are doing this.
No problem. Most advanced users of maxima will find
MathShield cumbersome and useless, so I don't blame
you for asking. I'm targeting this for people like
myself and my fellow students, who basically just want
to compute a few integrals now and then and are not so
great at command line stuff. Also, it's a learning
experience for me in terms of coding, tools like cvs,
and how to think about designing and debugging, since
I've never really done any of that before beyond my
intro CS courses.
> In particular, why
> are you using MathML,
> which so far as I can tell is
> quite unsuitable for this purpose.
> For example, how
> do you encode
> "interrupt the computation"?
> How do you encode a macsyma program as MathML,
> except
> perhaps as a text string, in which case, what's the
> point?
The way I hope to work this will be somewhat similar
to the way Mathematica has done it, i.e. formatting
things like fractions, square roots, exponents and
integral signs, while allowing people to enter text
commands when it suits their purpose (like
programming.) From the mathml, perl scripts can then
be used to process the expression down into maxima
syntax, and then the same process in reverse can
translate certain parts of the answer into MathML
(leaving some as text) and send the to the display
widget. For example, if I were entering an expression
with multiple fractions, exponentials within
exponentials, and other such fun complexities, I would
want to see it displayed in a formatted form in order
to better keep track of it. However, for other things
like writing macsyma programs, you are correct in
saying that Mathml would be useless and a hinderance,
so in those instances the Mathml would give way to
pure text entry, which would still be allowed.
Basically this is aimed at making a few of maxima's
abilities easier to use (at least for a user like me)
while hopefully not making more advanced usage
impossible.
The reasons I picked MathML specifically are that
there has already been some work done on a GTK display
widget for MathML called GTKMathView and the hope that
MathML abilities in Mozilla would eventually open up
some possibilities for easy display of math notebooks
on the web.
So that's the idea - to add formatting where it is
helpful and add some graphical tools for people who
(like me) are bad at remembering the syntax rules.
Maybe a good analogy would be the Lyx program - most
advanced users use raw latex or tex because they have
more power and options, but a lot of people use Lyx
because it makes things simpler for them and their
needs are modest. Lyx allows TeX expressions, but
also provides buttons for basic functionality. I've
use Lyx quite a bit, and I've found I like that
approach. You can start out doing things slowly with
the graphical buttons, but the equations are entered
as equations with immediate visual feedback rather
than long, cryptic text strings and as you gradually
learn the TeX commands you get faster. To me, it
seems like a good way for beginners to approach maxima
too. Whether I can pull it off or not is something
else again, but it never hurts to try and the worst
that will happen is that I'll know more rather than
less. :-)
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
From [email protected] Sun May 6 18:44:59 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f46NixM19338
for <[email protected]>; Sun, 6 May 2001 18:44:59 -0500
Received: from relay.EECS.Berkeley.EDU (relay.EECS.Berkeley.EDU [169.229.34.228])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id SAA31846
for <[email protected]>; Sun, 6 May 2001 18:44:58 -0500
Received: from cs.berkeley.edu (as3-1-190.HIP.Berkeley.EDU [136.152.194.112])
by relay.EECS.Berkeley.EDU (8.9.3/8.9.3) with ESMTP id QAA01764;
Sun, 6 May 2001 16:44:55 -0700 (PDT)
Message-ID: <[email protected]>
Date: Sun, 06 May 2001 16:40:54 -0700
From: Richard Fateman <[email protected]>
Organization: computer science division, UC Berkeley
X-Mailer: Mozilla 4.73 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: C Y <[email protected]>, [email protected]
Subject: Re: [Maxima] While we're on the plot window...
References: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
C Y wrote:
>
> --- Richard Fateman <[email protected]> wrote:
>
> > Although it is sometimes considered impolite to
> > question
> > why people are programming up anything, I can't
> > resist
> > asking you why you are doing this.
>
> No problem. Most advanced users of maxima will find
> MathShield cumbersome and useless, so I don't blame
> you for asking. I'm targeting this for people like
> myself and my fellow students, who basically just want
> to compute a few integrals now and then and are not so
> great at command line stuff.
If you have a command structure in Mathshield that requires no
learning, that would be interesting; is that the
point? If it is just something else to learn, why would
fellow students like it any better? Do you have any
tests to show that it is easier to use?
>Also, it's a learning
> experience for me in terms of coding, tools like cvs,
> and how to think about designing and debugging, since
> I've never really done any of that before beyond my
> intro CS courses.
"It's a learning experience" is
a good excuse for a student to do almost
anything :)
>
> > In particular, why
> > are you using MathML,
> > which so far as I can tell is
> > quite unsuitable for this purpose.
> > For example, how
> > do you encode
> > "interrupt the computation"?
> > How do you encode a macsyma program as MathML,
> > except
> > perhaps as a text string, in which case, what's the
> > point?
>
> The way I hope to work this will be somewhat similar
> to the way Mathematica has done it, i.e. formatting
> things like fractions, square roots, exponents and
> integral signs, while allowing people to enter text
> commands when it suits their purpose (like
> programming.)
I believe that Mathematica does not use MathML, though
it is willing to produce it if you wish. There is a
protocol used for communicating between front and
back ends of Mathematica (mathtalk?) and there is
also a protocol with Maple (or used to be... Irena,
I think), and the commercial Macsyma uses some kind
of Lisp, plus some signalling mechanism. You have
no signalling mechanism, and perhaps don't understand
why you need it.
> From the mathml, perl scripts can then
> be used to process the expression down into maxima
> syntax,
If you are writing the front end, why not just have
the front end talk to the back end in something that
the back end already understands. There are two
obvious choices: the macsyma command language and the
underlying lisp. You are just making more work
for yourself by having to write a translator into
mathml and a translator out. You are also increasing
the bandwidth requirements by a factor of 50 or so as
well as lacking vital communication protocols, which
you presumably would just make up in some non-standard
way.
There are also programs to display math in typeset
form (in lisp, and also see MINSE/glyphd, which I am using,
which produces little GIFs for human consumption).
> and then the same process in reverse can
> translate certain parts of the answer into MathML
> (leaving some as text) and send the to the display
> widget.
You seem to be concerned with perl and tk. Do you
know lisp? I think your project will require it,
and you might find that you will not need much else.
> For example, if I were entering an expression
> with multiple fractions, exponentials within
> exponentials, and other such fun complexities, I would
> want to see it displayed in a formatted form in order
> to better keep track of it.
Maxima already does this. Why not ask Maxima to
send you the formatted expressions.
> However, for other things
> like writing macsyma programs, you are correct in
> saying that Mathml would be useless and a hinderance,
> so in those instances the Mathml would give way to
> pure text entry, which would still be allowed.
> Basically this is aimed at making a few of maxima's
> abilities easier to use (at least for a user like me)
> while hopefully not making more advanced usage
> impossible.
>
> The reasons I picked MathML specifically are that
> there has already been some work done on a GTK display
> widget for MathML called GTKMathView and the hope that
> MathML abilities in Mozilla would eventually open up
> some possibilities for easy display of math notebooks
> on the web.
There is already math display (even conversion into
TeX) in maxima. Are you going to go through every
construction in Maxima and convert it into MathML? Guess
what... not everything in Maxima has a MathML encoding.
And are you going to convert everything in MathML into
Maxima? Guess what... some things may not be in Maxima.
>
> So that's the idea - to add formatting where it is
> helpful and add some graphical tools for people who
> (like me) are bad at remembering the syntax rules.
> Maybe a good analogy would be the Lyx program - most
> advanced users use raw latex or tex because they have
> more power and options, but a lot of people use Lyx
> because it makes things simpler for them and their
> needs are modest. Lyx allows TeX expressions, but
> also provides buttons for basic functionality. I've
> use Lyx quite a bit, and I've found I like that
> approach.
I've never seen Lyx.
> You can start out doing things slowly with
> the graphical buttons, but the equations are entered
> as equations with immediate visual feedback rather
> than long, cryptic text strings and as you gradually
> learn the TeX commands you get faster. To me, it
> seems like a good way for beginners to approach maxima
> too. Whether I can pull it off or not is something
> else again, but it never hurts to try and the worst
> that will happen is that I'll know more rather than
> less. :-)
No, here's worse... you will
waste a bunch of your time, do poorly in classes, drop
out of school, fail to impress the potential spouse
of your dreams of the suitability of your genes.
Disappoint Mom & Dad that they don't have grandchildren,
etc etc. :)
Good luck.
RJF
From [email protected] Sun May 6 21:19:24 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f472JOM24366
for <[email protected]>; Sun, 6 May 2001 21:19:24 -0500
Received: from web12204.mail.yahoo.com (web12204.mail.yahoo.com [216.136.173.88])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with SMTP id VAA04040
for <[email protected]>; Sun, 6 May 2001 21:19:24 -0500
Message-ID: <[email protected]>
Received: from [129.119.149.26] by web12204.mail.yahoo.com; Sun, 06 May 2001 19:19:23 PDT
Date: Sun, 6 May 2001 19:19:23 -0700 (PDT)
From: C Y <[email protected]>
Subject: Re: [Maxima] While we're on the plot window...
To: Richard Fateman <[email protected]>, [email protected]
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
--- Richard Fateman <[email protected]> wrote:
> If you have a command structure in Mathshield that
> requires no
> learning, that would be interesting; is that the
> point? If it is just something else to learn, why
> would
> fellow students like it any better? Do you have any
> tests to show that it is easier to use?
Not a different command structure - I actually like
the maxima syntax. All I mean is to have the
Mathematica ability of inputing things like integrals
"graphically" (for lack of a better term.) Sorry, I
guess I don't know how to express it more clearly. Or
maybe I'm not thinking about maxima the correct way.
Plus, while my fellow students using it would be nice,
considering most of them use windows anyway the odds
are actually rather low. I just like the illusion of
doing something worthwhile. ;-)
> I believe that Mathematica does not use MathML,
> though
> it is willing to produce it if you wish. There is a
> protocol used for communicating between front and
> back ends of Mathematica (mathtalk?) and there is
> also a protocol with Maple (or used to be... Irena,
> I think), and the commercial Macsyma uses some kind
> of Lisp, plus some signalling mechanism. You have
> no signalling mechanism, and perhaps don't
> understand
> why you need it.
I'm probably missing something there. I was planning
on talking to maxima the way the Symaxx maxima
interface (http://symaxx.sourceforge.net) does - write
the proper instructions to a temp file and then invoke
the command line maxima using the file as the input.
They are using Perl/Tk, and I'm pretty sure that part
of it doesn't depend on Tk. Probably not the best way
to do it, but it's about the simplest and it's been
shown to work. I confess to total ignorance here -
what function does the signaling mechanism serve?
> If you are writing the front end, why not just have
> the front end talk to the back end in something that
> the back end already understands. There are two
> obvious choices: the macsyma command language and
> the underlying lisp.
That's essentially what I had intended to do - the
MathML would only be for the purpose of displaying the
formatted mathematics via the GTK widget. Maxima
itself wouldn't ever get anything from the interface
but it's own syntax, and that's all it would need to
return - I shouldn't have to do anything to maxima
itself at all.
> You are just making more work
> for yourself by having to write a translator into
> mathml and a translator out.
Very true, but I figured that would be less work than
writing my own GTK code from scratch to handle TeX
output. Maybe it wouldn't be - that's a definite
possibility if I find that a MathML <-> maxima perl
script is too much work. Remember, though - the only
real translation would be for a very small subset of
the MathML standard. Fractions, exponentials,
integrals, stuff like that - the rest of the maxima
input/output would be in its original form throughout.
> You are also increasing the bandwidth
> requirements by a factor of 50 or so
> as well as lacking vital communication protocols,
> which you presumably would just make up in some
> non-standard way.
Do you mean communicating between the frontend and
maxima? The only direct communication would be when
the frontend runs maxima on the temp file. Symaxx
functions in this fashion, and I've never had a speed
problem with it. I'm not sure what communication
protocols I would need - perl can just run the maxima
program with the temp file input - the frontend would
use the perl scripts to translate the maxima output
file into display ready content. Unless I'm missing
something shouldn't be too much trouble for shorter
expressions (that is an unexplored point, I grant you
- I have to write the scripts before I can do speed
trials. Still, since it is ascii text manipulation, I
can't imagine it being that slow.)
> You seem to be concerned with perl and tk. Do you
> know lisp? I think your project will require it,
> and you might find that you will not need much else.
I don't know lisp (I would like to learn - that's
another one of those "if I only had time" or rather
"if only my school offered credit for it" things.) If
that's how things shape up I'll give it a try.
> > For example, if I were entering an expression
> > with multiple fractions, exponentials within
> > exponentials, and other such fun complexities, I
> would
> > want to see it displayed in a formatted form in
> order
> > to better keep track of it.
>
> Maxima already does this. Why not ask Maxima to
> send you the formatted expressions.
It can send me back formatted expressions, yes - but I
want to be able to input with formatting as well.
> There is already math display (even conversion into
> TeX) in maxima. Are you going to go through every
> construction in Maxima and convert it into MathML?
> Guess what... not everything in Maxima has a MathML
> encoding. And are you going to convert everything
> in MathML into Maxima? Guess what... some things
> may not be in Maxima.
I'm not hoping to do total conversions or anything
like that - only a few of the common things which can
get messy easily. I may be crazy, but I'm not that
crazy :-)
> I've never seen Lyx.
It's a nice piece of work (IMHO, of course) although
I'm sure it would frustrate any seasoned latex user.
It's great for beginners. (Or at least, it is for
this beginner.)
>No, here's worse... you will
>waste a bunch of your time, do poorly in classes,
drop
>out of school, fail to impress the potential spouse
>of your dreams of the suitability of your genes.
>Disappoint Mom & Dad that they don't have
>grandchildren,
>etc etc. :)
I think I blew my chances of impressing a potential
mate the first time I installed Linux. Power like that
is addictive. :-) All part of being a computer nerd -
or rather, part of becoming one.
> Good luck.
> RJF
Thanks much. Sorry for being the foolhardy newbie
clogging up the list with a lot of wild ideas and
questions. :-)
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
From [email protected] Mon May 7 08:29:25 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f47DTPM14296
for <[email protected]>; Mon, 7 May 2001 08:29:25 -0500
Received: from cuyuni.paris.none.net (cuyuni-qfe3.libertysurfpro.net [212.129.3.66] (may be forged))
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id IAA18683
for <[email protected]>; Mon, 7 May 2001 08:29:22 -0500
Received: from localhost.localdomain ([212.129.10.133])
by cuyuni.paris.none.net (InterMail vM.4.01.02.17 201-229-119)
with SMTP
id <20010507132920.DTQS594.cuyuni.paris.none.net@localhost.localdomain>
for <[email protected]>; Mon, 7 May 2001 15:29:20 +0200
From: Gosse Michel <[email protected]>
Reply-To: [email protected]
Organization: EN
To: [email protected]
Subject: Re: [Maxima] While we're on the plot window.
Date: Mon, 7 May 2001 14:20:45 +0200
X-Mailer: KMail [version 1.0.28]
Content-Type: text/plain
MIME-Version: 1.0
Message-Id: <[email protected]>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by dell3.ma.utexas.edu id f47DTPM14296
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hello
Looking at my students, it is clear that they don't like the command
line at all, so i find that an interface like mathematica for maxima is
a good project.
It must allow to use classical mathematical notations for input and
output.
Best regards.
****************************
Michel Gosse
[email protected]
[email protected]
****************************
From [email protected] Mon May 7 08:29:28 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f47DTSM14300
for <[email protected]>; Mon, 7 May 2001 08:29:28 -0500
Received: from cuyuni.paris.none.net (cuyuni-qfe3.libertysurfpro.net [212.129.3.66] (may be forged))
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id IAA18687
for <[email protected]>; Mon, 7 May 2001 08:29:27 -0500
Received: from localhost.localdomain ([212.129.10.133])
by cuyuni.paris.none.net (InterMail vM.4.01.02.17 201-229-119)
with SMTP
id <20010507132926.DTQT594.cuyuni.paris.none.net@localhost.localdomain>
for <[email protected]>; Mon, 7 May 2001 15:29:26 +0200
From: Gosse Michel <[email protected]>
Reply-To: [email protected]
Organization: EN
To: [email protected]
Date: Mon, 7 May 2001 14:22:58 +0200
X-Mailer: KMail [version 1.0.28]
Content-Type: text/plain
MIME-Version: 1.0
Message-Id: <[email protected]>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by dell3.ma.utexas.edu id f47DTSM14300
Subject: [Maxima] xmaxima menus don't respond
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hello
I have maxima 5.5 beta 3 with a mandrake 7.1. When i launch xmaxima, i
can enter and evaluate the expressions, but when i click on the items
of any menu, it will do nothing.
It's the same problem with the plots. The menus brings up, but they
have no effects. It's impossible to save the plot, zooming, and so on
...
Any idea ?
****************************
Michel Gosse
[email protected]
[email protected]
****************************
From [email protected] Mon May 7 10:27:42 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f47FRgM21988
for <[email protected]>; Mon, 7 May 2001 10:27:42 -0500
Received: from sonia.ma.utexas.edu ([email protected] [128.83.133.239])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id KAA22268
for <[email protected]>; Mon, 7 May 2001 10:27:42 -0500
Received: (from wfs@localhost)
by sonia.ma.utexas.edu (8.9.3/8.9.1) id KAA29730;
Mon, 7 May 2001 10:27:39 -0500
Date: Mon, 7 May 2001 10:27:39 -0500
Message-Id: <[email protected]>
X-Authentication-Warning: sonia.ma.utexas.edu: wfs set sender to [email protected] using -f
From: Bill Schelter <[email protected]>
To: [email protected]
CC: [email protected]
In-reply-to: <[email protected]> (message from Gosse
Michel on Mon, 7 May 2001 14:22:58 +0200)
Subject: Re: [Maxima] xmaxima menus don't respond
Reply-to: [email protected]
Content-Type: text/plain;charset="koi8-r"
References: <[email protected]>
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I have maxima 5.5 beta 3 with a mandrake 7.1. When i launch xmaxima, i
can enter and evaluate the expressions, but when i click on the items
of any menu, it will do nothing.
I have never seen this. It would appear to be a problem with wish
(ie tcl/tk), on your machine or with your window manager. Try
restarting the window manager -- at least this is what I do with fvwm
when for some reason I can't get netscape or other applications to take
the focus.
You might also check the wish demos: run
/usr/lib/tk8.3/demos/widget
or whatever version tk you have.
From [email protected] Tue May 8 03:43:15 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f488hFM04731
for <[email protected]>; Tue, 8 May 2001 03:43:15 -0500
Received: from naranjo.sdi.uam.es (naranjo.sdi.uam.es [150.244.9.11])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id DAA11790
for <[email protected]>; Tue, 8 May 2001 03:43:14 -0500
Received: from absurdo.mat.uam.es.uam.es (absurdo.mat.uam.es [150.244.21.52])
by naranjo.sdi.uam.es (8.9.3/8.9.3/UAM) with ESMTP id KAA20298
for <[email protected]>; Tue, 8 May 2001 10:42:52 +0200 (MEST)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <[email protected]>
Date: Tue, 8 May 2001 10:44:02 +0200
To: [email protected]
X-Mailer: VM 6.92 under Emacs 20.5.1
From: Pedro Fortuny Ayuso <[email protected]>
Subject: [Maxima] Congratulations
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Dear Bill,
Congratulations for maxima-5.6 and gcl-2.4.0.
Astounding!!
Thanks for the job,
Pedro.
--
Pedro Fortuny Ayuso --------> http://www.geocities.com/pedro_fortuny
Dpt. Matematicas, Univ. Autonoma de Madrid ------> http://www.uam.es
Campus Cantoblanco, 28049 Madrid. SPAIN. -----> tel. (34) 91 3974911
From [email protected] Tue May 8 13:38:40 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f48IceM29281
for <[email protected]>; Tue, 8 May 2001 13:38:40 -0500
Received: from sanga.paris.none.net (nat133.libertysurfpro.net [212.129.0.133])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id NAA24749
for <[email protected]>; Tue, 8 May 2001 13:38:34 -0500
Received: from localhost.localdomain ([213.36.138.116])
by sanga.paris.none.net (InterMail vM.4.01.02.17 201-229-119)
with SMTP
id <20010508183829.VVNP3693.sanga.paris.none.net@localhost.localdomain>
for <[email protected]>; Tue, 8 May 2001 20:38:29 +0200
From: Gosse Michel <[email protected]>
Reply-To: [email protected]
Organization: EN
To: [email protected]
Date: Tue, 8 May 2001 20:32:06 +0200
X-Mailer: KMail [version 1.0.28]
Content-Type: text/plain
MIME-Version: 1.0
Message-Id: <[email protected]>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by dell3.ma.utexas.edu id f48IceM29281
Subject: [Maxima] problem with compiling maxima 5.6
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hello
I have troubled when compiling maxima 5.6.
* i have compiled gcl3.4 : oK and it works
* i have edited the configure file of maxima, changed the path, and
./configure : ok
make : the beginning compiles well, suddenly, i have the error message :
Compiling sysinit.lsp.
End of Pass 1.
End of Pass 2.
sysinit.c:2: cmpinclude.h: Aucun fichier ou r걥rtoire de ce type
sysinit.c: In function `init_sysinit':
sysinit.c:4: `object' undeclared (first use in this function)
sysinit.c:4: (Each undeclared identifier is reported only once
sysinit.c:4: for each function it appears in.)
sysinit.c:4: parse error before `)'
sysinit.c: At top level:
sysinit.c:6: parse error before `user_init'
sysinit.c: In function `user_init':
sysinit.c:154: `Cnil' undeclared (first use in this function)
Correctable error: (SYSTEM "(cd . ;gcc -pipe -fwritable-strings -DVOL=volatile -I/home/michel/download/gcl-2.4.0/o -fsigned-char -O4 -c -I. sysinit.c -w)") returned a non-zero value 0.
Signalled by UNLESS.
If continued: Continues anyway.
Broken at CERROR. Type :H for Help.
MAKE>>echo "(setf (get :maxima :version) (quote (" `cat ../majvers` `cat ../minvers` \"`date`\" ")))" > version.lisp
echo '(si::chdir "/home/michel/download/maxima-5.6/src")' > init_max0.lisp
echo '(load "maxima-package.lisp")' >> init_max0.lisp
echo '(setq maxima::*maxima-directory* (namestring (truename "../")))' >> init_max0.lisp
echo '(si::chdir "'/home/michel/logiciels/gcl-2.4.0/unixport'")' > init_max2.lisp
cat /home/michel/logiciels/gcl-2.4.0/unixport/init_gcl.lsp | sed -e \
"s;system-init(si::chdir \"/home/michel/download/maxima-5.6/src\")(si::save-system \"saved_maxima\")g" \
> init_maxima.lsp
if cmp init_maxima.lsp /home/michel/logiciels/gcl-2.4.0/unixport/init_maxima.lsp > /dev/null ;\
then true; else cp init_maxima.lsp /home/michel/logiciels/gcl-2.4.0/unixport/init_maxima.lsp;fi
(cd /home/michel/logiciels/gcl-2.4.0/unixport ; make saved_maxima "SYSTEM=maxima" "SYSTEM_OBJS=`cat /home/michel/download/maxima-5.6/src/maxobjs`" "PORTDIR=/home/michel/logiciels/gcl-2.4.0/unixport")
make[2]: Entering directory `/home/michel/logiciels/gcl-2.4.0/unixport'
gcc -pipe -fwritable-strings -DVOL=volatile -I/home/michel/download/gcl-2.4.0/o -fsigned-char -c -I../h -c -o /home/michel/download/maxima-5.6/src/lmdcls.o /home/michel/download/maxima-5.6/src/lmdcls.c
make[2]: *** No rule to make target `/home/michel/download/maxima-5.6/src/letmac.o', needed by `raw_maxima'. Stop.
make[2]: Leaving directory `/home/michel/logiciels/gcl-2.4.0/unixport'
make[1]: *** [saved_maxima] Error 2
make[1]: Leaving directory `/home/michel/download/maxima-5.6/src'
make: *** [all] Error 2
--
****************************
Michel Gosse
[email protected]
[email protected]
****************************
From [email protected] Tue May 8 13:53:57 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f48IrvM30080
for <[email protected]>; Tue, 8 May 2001 13:53:57 -0500
Received: from nas20-215.wnt.club-internet.fr (IDENT:[email protected] [213.44.179.215])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id NAA25148
for <[email protected]>; Tue, 8 May 2001 13:53:56 -0500
Received: by georgette.lefrancois (Postfix, from userid 501)
id 457523861D; Tue, 8 May 2001 20:52:39 +0200 (CEST)
Message-ID: <[email protected]>
X-Mailer: XFMail 1.3 [p0] on Linux
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
Date: Tue, 08 May 2001 20:52:39 +0200 (CEST)
Reply-To: [email protected]
From: Daniel Duparc <[email protected]>
To: [email protected]
Subject: [Maxima] saved-maxima in memory
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Dear friends of maxima,
I can explain with better precision the
feature I told you about a few days ago :
1. please launch fistly top to see the active processes
2. then launch xmaxima, then exit via the menu
3. if the behaviour is the same as on my Linux Mandrake 7.1
box, you'l quickly see saved-maxima using 98% of cpu time.
4. ad libitum, the cpu time being divided between the several
saved-maxima processes...
I use maxima 5.6 compiled with gcl 2.4.0.
Best regards
----
Daniel Duparc <[email protected]>
29 av. de la Commune de Paris
94400 Vitry sur Seine (France)
From [email protected] Tue May 8 14:55:57 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f48JtuM00649
for <[email protected]>; Tue, 8 May 2001 14:55:56 -0500
Received: from tcsnpop1.tcsn.uswest.net (tcsnpop1.tcsn.uswest.net [207.108.112.1])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with SMTP id OAA26362
for <[email protected]>; Tue, 8 May 2001 14:55:56 -0500
Received: (qmail 76169 invoked by alias); 8 May 2001 19:55:48 -0000
Delivered-To: [email protected]@fixme
Received: (qmail 76137 invoked by uid 0); 8 May 2001 19:55:47 -0000
Received: from wendy.as.arizona.edu (HELO uswest.net) (128.196.208.39)
by tcsnpop1.tcsn.uswest.net with SMTP; 8 May 2001 19:55:47 -0000
Message-ID: <[email protected]>
Date: Tue, 08 May 2001 12:58:33 -0700
From: jim cadien <[email protected]>
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.14aa1 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: [email protected]
CC: [email protected]
Subject: Re: [Maxima] saved-maxima in memory
References: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Using maxima 5.6. It is strange, but I use mandrake 7.2 at home and
everything works fine. Here at work, I get exactly the same behaviour
as you describe. I am using RH 6.2 here, with tk8.0. At home I use
tk8.3. However I did try the tk demos here at work and all the
menu/button demos worked just fine.
I hope a solution is discovered.
Jim Cadien
Daniel Duparc wrote:
>
> Dear friends of maxima,
>
> I can explain with better precision the
> feature I told you about a few days ago :
>
> 1. please launch fistly top to see the active processes
>
> 2. then launch xmaxima, then exit via the menu
>
> 3. if the behaviour is the same as on my Linux Mandrake 7.1
> box, you'l quickly see saved-maxima using 98% of cpu time.
>
> 4. ad libitum, the cpu time being divided between the several
> saved-maxima processes...
>
> I use maxima 5.6 compiled with gcl 2.4.0.
>
> Best regards
> ----
> Daniel Duparc <[email protected]>
> 29 av. de la Commune de Paris
> 94400 Vitry sur Seine (France)
> _______________________________________________
> Maxima mailing list
> [email protected]
> http://www.math.utexas.edu/mailman/listinfo/maxima
From [email protected] Wed May 9 09:40:05 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f49Ee5M08192
for <[email protected]>; Wed, 9 May 2001 09:40:05 -0500
Received: from intech19.enhanced.com (enhanced.ppp.eticomm.net [206.228.183.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id JAA18398
for <[email protected]>; Wed, 9 May 2001 09:40:03 -0500
Received: from camm by intech19.enhanced.com with local (Exim 3.12 #1 (Debian))
id 14xUWn-0004qD-00; Wed, 09 May 2001 10:01:21 -0400
To: jim cadien <[email protected]>
Cc: [email protected], [email protected]
Subject: Re: [Maxima] saved-maxima in memory
References: <[email protected]> <[email protected]>
From: Camm Maguire <[email protected]>
Date: 09 May 2001 10:01:21 -0400
In-Reply-To: jim cadien's message of "Tue, 08 May 2001 12:58:33 -0700"
Message-ID: <[email protected]>
Lines: 62
X-Mailer: Gnus v5.7/Emacs 20.7
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings! Yes, apparently what's going on is that the xmaxima tcl is
closing the socket to the saved_maxima process without successfully
terminating it first. saved_maxima then loops forever on select of
the file descriiptor, which being closed, returns a "bad file
descriptor" error. Simplest fix would be to patch xmaxima, but maybe
it would be more robust if maxima itself exits when its input stream
is closed?
Take care,
jim cadien <[email protected]> writes:
> Using maxima 5.6. It is strange, but I use mandrake 7.2 at home and
> everything works fine. Here at work, I get exactly the same behaviour
> as you describe. I am using RH 6.2 here, with tk8.0. At home I use
> tk8.3. However I did try the tk demos here at work and all the
> menu/button demos worked just fine.
> I hope a solution is discovered.
>
> Jim Cadien
>
>
>
> Daniel Duparc wrote:
> >
> > Dear friends of maxima,
> >
> > I can explain with better precision the
> > feature I told you about a few days ago :
> >
> > 1. please launch fistly top to see the active processes
> >
> > 2. then launch xmaxima, then exit via the menu
> >
> > 3. if the behaviour is the same as on my Linux Mandrake 7.1
> > box, you'l quickly see saved-maxima using 98% of cpu time.
> >
> > 4. ad libitum, the cpu time being divided between the several
> > saved-maxima processes...
> >
> > I use maxima 5.6 compiled with gcl 2.4.0.
> >
> > Best regards
> > ----
> > Daniel Duparc <[email protected]>
> > 29 av. de la Commune de Paris
> > 94400 Vitry sur Seine (France)
> > _______________________________________________
> > Maxima mailing list
> > [email protected]
> > http://www.math.utexas.edu/mailman/listinfo/maxima
> _______________________________________________
> Maxima mailing list
> [email protected]
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
>
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Wed May 9 11:45:22 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f49GjMM16148
for <[email protected]>; Wed, 9 May 2001 11:45:22 -0500
Received: from intech19.enhanced.com (enhanced.ppp.eticomm.net [206.228.183.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id LAA21448
for <[email protected]>; Wed, 9 May 2001 11:45:21 -0500
Received: from camm by intech19.enhanced.com with local (Exim 3.12 #1 (Debian))
id 14xX5B-0004wV-00; Wed, 09 May 2001 12:45:01 -0400
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: [Maxima] 10000! (Sorry... but)
References: <[email protected]> <[email protected]> <[email protected]> <[email protected]>
From: Camm Maguire <[email protected]>
Date: 09 May 2001 12:45:01 -0400
In-Reply-To: Bill Schelter's message of "Sun, 6 May 2001 01:50:17 -0500"
Message-ID: <[email protected]>
Lines: 66
X-Mailer: Gnus v5.7/Emacs 20.7
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings, and thank you again for the wonderful work on
gcl-2.4.0/maxima-5.6!
It appears now with the compiled in inclusion of some of the gmp code
into gcl, that subarchitecture dependencies are introduced into the
resulting binaries. This complicates making x86 binaries to include
in a distribution such as Debian. Of course, the difference in
performance is well worth the extra effort.
Here's my plan -- build each of the gmp x86 subarch options as
separate shared libraries, install these under
/usr/lib/{k6,k7,p6,...}, and let ld.so load the fastest one at
runtime. The portion of the gcl build which actually runs raw_gcl
will be invoked with an LD_LIBRARY_PATH choosing a generic shared
lib.
Is this going to work?
Take care,
Bill Schelter <[email protected]> writes:
> I have finally gotten around to adding much better bignum code to GCL.
> So now 10000! takes .074 seconds. It is now sufficiently fast
> that I have to do a loop 10 times to get a better measurement.
> This is a factor of 70 improvement over the 5 seconds it used to
> take... The times are on a 900Mhz pentium III.
>
> I have just put out gcl 2.4.0 and maxima 5.6
>
> Please let me know of problems in compiling this. I have not yet put
> out a windows binary of the above, because of shell/configure problems
> in compiling under mingw.
>
> Incidentally the printing is much improved too.
>
> (c1) :lisp (si::allocate-contiguous-pages 3000 t) (si::allocate 'cfun 300 t) (si::allocate 'fixnum 200 t)
> (C8) for i:1 thru 10 do 10000!;
> Evaluation took 0.74 seconds (0.76 elapsed)
> (D8)
>
> [ note I still am not allocating much space by default, probably
> should do more. Also the bignum space is currently allocated as
> contiguous blocks, but I should make it relocatable, but cannot track
> down a couple of bugs preventing me from doing so]
>
> Fateman wrote:>
> in Maxima on top of allegro CL, same machine (900 MHZ)...
> 2.46 seconds of which .39 is in GC. Better than GCL but
> not as good as CLISP.
>
> 10000! on my 933MHz pentium in commercial macsyma
> takes 0.421 sec including 0.01 in GC. (This is on top
> of CLOE)
>
> _______________________________________________
> Maxima mailing list
> [email protected]
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
>
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Wed May 9 16:09:38 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f49L9cM30197
for <[email protected]>; Wed, 9 May 2001 16:09:38 -0500
Received: from intech19.enhanced.com (enhanced.ppp.eticomm.net [206.228.183.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id QAA27272
for <[email protected]>; Wed, 9 May 2001 16:09:36 -0500
Received: from camm by intech19.enhanced.com with local (Exim 3.12 #1 (Debian))
id 14xbDB-0005no-00; Wed, 09 May 2001 17:09:33 -0400
To: [email protected]
From: Camm Maguire <[email protected]>
Date: 09 May 2001 17:09:33 -0400
In-Reply-To: Camm Maguire's message of "09 May 2001 10:01:21 -0400"
Message-ID: <[email protected]>
Lines: 34
X-Mailer: Gnus v5.7/Emacs 20.7
Subject: [Maxima] Build error doesn't terminate make with error
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings! I just did a build which showed the following:
=============================================================================
...
Compiling plot.lisp.
End of Pass 1.
Warning: COERCE-FLOAT-FUN has a duplicate definition in this file
;; Note: Tail-recursive call of $COPY_PTS was replaced by iteration.
;; Note: Tail-recursive call of TCL-OUTPUT-LIST was replaced by iteration.
End of Pass 2.
plot.c: In function `L84':
plot.c:9924: virtual memory exhausted
cpp: output pipe has been closed
Error: (SYSTEM "(cd . ;gcc -pipe -fwritable-strings -DVOL=volatile -I/fix/f/debian/mm/maxima/maxima-5.6/gcl-2.4.0/o -fsigned-char -O4 -c -I. plot.c -w)") returned a non-zero value 0.
Fast links are on: do (si::use-fast-links nil) for debugging
Error signalled by UNLESS.
Backtrace: system::gcl-top-level > lisp:if > lisp:let > system:error-set > system:error-set > progn > compile-file > loop > setq > apply > apply > compiler::compile-file1 > lisp:let > unwind-protect > progn > lisp:let* > lisp:if > progn > cond > compiler::compiler-cc > compiler::safe-system > multiple-value-bind > unless > CERROR
make[3]: Leaving directory `/fix/f/debian/mm/maxima/maxima-5.6/src'
make[2]: Leaving directory `/fix/f/debian/mm/maxima/maxima-5.6/src'
make[1]: Leaving directory `/fix/f/debian/mm/maxima/maxima-5.6'
=============================================================================
Unfortunately, the main make did not return with a non-zero error
status, and my package build around this make proceeded merrily
along. :-()
Take care,
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Thu May 10 13:37:41 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f4AIbfM27221
for <[email protected]>; Thu, 10 May 2001 13:37:41 -0500
Received: from imr2.ericy.com (imr2.ericy.com [12.34.240.68])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id NAA25950
for <[email protected]>; Thu, 10 May 2001 13:37:41 -0500
Received: from mr7.exu.ericsson.se (mr7att.ericy.com [138.85.92.15])
by imr2.ericy.com (8.11.3/8.11.3) with ESMTP id f4AIb6825111
for <[email protected]>; Thu, 10 May 2001 13:37:07 -0500 (CDT)
Received: from eamrcnt749 (eamrcnt749.exu.ericsson.se [138.85.133.47])
by mr7.exu.ericsson.se (8.11.3/8.11.3) with SMTP id f4AIb6d27368
for <[email protected]>; Thu, 10 May 2001 13:37:06 -0500 (CDT)
Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt749 ; Thu May 10 13:37:05 2001 -0500
Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.82.5]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id OAA28856 for <[email protected]>; Thu, 10 May 2001 14:37:10 -0400 (EDT)
Received: (from toy@localhost)
by edgedsp4.rtp.ericsson.se (8.9.3+Sun/8.9.1) id OAA18179;
Thu, 10 May 2001 14:37:04 -0400 (EDT)
X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to [email protected] using -f
To: [email protected]
From: Raymond Toy <[email protected]>
Date: 10 May 2001 14:37:03 -0400
Message-ID: <[email protected]>
Lines: 18
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (alfalfa)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: [Maxima] maxima 5.6 and cmucl
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Grabbed the 5.6 release and rebuilt with cmucl. Everything works but
I did run into a problem.
Some of the tests fail. However, if I delete the mstuff fasl file and
recompile everything, the tests work just fine. I have no idea why
this is. My guess is something that's compiled before mstuff
influences how mstuff gets compiled, but only when that thing is
compiled, but it has no effect if that fasl is LOAD'ed before
compiling mstuff.
Also, I think I found the problem with cmucl and compiling plot.lisp.
The defstruct for polygon is wrapped inside an eval-when
compile/eval. If I take that outside, and reinstate the make-polygon
macro (after renaming the defstruct constructor from make-polygon to
%make-polygon to prevent a collision), plots work.
Ray
From [email protected] Fri May 11 00:48:08 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f4B5m7M28570
for <[email protected]>; Fri, 11 May 2001 00:48:07 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id AAA15201
for <[email protected]>; Fri, 11 May 2001 00:48:07 -0500
Received: (from wfs@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id AAA02937;
Fri, 11 May 2001 00:48:05 -0500
Date: Fri, 11 May 2001 00:48:05 -0500
Message-Id: <[email protected]>
Reply-to: [email protected]
From: William Schelter <[email protected]>
To: [email protected]
CC: [email protected]
In-reply-to: <[email protected]> (message from Gosse
Michel on Tue, 8 May 2001 20:32:06 +0200)
Subject: Re: [Maxima] problem with compiling maxima 5.6
Reply-to: [email protected]
References: <[email protected]>
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Correctable error: (SYSTEM "(cd . ;gcc -pipe -fwritable-strings
-DVOL=volatile -I/home/michel/download/gcl-2.4.0/o -fsigned-char
-O4 -c -I. sysinit.c -w)") returned a non-zero value 0.
Somehow either you have moved the gcl from where you built it or removed
cmpinclude.h from your directory /home/michel/download/gcl-2.4.0/o.
such thing, since the cmpinclude.h is in gcl-2.4.0/o among other directories and that is in the gcc command line that is being passed.
Under the target all: in the main makefile, is the line.
rm -f o/cmpinclude.h ; ln h/cmpinclude.h o
so there should be a copy there.
From [email protected] Fri May 11 00:48:20 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f4B5mKM28576
for <[email protected]>; Fri, 11 May 2001 00:48:20 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id AAA15206
for <[email protected]>; Fri, 11 May 2001 00:48:19 -0500
Received: (from wfs@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id AAA02950;
Fri, 11 May 2001 00:48:10 -0500
Date: Fri, 11 May 2001 00:48:10 -0500
Message-Id: <[email protected]>
Reply-to: [email protected]
From: William Schelter <[email protected]>
To: [email protected]
CC: [email protected], [email protected], [email protected]
In-reply-to: <[email protected]> (message from Camm Maguire
on 09 May 2001 12:45:01 -0400)
Subject: Re: [Maxima] gmp config + propagating errors at top level compile
Reply-to: [email protected]
References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]>
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
in the configure of gcl, I included
(cd gmp ; ./configure --target=pentium) ;;
I intended to include a line in the gcl/configure.in to make the
configuration on any pentium, 686, pentiumpro, athlon etc use pentium
which I think should work for almost all machines now adays. This
would hurt performance a bit, but at least let the same binary work on
all. However, the '[' ']' got stripped in the making of configure
from configure.in and the test regexp i5-986* |pentium* | ... which
would not match lots, and so the default configure is used for those
machines. Ie a more machine specific one. So you could just fix the
above in the configure. I am still unsure what the best target to use
would be.. On the machine I was running on I found that the
distributed shared gmp.so was actually compiled incorrectly for my
architecture, and so gave a segfault on certain gcl operations. That
is part of the reason I include the part of gmp we need, to make sure
it is compiled correctly. Also I needed to include it to make some changes
to functions to help the gc.
case "${canonical}" in
i[5-9]86* | pentium* | k6* | athlon*)
(cd gmp ; ./configure --target=pentium) ;;
*)
(cd gmp ; ./configure) ;;
esac
==================
this is a message from gcc. Yes I probably dont have gcl return
with a nonzero
plot.c: In function `L84':
plot.c:9924: virtual memory exhausted
cpp: output pipe has been closed
Yes it would appear that gcl was not propagating correctly the failure
to compile due to gcc running out of space. I have fixed this in
unixport/init_gcl.lsp: On a more practical note, if you run out of space
like that you can remove the -pipe from the gcc flag, and it should
use temp files, which will take less swap space.
(defun system::gcl-top-level (&aux tem)
(si::set-up-top-level)
(if (si::get-command-arg "-compile")
(let ((*break-enable* nil) result)
(setq result
(system:error-set
'(progn
(compile-file
(si::get-command-arg "-compile")
:output-file
(or (si::get-command-arg "-o")
(si::get-command-arg "-compile"))
:o-file
(cond ((equalp
(si::get-command-arg "-o-file")
"nil") nil)
((si::get-command-arg "-o-file" t))
(t t))
:c-file (si::get-command-arg "-c-file" t)
:h-file (si::get-command-arg "-h-file" t)
:data-file (si::get-command-arg "-data-file" t)
:system-p (si::get-command-arg "-system-p" t)))))
(bye (if (or compiler::*error-p* (equal result '(nil))) 1 0))))
(cond ((si::get-command-arg "-batch")
(setq si::*top-level-hook* 'bye))
((si::get-command-arg "-f"))
(t ;; if ANY header or license information is printed by the
;; program, then the following License and Enhancement notice
;; must be printed (see License).
(format t "GCL (GNU Common Lisp) ~A~%~a~%~a~%" "DATE"
"Licensed under GNU Library General Public License"
"Contains Enhancements by W. Schelter")))
(setq si::*ihs-top* 1)
(in-package 'system::user) (incf system::*ihs-top* 2)
(funcall system::*old-top-level*))
From [email protected] Fri May 11 12:44:20 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f4BHiKM23267
for <[email protected]>; Fri, 11 May 2001 12:44:20 -0500
Received: from UNKmail.unk.edu (UNKmail.UNK.edu [144.216.2.9])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id MAA00708
for <[email protected]>; Fri, 11 May 2001 12:44:19 -0500
From: [email protected]
To: [email protected]
Date: Fri, 11 May 2001 12:42:52 -0500
Message-ID: <[email protected]>
X-MIMETrack: Serialize by Router on UNKmail.unk.edu/Servers/UNEBR(Release 5.0.6a |January
17, 2001) at 05/11/2001 12:42:53 PM
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Subject: [Maxima] appendfile
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I'm having trouble using maxima's appendfile:
(C3) appendfile("buddy.txt");
(D3) APPENDFILE(buddy.txt)
(C4) x;
(D4) x
(C5) y;
(D5) y
(C6) closefile("buddy.txt");
Error: Not in dribble.
Fast links are on: do (si::use-fast-links nil) for debugging
Error signalled by CATCH.
Broken at MACSYMA-TOP-LEVEL. Type :H for Help.
I tried rolling my own appendfile, but I wasn't able to make dribble append to a file, instead
dribble would overwrite the existing file. I read maxima's info on append file, but I don't
know the meaning of the four arguments.
Any hints?
Regards,
BW
From [email protected] Sun May 13 14:29:07 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f4DJT7M26847
for <[email protected]>; Sun, 13 May 2001 14:29:07 -0500
Received: from sonia.ma.utexas.edu ([email protected] [128.83.133.239])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id OAA26605
for <[email protected]>; Sun, 13 May 2001 14:29:07 -0500
Received: (from wfs@localhost)
by sonia.ma.utexas.edu (8.9.3/8.9.1) id VAA27173;
Sun, 6 May 2001 21:37:49 -0500
Date: Sun, 6 May 2001 21:37:49 -0500
Message-Id: <[email protected]>
X-Authentication-Warning: sonia.ma.utexas.edu: wfs set sender to [email protected] using -f
From: Bill Schelter <[email protected]>
To: [email protected]
CC: [email protected], [email protected], [email protected],
[email protected]
In-reply-to: <[email protected]> (message
from C Y on Sun, 6 May 2001 19:19:23 -0700 (PDT))
Subject: Re: [Maxima] While we're on the plot window...
Reply-to: [email protected]
Content-Type: text/plain;charset="koi8-r"
References: <[email protected]>
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Mathematica ability of inputing things like integrals
"graphically" (for lack of a better term.) Sorry, I
guess I don't know how to express it more clearly. Or
maybe I'm not thinking about maxima the correct way.
You really maybe should take a look/try at TeXmacs.
http://www.texmacs.org/
It lets you type in math in graphical form, but normally maxima input
is in maxima form, just the output is tex like form. It actually
uses mactex.lisp (fateman's file). The interface was done by
[email protected]
It does not yet allow interrupts, but I think that is a solvable
problem, just as I do in netmath. You just have to listen for a
signal or listen on a second channel. Maxima can say accept a signal
and then do something, like stop the computation. Under windows I
have a hack winkill.exe which lets me get around the lack of signals.
Also it needs something to associate to each part of the tex
expression the maxima part which generated it. This should be
simple, yet would let mousing a subexpression.
This could be done on a second pass too: For example if
the maxima side remembered the lisp form of the tex expression it
sent, and then texmacs communicated back a certain string range
of the tex expression, then mactex.lisp could make a second pass
figuring out which subform caused the generation of the relevant
region of the string.
eg ((mplus) ((mexpt) $x ((mplus) $u $v))) ==> x^{u+v}
so if TexMacs said to maxima we have boxed something that is a
substring from 2 to 5, then it would be trivial for maxima to
know it was ((mplus) $u $v).
are actually rather low. I just like the illusion of
doing something worthwhile. ;-)
It is hard to know what is worth while till it is done. Sometimes a
snazzy interface helps attract users, even if it is not as effective
as a simple one.
From [email protected] Mon May 14 10:59:41 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f4EFxfM06171
for <[email protected]>; Mon, 14 May 2001 10:59:41 -0500
Received: from intech19.enhanced.com (enhanced.ppp.eticomm.net [206.228.183.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id KAA13721
for <[email protected]>; Mon, 14 May 2001 10:59:39 -0500
Received: from camm by intech19.enhanced.com with local (Exim 3.12 #1 (Debian))
id 14zKk5-0002Sv-00; Mon, 14 May 2001 11:58:41 -0400
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: [Maxima] gmp config + propagating errors at top level compile
References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]>
From: Camm Maguire <[email protected]>
Date: 14 May 2001 11:58:41 -0400
In-Reply-To: William Schelter's message of "Fri, 11 May 2001 00:48:10 -0500"
Message-ID: <[email protected]>
Lines: 134
X-Mailer: Gnus v5.7/Emacs 20.7
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings, and thank you again for your thorough development and
maintenance of these programs!
William Schelter <[email protected]> writes:
> in the configure of gcl, I included
> (cd gmp ; ./configure --target=pentium) ;;
>
> I intended to include a line in the gcl/configure.in to make the
> configuration on any pentium, 686, pentiumpro, athlon etc use pentium
This is a fine solution as well. I just uploaded last week a package
configured as a '486'. Question: how much does maxima use the gmp
code? How significant is the tuning of this library on the typical
overall performance of maxima? Because it also appears as though the
shared lib approach will work. This wastes disk space (~ 300k in the
included gmp sublib!) but provides a more optimal binary across
subarchitectures, provides a seamless cpu upgrade path, as well as
support for nfs mounting /usr across a LAN, etc. I really don't know
how to evaluate the tradeoff.
> which I think should work for almost all machines now adays. This
> would hurt performance a bit, but at least let the same binary work on
> all. However, the '[' ']' got stripped in the making of configure
> from configure.in and the test regexp i5-986* |pentium* | ... which
> would not match lots, and so the default configure is used for those
> machines. Ie a more machine specific one. So you could just fix the
> above in the configure. I am still unsure what the best target to use
> would be.. On the machine I was running on I found that the
> distributed shared gmp.so was actually compiled incorrectly for my
> architecture, and so gave a segfault on certain gcl operations. That
That's alarming. Hope it wasn't a Debian box :-) If by chance it
was, please consider reporting it as a bug.
> is part of the reason I include the part of gmp we need, to make sure
> it is compiled correctly. Also I needed to include it to make some changes
> to functions to help the gc.
>
Yes this latter is especially important, AFAICT. You state that you
replace a malloc with a tmp-alloc in one of the mpn files. Does this
"help" gcl, or is it required to make it function correctly? Have you
by any chance had the opportunity to request the gmp authors to
consider including this change? Of course it would be cleaner if one
could avoid duplicating the gmp code/source, but a safe correct
functionality is of course the highest priority.
Can you foresee any problems compiling against an installed gmp
library version 2.0.2?
> case "${canonical}" in
> i[5-9]86* | pentium* | k6* | athlon*)
> (cd gmp ; ./configure --target=pentium) ;;
> *)
> (cd gmp ; ./configure) ;;
> esac
>
>
> ==================
> this is a message from gcc. Yes I probably dont have gcl return
> with a nonzero
>
> plot.c: In function `L84':
> plot.c:9924: virtual memory exhausted
> cpp: output pipe has been closed
>
> Yes it would appear that gcl was not propagating correctly the failure
> to compile due to gcc running out of space. I have fixed this in
> unixport/init_gcl.lsp: On a more practical note, if you run out of space
> like that you can remove the -pipe from the gcc flag, and it should
> use temp files, which will take less swap space.
>
Thanks for this! Actually, in general I have plenty of space -- I was
just abusing the box at the moment a wee too much :-)!
> (defun system::gcl-top-level (&aux tem)
> (si::set-up-top-level)
>
> (if (si::get-command-arg "-compile")
> (let ((*break-enable* nil) result)
> (setq result
> (system:error-set
> '(progn
> (compile-file
> (si::get-command-arg "-compile")
> :output-file
> (or (si::get-command-arg "-o")
> (si::get-command-arg "-compile"))
> :o-file
> (cond ((equalp
> (si::get-command-arg "-o-file")
> "nil") nil)
> ((si::get-command-arg "-o-file" t))
> (t t))
> :c-file (si::get-command-arg "-c-file" t)
> :h-file (si::get-command-arg "-h-file" t)
> :data-file (si::get-command-arg "-data-file" t)
> :system-p (si::get-command-arg "-system-p" t)))))
> (bye (if (or compiler::*error-p* (equal result '(nil))) 1 0))))
> (cond ((si::get-command-arg "-batch")
> (setq si::*top-level-hook* 'bye))
> ((si::get-command-arg "-f"))
> (t ;; if ANY header or license information is printed by the
> ;; program, then the following License and Enhancement notice
> ;; must be printed (see License).
> (format t "GCL (GNU Common Lisp) ~A~%~a~%~a~%" "DATE"
> "Licensed under GNU Library General Public License"
> "Contains Enhancements by W. Schelter")))
> (setq si::*ihs-top* 1)
> (in-package 'system::user) (incf system::*ihs-top* 2)
> (funcall system::*old-top-level*))
>
>
>
>
One final unrelated question -- do you know of any other applications
atop gcl? Right now, the maxima build includes a gcl sub-build as
part of the process. I'm considering reworking this to make a gcl-dev
package for Debian, and was wondering if there was any other code that
could benefit.
Take care,
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Mon May 14 13:52:46 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f4EIqkM14168
for <[email protected]>; Mon, 14 May 2001 13:52:46 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id NAA17322
for <[email protected]>; Mon, 14 May 2001 13:52:46 -0500
Received: (from wfs@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id NAA31125;
Mon, 14 May 2001 13:52:31 -0500
Date: Mon, 14 May 2001 13:52:31 -0500
Message-Id: <[email protected]>
Reply-to: [email protected]
From: William Schelter <[email protected]>
To: [email protected]
CC: [email protected], [email protected], [email protected]
In-reply-to: <[email protected]> (message from Camm Maguire
on 14 May 2001 11:58:41 -0400)
Subject: Re: [Maxima] gmp config + propagating errors at top level compile
Reply-to: [email protected]
References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]>
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Yes this latter is especially important, AFAICT. You state that you
replace a malloc with a tmp-alloc in one of the mpn files. Does this
"help" gcl, or is it required to make it function correctly? Have you
by any chance had the opportunity to request the gmp authors to
I am afraid that change is necessary at least for the current
implementation in GCL. Basically it is so we can use the strategy
for garbage collection. I will try to convince the gmp
authors to make the change. Also I would like to use a relocatable space
strategy for the bignums, but that will require some more minor changes
to gmp. I think I have almost made them, but there is at least one
that is illuding me. [ (si::SET-GMP-ALLOCATE-RELOCATABLE t) will switch
to relocatable, but some random bugs will appear if you compute a lot!]
The changes I am making are ones that could be included in the
distribution. But I think for the present we are safer in having a
copy of the gmp in gcl, especially since some users might not have gmp
on their system, and the number of functions we need from gmp is not
so huge.
I think for something like the debian distribution, your doing the
486 distribution is a fine. If someone is doing a lot of computations
involving bignums, he can recompile gcl/maxima himself for his machine.
From [email protected] Tue May 15 03:34:32 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f4F8YWM11124
for <[email protected]>; Tue, 15 May 2001 03:34:32 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id DAA02937
for <[email protected]>; Tue, 15 May 2001 03:34:32 -0500
Received: (from wfs@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id DAA07666;
Tue, 15 May 2001 03:34:32 -0500
Date: Tue, 15 May 2001 03:34:32 -0500
Message-Id: <[email protected]>
Reply-to: [email protected]
From: William Schelter <[email protected]>
To: [email protected]
cc: [email protected]
In-reply-to: <[email protected]>
([email protected])
Reply-to: [email protected]
References: <[email protected]>
Subject: [Maxima] Re: Maxima
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
[email protected] reports problem with redhat 7.0:
1. Yesterday, I tried to install Maxima 5.6. It seems that there were no
error messages during make (there were some warnings while making gcl
2.4.0), but many self-tests fail. Also, I get the same behaviour as
reported recently in sci.math.symbolic: integrate(x,x); yields
x^2*false^2/2, integrate(sin(x),x); produces division by zero. This is on
I believe this is related to the buggy gcc version 2.96 released with
redhat/cygnus. Basically it is badly broken on -O4 optimize and it is
hard to see how they could have released it. I have made some patches
to gcl's configure and to the compiler invocation code, to not use
-O4 when this compiler version is there. Please
I have patched the configure
in gcl to detect that buggy version. Note that maxima is now compiled
on -O4 by default, and the above configure patch and patch to the
compiler invocation in gcl, will shut off -O4 for this compiler.
Basically configure if it detects this compiler version should add
a #define BROKEN_O4_OPT, and the broken_o4_opt feature gets added
to the lisp, so that maxima will not get compiled with -O4.
So you should take the latest cvs/gcl or gcl daily snapshot to get
those changes if you are using redhat. I dont have a redhat system
here myself, so if someone could please check this out.
Thanks
william
From [email protected] Wed May 16 03:44:42 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f4G8igM18884
for <[email protected]>; Wed, 16 May 2001 03:44:42 -0500
Received: from matups.math.u-psud.fr (mathups.math.u-psud.fr [129.175.52.4])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id DAA31720
for <[email protected]>; Wed, 16 May 2001 03:44:41 -0500
Received: from orkay.math.u-psud.fr (orkay.math.u-psud.fr [129.175.50.2])
by matups.math.u-psud.fr (8.11.0/jtpda-5.3.3) with ESMTP id f4G8hrl29596
; Wed, 16 May 2001 10:43:53 +0200 (MEST)
Received: from anh (anh.math.u-psud.fr [129.175.50.156])
by orkay.math.u-psud.fr (8.9.1a/jtpda-5.3.1) with SMTP id KAA19315
; Wed, 16 May 2001 10:43:52 +0200 (MET DST)
Date: Wed, 16 May 2001 10:43:54 +0200 (MET DST)
From: Joris van der Hoeven <[email protected]>
To: Bill Schelter <[email protected]>
cc: [email protected], [email protected], [email protected],
[email protected], [email protected]
Subject: Re: [Maxima] While we're on the plot window...
In-Reply-To: <[email protected]>
Message-ID: <Pine.GSO.3.96.1010516102818.6358A-100000@anh>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
On Sun, 6 May 2001, Bill Schelter wrote:
> Mathematica ability of inputing things like integrals
> "graphically" (for lack of a better term.) Sorry, I
> guess I don't know how to express it more clearly. Or
> maybe I'm not thinking about maxima the correct way.
>
> You really maybe should take a look/try at TeXmacs.
> http://www.texmacs.org/
Thanks for your interest for the TeXmacs program.
> It lets you type in math in graphical form, but normally maxima input
> is in maxima form, just the output is tex like form. It actually
> uses mactex.lisp (fateman's file). The interface was done by
> [email protected]
It would also be possible to have the input in graphical form.
Would this be useful for you? What syntax would be preferrable
in that case?
> It does not yet allow interrupts, but I think that is a solvable
> problem, just as I do in netmath. You just have to listen for a
> signal or listen on a second channel. Maxima can say accept a signal
> and then do something, like stop the computation. Under windows I
> have a hack winkill.exe which lets me get around the lack of signals.
The best would be to have support for the standard unix signals.
TeXmacs uses SIGINT and SIGKILL.
Another current problem is how to handle multiple line input.
How can TeXmacs know whether maxima is waiting for more input
or whether maxima is computing some output?
> Also it needs something to associate to each part of the tex
> expression the maxima part which generated it. This should be
> simple, yet would let mousing a subexpression.
> This could be done on a second pass too: For example if
> the maxima side remembered the lisp form of the tex expression it
> sent, and then texmacs communicated back a certain string range
> of the tex expression, then mactex.lisp could make a second pass
> figuring out which subform caused the generation of the relevant
> region of the string.
> eg ((mplus) ((mexpt) $x ((mplus) $u $v))) ==> x^{u+v}
> so if TexMacs said to maxima we have boxed something that is a
> substring from 2 to 5, then it would be trivial for maxima to
> know it was ((mplus) $u $v).
I would rather be in favour of another mechanism
if this subexpression handling is really important,
although it may take a few months before I will implement it.
The idea would be that Maxima sends "labeled output" to TeXmacs:
each subexpression which you might want to select is given a label.
TeXmacs may send this label back when the expression is selected,
so that Maxima can reindentify the subexpression.
This mechanism has the great advantage of not complicating
the conversion algorithms (TeXmacs does NOT use LaTeX as its
intern format, so your LaTeX output is also being converted).
Furthermore, one might consider some more fancy add-ons,
like further expansion of the O() part of a power series if
you double click on it.
-Joris-
From [email protected] Wed May 16 10:01:43 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f4GF1hM02442
for <[email protected]>; Wed, 16 May 2001 10:01:43 -0500
Received: from relay.EECS.Berkeley.EDU (relay.EECS.Berkeley.EDU [169.229.34.228])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id KAA19144
for <[email protected]>; Wed, 16 May 2001 10:01:42 -0500
Received: from cs.berkeley.edu (as3-1-168.HIP.Berkeley.EDU [136.152.194.90])
by relay.EECS.Berkeley.EDU (8.9.3/8.9.3) with ESMTP id HAA28606;
Wed, 16 May 2001 07:58:32 -0700 (PDT)
Message-ID: <[email protected]>
Date: Wed, 16 May 2001 07:54:20 -0700
From: Richard Fateman <[email protected]>
Organization: computer science division, UC Berkeley
X-Mailer: Mozilla 4.73 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Joris van der Hoeven <[email protected]>
CC: Bill Schelter <[email protected]>, [email protected],
[email protected], [email protected], [email protected]
Subject: Re: [Maxima] While we're on the plot window...
References: <Pine.GSO.3.96.1010516102818.6358A-100000@anh>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
There are easy problems in typesetting, and hard ones.
The easy ones involve lines of conventional mathematics
that fit on one line.
a+b+c+d
The hard ones usually involve lines that must be
split over many lines, and in unusual ways.
a+b+c+d+e+f
+g+h+i+j+k
+l+m
- abcdefgh*
ijklmn/
(pqrst*
uvwx)
Does Texmacs do this? If not, it does not solve
the hard problem in the "conventional" way.
There are other (not as good) ways of dealing with
large expressions like scrolling horizontally
or forceably ripping the horizontal expression
somehow (this is inevitable in some sense, because
you can create single symbols that exceed a line
in length. e.g. 1000!.
)
There should be no problem in feeding labels to
Texmacs to identify what has been selected
functionally. If you want to point to a
part of the expression in the Maxima system
as opposed to constructing a new subexpression,
you have to have pointers into the actual
lisp. This could be done (for example) by
hash-coding all subexpressions, giving them
tags, and telling Texmacs what those tags are.
However, not everything that you display
exists in the lisp.
For example a/b is internally something like
(* a (expt b -1)) so there is no division.
a+b-c is (+ a b (* -1 c)) so there is
no "-", just a constant.
There is a program called FORMAT which is
used to make such changes prior to display.
If you pick things out of the result of
FORMAT, that is merely a temporary data object,
and not permanently stored. There are
commands PART and INPART in Maxima. INPART
works on the unformatted version, PART on
the formatted version.
If you do not want pointers back into the
existing lisp, but are happy re-creating
subexpressions, then there are neater solutions.
I'm not sure what is required though.
Joris van der Hoeven wrote:
>
> On Sun, 6 May 2001, Bill Schelter wrote:
>
> > Mathematica ability of inputing things like integrals
> > "graphically" (for lack of a better term.) Sorry, I
> > guess I don't know how to express it more clearly. Or
> > maybe I'm not thinking about maxima the correct way.
> >
> > You really maybe should take a look/try at TeXmacs.
> > http://www.texmacs.org/
>
> Thanks for your interest for the TeXmacs program.
>
> > It lets you type in math in graphical form, but normally maxima input
> > is in maxima form, just the output is tex like form. It actually
> > uses mactex.lisp (fateman's file). The interface was done by
> > [email protected]
>
> It would also be possible to have the input in graphical form.
> Would this be useful for you? What syntax would be preferrable
> in that case?
>
> > It does not yet allow interrupts, but I think that is a solvable
> > problem, just as I do in netmath. You just have to listen for a
> > signal or listen on a second channel. Maxima can say accept a signal
> > and then do something, like stop the computation. Under windows I
> > have a hack winkill.exe which lets me get around the lack of signals.
>
> The best would be to have support for the standard unix signals.
> TeXmacs uses SIGINT and SIGKILL.
>
> Another current problem is how to handle multiple line input.
> How can TeXmacs know whether maxima is waiting for more input
> or whether maxima is computing some output?
>
> > Also it needs something to associate to each part of the tex
> > expression the maxima part which generated it. This should be
> > simple, yet would let mousing a subexpression.
> > This could be done on a second pass too: For example if
> > the maxima side remembered the lisp form of the tex expression it
> > sent, and then texmacs communicated back a certain string range
> > of the tex expression, then mactex.lisp could make a second pass
> > figuring out which subform caused the generation of the relevant
> > region of the string.
> > eg ((mplus) ((mexpt) $x ((mplus) $u $v))) ==> x^{u+v}
> > so if TexMacs said to maxima we have boxed something that is a
> > substring from 2 to 5, then it would be trivial for maxima to
> > know it was ((mplus) $u $v).
>
> I would rather be in favour of another mechanism
> if this subexpression handling is really important,
> although it may take a few months before I will implement it.
>
> The idea would be that Maxima sends "labeled output" to TeXmacs:
> each subexpression which you might want to select is given a label.
> TeXmacs may send this label back when the expression is selected,
> so that Maxima can reindentify the subexpression.
>
> This mechanism has the great advantage of not complicating
> the conversion algorithms (TeXmacs does NOT use LaTeX as its
> intern format, so your LaTeX output is also being converted).
> Furthermore, one might consider some more fancy add-ons,
> like further expansion of the O() part of a power series if
> you double click on it.
>
> -Joris-
>
> _______________________________________________
> Maxima mailing list
> [email protected]
> http://www.math.utexas.edu/mailman/listinfo/maxima
From [email protected] Thu May 17 00:48:26 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f4H5mQM21922
for <[email protected]>; Thu, 17 May 2001 00:48:26 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id AAA11167
for <[email protected]>; Thu, 17 May 2001 00:48:26 -0500
Received: (from wfs@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id AAA04052;
Thu, 17 May 2001 00:48:11 -0500
Date: Thu, 17 May 2001 00:48:11 -0500
Message-Id: <[email protected]>
Reply-to: [email protected]
From: William Schelter <[email protected]>
To: [email protected]
CC: [email protected], [email protected], [email protected],
[email protected], [email protected]
In-reply-to: <Pine.GSO.3.96.1010516102818.6358A-100000@anh> (message from
Joris van der Hoeven on Wed, 16 May 2001 10:43:54 +0200 (MET DST))
Subject: Re: [Maxima] While we're on the plot window...
Reply-to: [email protected]
References: <Pine.GSO.3.96.1010516102818.6358A-100000@anh>
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
The idea would be that Maxima sends "labeled output" to TeXmacs:
each subexpression which you might want to select is given a label.
TeXmacs may send this label back when the expression is selected,
The problem I see with labeling input is one has no idea what the user
might select. He selects a form on the texmacs side with the mouse.
It might be terms 20-24 of a polynomial 100 terms long. Or that might
be in the numerator or exponent or matrix entry. As you parse it into
the internal TexMacs tree formula, you could just record as you start
a tree what character index you were at in the input string -- or else
perhaps better have a subsequent parse pass compute the range in case
the user moused some box ... In this latter method there is no extra
storage associated either on the maxima or texmacs side, just a cost
of running thru the display code a second time.
I once constructed something like texmacs where I did the display myself,
and this is what I did.
william
From [email protected] Thu May 17 02:32:38 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f4H7WcM26356
for <[email protected]>; Thu, 17 May 2001 02:32:38 -0500
Received: from matups.math.u-psud.fr (matups.math.u-psud.fr [129.175.50.4])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id CAA12645
for <[email protected]>; Thu, 17 May 2001 02:32:38 -0500
Received: from orkay.math.u-psud.fr (orkay.math.u-psud.fr [129.175.50.2])
by matups.math.u-psud.fr (8.11.0/jtpda-5.3.3) with ESMTP id f4H7Vwl07582
; Thu, 17 May 2001 09:31:58 +0200 (MEST)
Received: from anh (anh.math.u-psud.fr [129.175.50.156])
by orkay.math.u-psud.fr (8.9.1a/jtpda-5.3.1) with SMTP id JAA21299
; Thu, 17 May 2001 09:31:56 +0200 (MET DST)
Date: Thu, 17 May 2001 09:31:59 +0200 (MET DST)
From: Joris van der Hoeven <[email protected]>
To: [email protected]
cc: [email protected], [email protected], [email protected],
[email protected], [email protected], [email protected]
Subject: Re: [Maxima] While we're on the plot window...
In-Reply-To: <[email protected]>
Message-ID: <Pine.GSO.3.96.1010517092709.10081B-100000@anh>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
On Thu, 17 May 2001, William Schelter wrote:
>
>
> The idea would be that Maxima sends "labeled output" to TeXmacs:
> each subexpression which you might want to select is given a label.
> TeXmacs may send this label back when the expression is selected,
>
> The problem I see with labeling input is one has no idea what the user
> might select. He selects a form on the texmacs side with the mouse.
> It might be terms 20-24 of a polynomial 100 terms long. Or that might
> be in the numerator or exponent or matrix entry. As you parse it into
> the internal TexMacs tree formula, you could just record as you start
> a tree what character index you were at in the input string -- or else
> perhaps better have a subsequent parse pass compute the range in case
> the user moused some box ... In this latter method there is no extra
> storage associated either on the maxima or texmacs side, just a cost
> of running thru the display code a second time.
>
> I once constructed something like texmacs where I did the display myself,
> and this is what I did.
Once again, the problem is that there is not just one parsing algorithm
involved : you have at least three parsing algorithms followed by several
tree rewriting passes in order to upgrade to the current TeXmacs version.
It would be very difficult in this stage to associate string locations to
each cursor position.
On the other hand, what you say is not necessarily a problem and
we may inspire ourselves by the way XML handles portions of a document.
In order to specify an entry of a matrix, we might use
something like [Label matrix]/[x,y-position], for a range of terms
[Label polynomial]/[start position]-[end position].
Joris
From [email protected] Thu May 17 02:39:26 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f4H7dQM26644
for <[email protected]>; Thu, 17 May 2001 02:39:26 -0500
Received: from iszf.irk.ru (istp.irk.ru [195.206.51.189] (may be forged))
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id CAA12737
for <[email protected]>; Thu, 17 May 2001 02:39:24 -0500
Received: from Sol225.iszf.irk.ru ([10.0.0.80])
by iszf.irk.ru (8.11.3/8.11.3) with ESMTP id f4H7aRE23138;
Thu, 17 May 2001 16:36:27 +0900
Received: by Sol225.iszf.irk.ru (Postfix, from userid 501)
id E01782C735; Thu, 17 May 2001 16:35:07 +0900 (IRKST)
Date: Thu, 17 May 2001 16:35:07 +0900
From: Valerij Pipin <[email protected]>
To: [email protected]
Cc: [email protected]
Message-ID: <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Subject: [Maxima] maxima&gcc-2.96
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
You wrote:
> [email protected] reports problem with redhat 7.0:
>
> 1. Yesterday, I tried to install Maxima 5.6. It seems that there were no
> error messages during make (there were some warnings while making gcl
> 2.4.0), but many self-tests fail. Also, I get the same behaviour as
> reported recently in sci.math.symbolic: integrate(x,x); yields
> x^2*false^2/2, integrate(sin(x),x); produces division by zero. This is on
>
> I believe this is related to the buggy gcc version 2.96 released with
> redhat/cygnus. Basically it is badly broken on -O4 optimize and it is
> hard to see how they could have released it. I have made some patches
> to gcl's configure and to the compiler invocation code, to not use
> -O4 when this compiler version is there. Please
Indeed, this is true. I tried to compile gcl-2.4.0 & maxima-5.6 on
my AltLinux Spring 2001(this is the Russian edition of Mandrake 7.2).
This distribution has gcc-2.96. So, I had problem with rtest(3,5,6,13,14).mac's.
Then, I replaced the link gcc to gcc-2.95.3 and recompiled gcl and maxima.
There were no problems with tests and with things like integrate(x,x) as well, after this.
rgds, valerij.
From [email protected] Thu May 17 10:42:02 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f4HFg2M16337
for <[email protected]>; Thu, 17 May 2001 10:42:02 -0500
Received: from intech19.enhanced.com (enhanced.ppp.eticomm.net [206.228.183.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id KAA22007
for <[email protected]>; Thu, 17 May 2001 10:41:51 -0500
Received: from camm by intech19.enhanced.com with local (Exim 3.12 #1 (Debian))
id 150PtA-0002uF-00; Thu, 17 May 2001 11:40:32 -0400
To: Joris van der Hoeven <[email protected]>
Cc: [email protected], [email protected], [email protected],
[email protected], [email protected], [email protected]
Subject: Re: [Maxima] While we're on the plot window...
References: <Pine.GSO.3.96.1010517092709.10081B-100000@anh>
From: Camm Maguire <[email protected]>
Date: 17 May 2001 11:40:32 -0400
In-Reply-To: Joris van der Hoeven's message of "Thu, 17 May 2001 09:31:59 +0200 (MET DST)"
Message-ID: <[email protected]>
Lines: 54
X-Mailer: Gnus v5.7/Emacs 20.7
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings! Has anyone a sample interface running between maxima and
texmacs?
Take care,
Joris van der Hoeven <[email protected]> writes:
> On Thu, 17 May 2001, William Schelter wrote:
>
> >
> >
> > The idea would be that Maxima sends "labeled output" to TeXmacs:
> > each subexpression which you might want to select is given a label.
> > TeXmacs may send this label back when the expression is selected,
> >
> > The problem I see with labeling input is one has no idea what the user
> > might select. He selects a form on the texmacs side with the mouse.
> > It might be terms 20-24 of a polynomial 100 terms long. Or that might
> > be in the numerator or exponent or matrix entry. As you parse it into
> > the internal TexMacs tree formula, you could just record as you start
> > a tree what character index you were at in the input string -- or else
> > perhaps better have a subsequent parse pass compute the range in case
> > the user moused some box ... In this latter method there is no extra
> > storage associated either on the maxima or texmacs side, just a cost
> > of running thru the display code a second time.
> >
> > I once constructed something like texmacs where I did the display myself,
> > and this is what I did.
>
> Once again, the problem is that there is not just one parsing algorithm
> involved : you have at least three parsing algorithms followed by several
> tree rewriting passes in order to upgrade to the current TeXmacs version.
> It would be very difficult in this stage to associate string locations to
> each cursor position.
>
> On the other hand, what you say is not necessarily a problem and
> we may inspire ourselves by the way XML handles portions of a document.
> In order to specify an entry of a matrix, we might use
> something like [Label matrix]/[x,y-position], for a range of terms
> [Label polynomial]/[start position]-[end position].
>
> Joris
>
> _______________________________________________
> Maxima mailing list
> [email protected]
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
>
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Thu May 17 11:03:42 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f4HG3gM17351
for <[email protected]>; Thu, 17 May 2001 11:03:42 -0500
Received: from relay.EECS.Berkeley.EDU (relay.EECS.Berkeley.EDU [169.229.34.228])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id LAA22423
for <[email protected]>; Thu, 17 May 2001 11:03:41 -0500
Received: from cs.berkeley.edu (windsome.CS.Berkeley.EDU [128.32.131.134])
by relay.EECS.Berkeley.EDU (8.9.3/8.9.3) with ESMTP id JAA19806;
Thu, 17 May 2001 09:03:36 -0700 (PDT)
Message-ID: <[email protected]>
Date: Thu, 17 May 2001 09:03:35 -0700
From: Richard Fateman <[email protected]>
Organization: University of California, Berkeley
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Joris van der Hoeven <[email protected]>
CC: [email protected], [email protected], [email protected],
[email protected], [email protected]
Subject: Re: [Maxima] While we're on the plot window...
References: <Pine.GSO.3.96.1010517092709.10081B-100000@anh>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
My overview of an implementation is this:
Maxima computes a result. a/b. Internally this is
((mtimes simp) $a ((mexpt simp) $b -1)). Let's abbreviate this
to
(* a (^ b -1))
The formatting program changes this to
(quotient a b) and the display program (DISPLA) prints it
as
A
---
B
I do not know much about Texmacs, but perhaps one could work at
this...
after running through format, and then through mactex, we get
something like
{a \over b} or maybe \frac... [I don't really care]
The new version would be
(\tag 1 {\tag 2 {\frac {\tag 3 a} {\tag 4 b}}}}
where internal to maxima we have a hash table that has, for every
expression sent to the front end, an index into the formatted (not
the internal) form. That is, hashing
(1 2 3) or maybe just 3
would be a pointer to the location of the "a" in expression
1.
(1 2) or just 2 would be the whole fraction.
calling the simplifier on the formatted form produces a simplified
internal form. It is not the same tree as we started with, but should
be pretty close.
Anyway, selecting terms 20 to 24 of a 100 term polynomials would
(I guess) require communicating 2 or more index sets to the back end,
where the pieces would be assembled.
On the Texmacs side, you would have to strip off the tags and save
the index numbers, and support pointing/selection. This is now
supported by commercial macsyma and mathematica, as well as the
very nice interactive systems http://www.livemath.com/
by Allan Bonadio.
( In fact, a nice solution to the user interface
but not free) would be to take Bonadio's
system and attach Maxima to it. You should in any case
take a long look at Bonadio's design!)
RJF
Joris van der Hoeven wrote:
>
> On Thu, 17 May 2001, William Schelter wrote:
>
> >
> >
> > The idea would be that Maxima sends "labeled output" to TeXmacs:
> > each subexpression which you might want to select is given a label.
> > TeXmacs may send this label back when the expression is selected,
> >
> > The problem I see with labeling input is one has no idea what the user
> > might select. He selects a form on the texmacs side with the mouse.
> > It might be terms 20-24 of a polynomial 100 terms long. Or that might
> > be in the numerator or exponent or matrix entry. As you parse it into
> > the internal TexMacs tree formula, you could just record as you start
> > a tree what character index you were at in the input string -- or else
> > perhaps better have a subsequent parse pass compute the range in case
> > the user moused some box ... In this latter method there is no extra
> > storage associated either on the maxima or texmacs side, just a cost
> > of running thru the display code a second time.
> >
> > I once constructed something like texmacs where I did the display myself,
> > and this is what I did.
>
> Once again, the problem is that there is not just one parsing algorithm
> involved : you have at least three parsing algorithms followed by several
> tree rewriting passes in order to upgrade to the current TeXmacs version.
> It would be very difficult in this stage to associate string locations to
> each cursor position.
>
> On the other hand, what you say is not necessarily a problem and
> we may inspire ourselves by the way XML handles portions of a document.
> In order to specify an entry of a matrix, we might use
> something like [Label matrix]/[x,y-position], for a range of terms
> [Label polynomial]/[start position]-[end position].
>
> Joris
>
> _______________________________________________
> Maxima mailing list
> [email protected]
> http://www.math.utexas.edu/mailman/listinfo/maxima
From [email protected] Thu May 17 11:26:06 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f4HGQ6M18366
for <[email protected]>; Thu, 17 May 2001 11:26:06 -0500
Received: from matups.math.u-psud.fr (mathups.math.u-psud.fr [129.175.52.4])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id LAA23220
for <[email protected]>; Thu, 17 May 2001 11:26:05 -0500
Received: from orkay.math.u-psud.fr (orkay.math.u-psud.fr [129.175.50.2])
by matups.math.u-psud.fr (8.11.0/jtpda-5.3.3) with ESMTP id f4HGORl13151
; Thu, 17 May 2001 18:24:27 +0200 (MEST)
Received: from anh (anh.math.u-psud.fr [129.175.50.156])
by orkay.math.u-psud.fr (8.9.1a/jtpda-5.3.1) with SMTP id SAA23298
; Thu, 17 May 2001 18:24:26 +0200 (MET DST)
Date: Thu, 17 May 2001 18:24:29 +0200 (MET DST)
From: Joris van der Hoeven <[email protected]>
To: Richard Fateman <[email protected]>
cc: Joris van der Hoeven <[email protected]>, [email protected],
[email protected], [email protected], [email protected],
[email protected]
Subject: Re: [Maxima] While we're on the plot window...
In-Reply-To: <[email protected]>
Message-ID: <Pine.GSO.3.96.1010517180842.12099A-100000@anh>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
> something like
> {a \over b} or maybe \frac... [I don't really care]
>
> The new version would be
> (\tag 1 {\tag 2 {\frac {\tag 3 a} {\tag 4 b}}}}
Yes, this is what I meant.
> where internal to maxima we have a hash table that has, for every
> expression sent to the front end, an index into the formatted (not
> the internal) form. That is, hashing
> (1 2 3) or maybe just 3
> would be a pointer to the location of the "a" in expression
> 1.
> (1 2) or just 2 would be the whole fraction.
Right.
> calling the simplifier on the formatted form produces a simplified
> internal form. It is not the same tree as we started with, but should
> be pretty close.
>
> Anyway, selecting terms 20 to 24 of a 100 term polynomials would
> (I guess) require communicating 2 or more index sets to the back end,
> where the pieces would be assembled.
I can do this. But we might do more later, by communicating something like
an XML-like-subdocument, whatever the use of such a facility might be...
> On the Texmacs side, you would have to strip off the tags and save
> the index numbers, and support pointing/selection.
On the TeXmacs side, I would have a typesetting construct "tag",
which takes two arguments : an invisible label, and the tagged expression.
Whenever you select an expression, I might return all corresponding tag
information. For other purposes, the tags might be stripped.
> This is now
> supported by commercial macsyma and mathematica, as well as the
> very nice interactive systems http://www.livemath.com/
> by Allan Bonadio.
No problem, this can be implemented in a few hours inside TeXmacs.
> ( In fact, a nice solution to the user interface
> but not free) would be to take Bonadio's
> system and attach Maxima to it. You should in any case
> take a long look at Bonadio's design!)
I'll take a look when I have time. Anyway, I do have lots of ideas waiting
to be implemented, so time is more a problem as ideas...
What is interesting about TeXmacs, is that many computer algebra systems
have already been linked (up to 8 at this moment), so the comments by
different people might lead to a free greatest-common-useful interface.
Don't forget that TeXmacs il *also* an extensible typesetting system :
you may directly incorporate your computations in TeXmacs articles.
Finally, TeXmacs will become a WEB-authoring tool, as soon as the
converters with Html/Mathml/Xml are ready...
Yours,
Joris
From [email protected] Tue May 22 16:39:42 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f4MLdgM08384
for <[email protected]>; Tue, 22 May 2001 16:39:42 -0500
Received: from web13808.mail.yahoo.com (web13808.mail.yahoo.com [216.136.175.18])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with SMTP id QAA28921
for <[email protected]>; Tue, 22 May 2001 16:39:42 -0500
Message-ID: <[email protected]>
Received: from [192.187.140.129] by web13808.mail.yahoo.com; Tue, 22 May 2001 14:39:39 PDT
Date: Tue, 22 May 2001 14:39:39 -0700 (PDT)
From: martin cohen <[email protected]>
To: [email protected]
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: [Maxima] Linear programming using maxima
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I need to solve a linear programming problem
with symbolic coefficients. I found the
"kach" program in the maxima distribution,
but there is no demo file.
Is there a demo file for it, or are there any
other linear programm solvers out there?
Martin Cohen
=====
Marty Cohen
[email protected]
[email protected]
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
From [email protected] Tue May 22 17:06:09 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f4MM69M09416
for <[email protected]>; Tue, 22 May 2001 17:06:09 -0500
Received: from relay.EECS.Berkeley.EDU (relay.EECS.Berkeley.EDU [169.229.34.228])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id RAA30373
for <[email protected]>; Tue, 22 May 2001 17:06:09 -0500
Received: from cs.berkeley.edu (windsome.CS.Berkeley.EDU [128.32.131.134])
by relay.EECS.Berkeley.EDU (8.9.3/8.9.3) with ESMTP id PAA01551;
Tue, 22 May 2001 15:06:06 -0700 (PDT)
Message-ID: <[email protected]>
Date: Tue, 22 May 2001 15:06:06 -0700
From: Richard Fateman <[email protected]>
Organization: University of California, Berkeley
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: martin cohen <[email protected]>
CC: [email protected]
Subject: Re: [Maxima] Linear programming using maxima
References: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
The Kachian algorithm was programming by Paul Wang
who is now at Kent State University. I hope your
problem is very small.
RJF
martin cohen wrote:
>
> I need to solve a linear programming problem
> with symbolic coefficients. I found the
> "kach" program in the maxima distribution,
> but there is no demo file.
>
> Is there a demo file for it, or are there any
> other linear programm solvers out there?
>
> Martin Cohen
>
> =====
> Marty Cohen
> [email protected]
> [email protected]
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
> _______________________________________________
> Maxima mailing list
> [email protected]
> http://www.math.utexas.edu/mailman/listinfo/maxima
From [email protected] Wed May 23 16:58:28 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f4NLwSM32135
for <[email protected]>; Wed, 23 May 2001 16:58:28 -0500
Received: from mailhost.nmt.edu (mailhost.nmt.edu [129.138.4.52])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id QAA09168
for <[email protected]>; Wed, 23 May 2001 16:58:27 -0500
Received: from rainbow.nmt.edu (rainbow [129.138.4.218])
by mailhost.nmt.edu (8.11.3/8.11.3) with ESMTP id f4NLwRx06536
for <[email protected]>; Wed, 23 May 2001 15:58:27 -0600
Received: (from borchers@localhost)
by rainbow.nmt.edu (8.10.0/8.11.3) id f4NLwQs12869
for [email protected]; Wed, 23 May 2001 15:58:26 -0600 (MDT)
Date: Wed, 23 May 2001 15:58:26 -0600 (MDT)
From: Brian Borchers <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
Subject: [Maxima] Re: Maxima digest, Vol 1 #37 - 2 msgs
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Kachian's algorithm is an algorithm that produces a numerical approximation
to an optimal solution to an LP. The LP would have to be expressed with
numerical coefficients.
I'm not aware of any general purpose algorithm for solving an LP with
symbolic coefficients. However, if the coefficients are rational numbers,
then it is possible to get an exact rational answer using the simplex
algorithm. This is implemented for example in Maple V.
There are also "sensitivity analysis" techniques for analyzing the optimal
solution to an LP to determine for what range of coefficients the solution
would remain optimal. It's possible that such techniques would be useful
here.
- Brian
Brian Borchers [email protected]
Department of Mathematics http://www.nmt.edu/~borchers/
New Mexico Tech Phone: 505-835-5813
Socorro, NM 87801 FAX: 505-835-5366
From [email protected] Wed May 23 23:08:31 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f4O48VM10548
for <[email protected]>; Wed, 23 May 2001 23:08:31 -0500
Received: from stan.ourservers.net (stan.ourservers.net [216.233.120.228])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA17279
for <[email protected]>; Wed, 23 May 2001 23:08:30 -0500
Received: by mail.ourservers.net (MX V5.2 AXP) id 2;
Wed, 23 May 2001 23:08:28 -0500
Date: Wed, 23 May 2001 23:08:27 -0500
From: Robert Alan Byer <[email protected]>
To: [email protected]
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="iso-8859-1"
Subject: [Maxima] Question: Maxima For OpenVMS Alpha Anyone?
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
-----BEGIN PGP SIGNED MESSAGE-----
Anyone know if anyone has gotten Maxima to run on an OpenVMS Alpha platform?
I know that there used to be a OpenVMS VAX version of Macsyma so I'm
wondering if anyone has worked with Maxima.
(I loved Macsyma, used to bring many a university VAX to a crawl with large
plots. So I was happy to see Maxima :})
If not, I think I could probably give a shot at porting it, that is, if I
can find a Lisp system for OpenVMS :}
Thanks for the great work on Maxima, I love it.
+------------------+--------------------------+---------------+
| Robert Alan Byer | [email protected] | ICQ #65926579 |
+------------------+--------------------------+---------------+
| Send an E-mail request to obtain a copy of my PGP key. |
+-------------------------------------------------------------+
| "It is by caffeine alone I set my mind in motion. It is by |
| cans of cola the thoughts aquire speed, the hands aquire |
| shakes, the shakes become a warning. It is by caffeine |
| alone I set my mind in motion." |
+-------------------------------------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv
iQEVAwUBOwyJNqVSqzlBVJbBAQGLuAf/YLCTsrGbFTDvV1YXbCniDq2mDurdCfv9
dyqB2Rx9u1YTN5qzDcWyeN9pT3Tnjoy7BTLXo3XbRAen1lo77/HUJxMX31uXOtu5
zlle7nn38usgejqgdd1nvgCaxwDAYkfJA0SefUSLexRH/v+OcniN3wIPU2qf8lsI
PzcNLMI3it+l4Bgj5hH/Q15IzIUi8EN18q8x4tOELSgCFUUBzEq/jXaHmEHbRTgl
jciByJBRWwmcYFhPp6KlLgKglNmBIddTKM3I8VUPQdQaB7vVr74BgbWYUtmVPRDm
tDlbgXt5dHKOxlXrpAL+/1LrQdGZm/HVN05sm/KLBYL9fB3QIHeQkQ==
=7D5i
-----END PGP SIGNATURE-----
From [email protected] Thu May 24 09:17:19 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f4OEHJM31621
for <[email protected]>; Thu, 24 May 2001 09:17:19 -0500
Received: from intech19.enhanced.com (enhanced.ppp.eticomm.net [206.228.183.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id JAA07438
for <[email protected]>; Thu, 24 May 2001 09:17:17 -0500
Received: from camm by intech19.enhanced.com with local (Exim 3.12 #1 (Debian))
id 152vv8-000195-00; Thu, 24 May 2001 10:16:58 -0400
To: Robert Alan Byer <[email protected]>
Cc: [email protected]
Subject: Re: [Maxima] Question: Maxima For OpenVMS Alpha Anyone?
References: <[email protected]>
From: Camm Maguire <[email protected]>
Date: 24 May 2001 10:16:58 -0400
In-Reply-To: Robert Alan Byer's message of "Wed, 23 May 2001 23:08:27 -0500"
Message-ID: <[email protected]>
Lines: 67
X-Mailer: Gnus v5.7/Emacs 20.7
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings! I know of no such port, but would encourage your efforts
here. Unless you intend to use an existing lisp on this platform, the
real job will be in porting gcl, after which compiling maxima should
be straightforward. In principle, one need only supply a <arch>.defs
and <arch>.h file in gcl-2.4.0/h/, and make sure that configure
selects this arch. In practice, I've found getting a correct set of
definitions in these files a bit challenging, and really requiring more
time than I have. If you do succeed, please post your changes here --
I'd wager they'd be close to the modifications necessary to get a
compile on a Debian Linux Alpha.
Take care,
Robert Alan Byer <[email protected]> writes:
> -----BEGIN PGP SIGNED MESSAGE-----
>
>
> Anyone know if anyone has gotten Maxima to run on an OpenVMS Alpha platform?
>
> I know that there used to be a OpenVMS VAX version of Macsyma so I'm
> wondering if anyone has worked with Maxima.
>
> (I loved Macsyma, used to bring many a university VAX to a crawl with large
> plots. So I was happy to see Maxima :})
>
> If not, I think I could probably give a shot at porting it, that is, if I
> can find a Lisp system for OpenVMS :}
>
> Thanks for the great work on Maxima, I love it.
>
>
> +------------------+--------------------------+---------------+
> | Robert Alan Byer | [email protected] | ICQ #65926579 |
> +------------------+--------------------------+---------------+
> | Send an E-mail request to obtain a copy of my PGP key. |
> +-------------------------------------------------------------+
> | "It is by caffeine alone I set my mind in motion. It is by |
> | cans of cola the thoughts aquire speed, the hands aquire |
> | shakes, the shakes become a warning. It is by caffeine |
> | alone I set my mind in motion." |
> +-------------------------------------------------------------+
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: 2.6.3ia
> Charset: noconv
>
> iQEVAwUBOwyJNqVSqzlBVJbBAQGLuAf/YLCTsrGbFTDvV1YXbCniDq2mDurdCfv9
> dyqB2Rx9u1YTN5qzDcWyeN9pT3Tnjoy7BTLXo3XbRAen1lo77/HUJxMX31uXOtu5
> zlle7nn38usgejqgdd1nvgCaxwDAYkfJA0SefUSLexRH/v+OcniN3wIPU2qf8lsI
> PzcNLMI3it+l4Bgj5hH/Q15IzIUi8EN18q8x4tOELSgCFUUBzEq/jXaHmEHbRTgl
> jciByJBRWwmcYFhPp6KlLgKglNmBIddTKM3I8VUPQdQaB7vVr74BgbWYUtmVPRDm
> tDlbgXt5dHKOxlXrpAL+/1LrQdGZm/HVN05sm/KLBYL9fB3QIHeQkQ==
> =7D5i
> -----END PGP SIGNATURE-----
> _______________________________________________
> Maxima mailing list
> [email protected]
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
>
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Tue May 29 11:06:41 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f4TG6fM00818
for <[email protected]>; Tue, 29 May 2001 11:06:41 -0500
Received: from UNKmail.unk.edu (UNKmail.UNK.edu [144.216.2.9])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id LAA29244
for <[email protected]>; Tue, 29 May 2001 11:06:40 -0500
From: [email protected]
To: [email protected]
Date: Tue, 29 May 2001 11:04:55 -0500
Message-ID: <[email protected]>
X-MIMETrack: Serialize by Router on UNKmail.unk.edu/Servers/UNEBR(Release 5.0.6a |January
17, 2001) at 05/29/2001 11:04:56 AM
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Subject: [Maxima] mixing Lisp and Maxima
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Is it possible to mix Lisp and Maxima code in the same file and have Maxima
load, translate, and compile the file? I haven't been able to do this
with a simple
example:
-----start of file---------
f(x) := block([ ], x + 1);
(defun $g (x)
(add* x 1)
)
------end of file
Barton Willis
From [email protected] Tue May 29 13:40:49 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f4TIenM06810
for <[email protected]>; Tue, 29 May 2001 13:40:49 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id NAA32276
for <[email protected]>; Tue, 29 May 2001 13:40:49 -0500
Received: (from wfs@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id NAA02562;
Tue, 29 May 2001 13:40:48 -0500
Date: Tue, 29 May 2001 13:40:48 -0500
Message-Id: <[email protected]>
Reply-to: [email protected]
From: William Schelter <[email protected]>
To: [email protected]
CC: [email protected]
In-reply-to: <[email protected]>
([email protected])
Reply-to: [email protected]
References: <[email protected]>
Subject: [Maxima] mixing Lisp and Maxima
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Is it possible to mix Lisp and Maxima code in the same file and
have Maxima load, translate, and compile the file? I haven't been
able to do this
Here are simple examples with one lisp form and one maxima form, but
there can of course be many such forms in the file:
The following is lisp file can be loaded with load("foo.lisp");
=======foo.lisp=================
(in-package "MAXIMA")
(defun $joe (x) (+ x 1))
#$f(n):=block([ans:0],
for j:1 thru n do ans:ans+x^j,
ans)$
==============end foo.lisp=======
and you will be able to do
(C1) load("foo.lisp")$
(C2) joe(5);
(D2) 6
(C3) f(3);
(D3) x^3+x^2+x
The above file however will not compile, and the maxima function
f still acts as a regular maxima function. In order to translate
it to lisp so that the compiler can act on it do the following:
(C1) load("help.lisp"); /* see this file below */
(C2) :lisp (compile-file "foo.lisp")
(C2) load("foo.o");
=======foo1.lisp=================
(in-package "MAXIMA")
(defun $joe (x) (+ x 1))
(tr #$$f(n):=block([ans:0],
for j:1 thru n do ans:ans+x^j,
ans)$ )
========end foo1.lisp============
The helper macro 'tr' is defined in help.lisp (note
we also have to define send, since it is used by the double $$
sharp reader macro we use in the above. We will add that
function to maxima in the next release.
=========help.lisp========================================
(in-package "MAXIMA")
;; some patches to let the above mixed lisp and maxima work ok.
(defun send (a b) (if (eql b :tyi) (tyi a) (error "unknown send")))
(defmacro tr (u)
(and (consp u) (eq (car u) 'quote)
(BIND-TRANSL-STATE (translate-macexpr-toplevel (second u)))))
===========================================================
Please note that the translation from maxima to lisp is not guaranteed
to keep all the 'features' of the maxima language. If you are having
a problem with speed of your maxima level code, certainly you can
try translating and compiling it. You can also write critical portions
of your code directly in lisp which will almost certainly produce faster
code.
william schelter
From [email protected] Wed May 30 19:13:41 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f4V0DfM18385
for <[email protected]>; Wed, 30 May 2001 19:13:41 -0500
Received: from intech19.enhanced.com (enhanced.ppp.eticomm.net [206.228.183.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id TAA12810
for <[email protected]>; Wed, 30 May 2001 19:13:38 -0500
Received: from camm by intech19.enhanced.com with local (Exim 3.12 #1 (Debian))
id 155G5a-0000tG-00; Wed, 30 May 2001 20:13:22 -0400
To: [email protected]
Cc: [email protected]
From: Camm Maguire <[email protected]>
Date: 30 May 2001 20:13:22 -0400
In-Reply-To: William Schelter's message of "Tue, 29 May 2001 13:40:48 -0500"
Message-ID: <[email protected]>
Lines: 10
X-Mailer: Gnus v5.7/Emacs 20.7
Subject: [Maxima] xmaxima shutdown
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings! Has anyone fixed the xmaxima shutdown problem discussed
here a while ago? Just as a reminder, shutting down xmaxima from the
menus leaves a saved_maxima process taking up 100% cpu.
Take care,
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Wed May 30 23:38:17 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f4V4cGM25775
for <[email protected]>; Wed, 30 May 2001 23:38:16 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA18081
for <[email protected]>; Wed, 30 May 2001 23:38:16 -0500
Received: (from wfs@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA26545;
Wed, 30 May 2001 23:38:08 -0500
Date: Wed, 30 May 2001 23:38:08 -0500
Message-Id: <[email protected]>
Reply-to: [email protected]
From: William Schelter <[email protected]>
To: [email protected]
CC: [email protected]
In-reply-to: <[email protected]> (message from Camm
Maguire on 30 May 2001 20:13:22 -0400)
Subject: Re: [Maxima] xmaxima shutdown
Reply-to: [email protected]
References: <[email protected]>
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I am putting a fix in the cvs directory
http://cvs.math.utexas.edu/cgi-bin/cvsweb.cgi?cvsroot=maxima
See bin/xmaxima
If you get a new xmaxima then it should work correctly if either the
window manager shuts it down with a 'delete' or if you use either of
the 'exit' menus on xmaxima. Note I believe the MS windows version was
correct, and this got broken in making the windows version ...
william
ps: However if you just destroy the xmaxima or kill it with a
signal, then the maxima process is still left running and needs to be killed
with a signal. I should fix that too .. but later.
From [email protected] Thu May 31 14:08:58 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f4VJ8wM30044
for <[email protected]>; Thu, 31 May 2001 14:08:58 -0500
Received: from s-inf-pc24.oulu.fi (IDENT:[email protected] [130.231.50.154])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id OAA04354
for <[email protected]>; Thu, 31 May 2001 14:08:57 -0500
Received: from localhost (tuukkat@localhost)
by s-inf-pc24.oulu.fi (8.9.3/8.9.3) with ESMTP id WAA25500
for <[email protected]>; Thu, 31 May 2001 22:08:31 +0300
Date: Thu, 31 May 2001 22:08:30 +0300 (EEST)
From: Tuukka Toivonen <[email protected]>
To: [email protected]
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Subject: [Maxima] solving diophantine equations
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I need to use extended euclidean algorithm to solve some diophantine
equations. I'd like to use free software for this, but unfortunately I
can't find a corresponding routine in either Maxima or Pari/GP.
In maple there is the function gcdex, when given polynomials a(x) and
b(x), it finds c and d such that
c*a(x) + d*b(x) = 1
For example, if a(x)=x^16+1 and b(x)=x^16-1, then c=1/2 and d=-1/2 because
16 16
x + 1 x - 1
------- - ------- = 1
2 2
Have I missed something, or can't Maxima (nor Pari!) really do this?
Another thing that bugs my slightly is that Maxima uses only 80 columns to
display even if I'd have much more.
From [email protected] Thu May 31 15:11:25 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f4VKBPM32603
for <[email protected]>; Thu, 31 May 2001 15:11:25 -0500
Received: from relay.EECS.Berkeley.EDU (relay.EECS.Berkeley.EDU [169.229.34.228])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id PAA05572
for <[email protected]>; Thu, 31 May 2001 15:11:24 -0500
Received: from cs.berkeley.edu (windsome.CS.Berkeley.EDU [128.32.131.134])
by relay.EECS.Berkeley.EDU (8.9.3/8.9.3) with ESMTP id NAA27437;
Thu, 31 May 2001 13:11:20 -0700 (PDT)
Message-ID: <[email protected]>
Date: Thu, 31 May 2001 13:11:20 -0700
From: Richard Fateman <[email protected]>
Organization: University of California, Berkeley
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Tuukka Toivonen <[email protected]>
CC: [email protected]
Subject: Re: [Maxima] solving diophantine equations
References: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Oddly enough, the user level of Maxima seems not to
have an implementation of the extended Euclidean algorithm.
(Macsyma has one: extgcd).
It takes about 6 lines of code to write it.
What makes it odd is that Maxima uses this code internally
in many places. It has to be set up right, with a main variable,
which may make it tricky to do in some robust user-friendly way.
To change the line length to, say, 100, type linel:100$
RJF
Tuukka Toivonen wrote:
>
> I need to use extended euclidean algorithm to solve some diophantine
> equations. I'd like to use free software for this, but unfortunately I
> can't find a corresponding routine in either Maxima or Pari/GP.
>
> In maple there is the function gcdex, when given polynomials a(x) and
> b(x), it finds c and d such that
> c*a(x) + d*b(x) = 1
> For example, if a(x)=x^16+1 and b(x)=x^16-1, then c=1/2 and d=-1/2 because
>
> 16 16
> x + 1 x - 1
> ------- - ------- = 1
> 2 2
>
> Have I missed something, or can't Maxima (nor Pari!) really do this?
>
> Another thing that bugs my slightly is that Maxima uses only 80 columns to
> display even if I'd have much more.
>
> _______________________________________________
> Maxima mailing list
> [email protected]
> http://www.math.utexas.edu/mailman/listinfo/maxima
From [email protected] Thu May 31 15:14:57 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f4VKEvM32728
for <[email protected]>; Thu, 31 May 2001 15:14:57 -0500
Received: from relay.EECS.Berkeley.EDU (relay.EECS.Berkeley.EDU [169.229.34.228])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id PAA05603
for <[email protected]>; Thu, 31 May 2001 15:14:56 -0500
Received: from cs.berkeley.edu (windsome.CS.Berkeley.EDU [128.32.131.134])
by relay.EECS.Berkeley.EDU (8.9.3/8.9.3) with ESMTP id NAA27537
for <[email protected]>; Thu, 31 May 2001 13:14:55 -0700 (PDT)
Message-ID: <[email protected]>
Date: Thu, 31 May 2001 13:14:55 -0700
From: Richard Fateman <[email protected]>
Organization: University of California, Berkeley
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: maxima <[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Subject: [Maxima] minor bugs, xmaxima on windows 2000
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
In the "preferences" menu there is a mention of
"proportional fixed font" which I assume should be
"fixed font"
If you type, for example, describe("gcd") there are several items
listed and you are invited to type one or more of their
numbers.
It seems you must terminate the line with a ";" or
nothing happens. But the ";" is left over and becomes
a null command line after the describe() is finished.
RJF
From [email protected] Thu May 31 16:56:01 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f4VLu1M06296
for <[email protected]>; Thu, 31 May 2001 16:56:01 -0500
Received: from intech19.enhanced.com (enhanced.ppp.eticomm.net [206.228.183.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id QAA07543
for <[email protected]>; Thu, 31 May 2001 16:55:30 -0500
Received: from camm by intech19.enhanced.com with local (Exim 3.12 #1 (Debian))
id 155aO2-0007gX-00; Thu, 31 May 2001 17:53:46 -0400
To: [email protected]
Cc: [email protected]
Subject: Re: [Maxima] xmaxima shutdown
References: <[email protected]> <[email protected]>
From: Camm Maguire <[email protected]>
Date: 31 May 2001 17:53:46 -0400
In-Reply-To: William Schelter's message of "Wed, 30 May 2001 23:38:08 -0500"
Message-ID: <[email protected]>
Lines: 39
X-Mailer: Gnus v5.7/Emacs 20.7
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Thank you very much! Uploaded into Debian today.
William Schelter <[email protected]> writes:
> I am putting a fix in the cvs directory
>
> http://cvs.math.utexas.edu/cgi-bin/cvsweb.cgi?cvsroot=maxima
>
> See bin/xmaxima
>
> If you get a new xmaxima then it should work correctly if either the
> window manager shuts it down with a 'delete' or if you use either of
> the 'exit' menus on xmaxima. Note I believe the MS windows version was
> correct, and this got broken in making the windows version ...
>
> william
>
>
> ps: However if you just destroy the xmaxima or kill it with a
> signal, then the maxima process is still left running and needs to be killed
> with a signal. I should fix that too .. but later.
>
>
>
>
>
>
>
> _______________________________________________
> Maxima mailing list
> [email protected]
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
>
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Thu May 31 16:57:20 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f4VLvKM06352
for <[email protected]>; Thu, 31 May 2001 16:57:20 -0500
Received: from mail1.smarttech.com (h-207-228-97-151.gen.cadvision.com [207.228.97.151])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id QAA07572
for <[email protected]>; Thu, 31 May 2001 16:57:19 -0500
Received: by CALMAIL1 with Internet Mail Service (5.5.2653.19)
id <L31Z8R0P>; Thu, 31 May 2001 15:57:27 -0600
Message-ID: <21EEE10D6F3ED511B5E10002A5511565083977@CALMAIL1>
From: David Holmgren <[email protected]>
To: "'[email protected]'" <[email protected]>
Date: Thu, 31 May 2001 15:57:24 -0600
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain
Subject: [Maxima] linear algebra question
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hi,
I'm working on some routines for optimization using Maxima (e.g,
second-order Newton method, Levenberg-Marquardt), and I've run into a
problem with routines related to matrix manipulation. For example, when one
solves a matrix equation A.x = b by using x:invert(A).b, x is a list of
lists. So, when this is done in an iterative loop, the problem compounds
itself so that on the next iteration one gets a list of list of lists, etc.
Another example is when one forms a row vector by doing something like
v:transpose([1,2,3]) - this also gives a list of lists. Is there any way of
controlling or avoiding this behavior in Maxima? I am not yet sufficiently
familiar with Maxima programming to see a way out of this.
Many thanks for any advice, etc., on this.
Sincerely,
David Holmgren
Dr. David E. Holmgren,
Imaging Scientitst,
SMART Technologies, Inc.
Calgary, AB, Canada
http://www.smarttech.com
[403]-235-1452, ext. 251
[email protected]
From [email protected] Thu May 31 17:14:26 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f4VMEQM07080
for <[email protected]>; Thu, 31 May 2001 17:14:26 -0500
Received: from relay.EECS.Berkeley.EDU (relay.EECS.Berkeley.EDU [169.229.34.228])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id RAA07814
for <[email protected]>; Thu, 31 May 2001 17:14:26 -0500
Received: from cs.berkeley.edu (windsome.CS.Berkeley.EDU [128.32.131.134])
by relay.EECS.Berkeley.EDU (8.9.3/8.9.3) with ESMTP id PAA00940;
Thu, 31 May 2001 15:14:23 -0700 (PDT)
Message-ID: <[email protected]>
Date: Thu, 31 May 2001 15:14:23 -0700
From: Richard Fateman <[email protected]>
Organization: University of California, Berkeley
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: David Holmgren <[email protected]>
CC: "'[email protected]'" <[email protected]>
Subject: Re: [Maxima] linear algebra question
References: <21EEE10D6F3ED511B5E10002A5511565083977@CALMAIL1>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I don't know what exactly you are doing to make
an extra level of lists, but if you want to extract
the nth row of a matrix, try part(mat,n). I suppose
a column could be obtained by transposing first.
Is it perhaps the case that a column vector in
macsyma is not what you think , but a 2-d matrix
one of whose dimensions is 1?
RJF
David Holmgren wrote:
>
> Hi,
>
> I'm working on some routines for optimization using Maxima (e.g,
> second-order Newton method, Levenberg-Marquardt), and I've run into a
> problem with routines related to matrix manipulation. For example, when one
> solves a matrix equation A.x = b by using x:invert(A).b, x is a list of
> lists. So, when this is done in an iterative loop, the problem compounds
> itself so that on the next iteration one gets a list of list of lists, etc.
> Another example is when one forms a row vector by doing something like
> v:transpose([1,2,3]) - this also gives a list of lists. Is there any way of
> controlling or avoiding this behavior in Maxima? I am not yet sufficiently
> familiar with Maxima programming to see a way out of this.
>
> Many thanks for any advice, etc., on this.
>
> Sincerely,
>
> David Holmgren
>
> Dr. David E. Holmgren,
> Imaging Scientitst,
> SMART Technologies, Inc.
> Calgary, AB, Canada
> http://www.smarttech.com
> [403]-235-1452, ext. 251
> [email protected]
>
> _______________________________________________
> Maxima mailing list
> [email protected]
> http://www.math.utexas.edu/mailman/listinfo/maxima
From [email protected] Thu May 31 18:06:41 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f4VN6fM09337
for <[email protected]>; Thu, 31 May 2001 18:06:41 -0500
Received: from mail1.smarttech.com (h-207-228-97-151.gen.cadvision.com [207.228.97.151])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id SAA08547
for <[email protected]>; Thu, 31 May 2001 18:06:41 -0500
Received: by CALMAIL1 with Internet Mail Service (5.5.2653.19)
id <L31Z8SGG>; Thu, 31 May 2001 17:06:49 -0600
Message-ID: <21EEE10D6F3ED511B5E10002A5511565083978@CALMAIL1>
From: David Holmgren <[email protected]>
To: "'Richard Fateman'" <[email protected]>
Cc: "'[email protected]'" <[email protected]>
Subject: RE: [Maxima] linear algebra question
Date: Thu, 31 May 2001 17:06:42 -0600
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hi,
Many thanks for your reply!
> I don't know what exactly you are doing to make
> an extra level of lists, but if you want to extract
> the nth row of a matrix, try part(mat,n). I suppose
> a column could be obtained by transposing first.
As an example, take a:transpose([1,2,3]) which is a column vector.
When you say a[1], Maxima returns [1] and not 1, which is more desirable in
some situations (eg., when you compute x+dx, where x and dx are two
vectors). Effectively, a seems to be [[1],[2],[3]] rather than the [1,2,3]
I expected (with everything transposed to make column vectors of course). I
can certainly apply part(a,1) repeatedly, but it would be nice to not have
to do this.
> Is it perhaps the case that a column vector in
> macsyma is not what you think , but a 2-d matrix
> one of whose dimensions is 1?
I certainly appreciate that, but again, if a vector is updated in a
loop, you can end up with several dimensions. Generally, I've found that
Maxima crashes before proceeding too far along these lines!
Dave Holmgren
> David Holmgren wrote:
> >
> > Hi,
> >
> > I'm working on some routines for optimization using Maxima (e.g,
> > second-order Newton method, Levenberg-Marquardt), and I've run into a
> > problem with routines related to matrix manipulation. For example, when
> one
> > solves a matrix equation A.x = b by using x:invert(A).b, x is a list of
> > lists. So, when this is done in an iterative loop, the problem
> compounds
> > itself so that on the next iteration one gets a list of list of lists,
> etc.
> > Another example is when one forms a row vector by doing something like
> > v:transpose([1,2,3]) - this also gives a list of lists. Is there any
> way of
> > controlling or avoiding this behavior in Maxima? I am not yet
> sufficiently
> > familiar with Maxima programming to see a way out of this.
> >
> > Many thanks for any advice, etc., on this.
> >
> > Sincerely,
> >
> > David Holmgren
> >
> > Dr. David E. Holmgren,
> > Imaging Scientitst,
> > SMART Technologies, Inc.
> > Calgary, AB, Canada
> > http://www.smarttech.com
> > [403]-235-1452, ext. 251
> > [email protected]
> >
> > _______________________________________________
> > Maxima mailing list
> > [email protected]
> > http://www.math.utexas.edu/mailman/listinfo/maxima
From [email protected] Thu May 31 18:40:53 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f4VNerM10468
for <[email protected]>; Thu, 31 May 2001 18:40:53 -0500
Received: from relay.EECS.Berkeley.EDU (relay.EECS.Berkeley.EDU [169.229.34.228])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id SAA09090
for <[email protected]>; Thu, 31 May 2001 18:40:53 -0500
Received: from cs.berkeley.edu (windsome.CS.Berkeley.EDU [128.32.131.134])
by relay.EECS.Berkeley.EDU (8.9.3/8.9.3) with ESMTP id QAA02841;
Thu, 31 May 2001 16:40:51 -0700 (PDT)
Message-ID: <[email protected]>
Date: Thu, 31 May 2001 16:40:50 -0700
From: Richard Fateman <[email protected]>
Organization: University of California, Berkeley
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: David Holmgren <[email protected]>
CC: "'[email protected]'" <[email protected]>
Subject: Re: [Maxima] linear algebra question
References: <21EEE10D6F3ED511B5E10002A5511565083978@CALMAIL1>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
There are a bunch of flags, but none that looks
like it will do exactly what you want
try describe("listarith")
and describe("scalarmatrixp");
macsyma does allow ordinary lists [a,b,c]
to participate as vectors in matrix operations.
RJF
David Holmgren wrote:
>
> Hi,
> Many thanks for your reply!
>
> > I don't know what exactly you are doing to make
> > an extra level of lists, but if you want to extract
> > the nth row of a matrix, try part(mat,n). I suppose
> > a column could be obtained by transposing first.
> As an example, take a:transpose([1,2,3]) which is a column vector.
> When you say a[1], Maxima returns [1] and not 1, which is more desirable in
> some situations (eg., when you compute x+dx, where x and dx are two
> vectors). Effectively, a seems to be [[1],[2],[3]] rather than the [1,2,3]
> I expected (with everything transposed to make column vectors of course). I
> can certainly apply part(a,1) repeatedly, but it would be nice to not have
> to do this.
>
> > Is it perhaps the case that a column vector in
> > macsyma is not what you think , but a 2-d matrix
> > one of whose dimensions is 1?
> I certainly appreciate that, but again, if a vector is updated in a
> loop, you can end up with several dimensions. Generally, I've found that
> Maxima crashes before proceeding too far along these lines!
>
> Dave Holmgren
>
> > David Holmgren wrote:
> > >
> > > Hi,
> > >
> > > I'm working on some routines for optimization using Maxima (e.g,
> > > second-order Newton method, Levenberg-Marquardt), and I've run into a
> > > problem with routines related to matrix manipulation. For example, when
> > one
> > > solves a matrix equation A.x = b by using x:invert(A).b, x is a list of
> > > lists. So, when this is done in an iterative loop, the problem
> > compounds
> > > itself so that on the next iteration one gets a list of list of lists,
> > etc.
> > > Another example is when one forms a row vector by doing something like
> > > v:transpose([1,2,3]) - this also gives a list of lists. Is there any
> > way of
> > > controlling or avoiding this behavior in Maxima? I am not yet
> > sufficiently
> > > familiar with Maxima programming to see a way out of this.
> > >
> > > Many thanks for any advice, etc., on this.
> > >
> > > Sincerely,
> > >
> > > David Holmgren
> > >
> > > Dr. David E. Holmgren,
> > > Imaging Scientitst,
> > > SMART Technologies, Inc.
> > > Calgary, AB, Canada
> > > http://www.smarttech.com
> > > [403]-235-1452, ext. 251
> > > [email protected]
> > >
> > > _______________________________________________
> > > Maxima mailing list
> > > [email protected]
> > > http://www.math.utexas.edu/mailman/listinfo/maxima
> _______________________________________________
> Maxima mailing list
> [email protected]
> http://www.math.utexas.edu/mailman/listinfo/maxima
From [email protected] Mon Jun 4 01:39:30 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f546dUM30154
for <[email protected]>; Mon, 4 Jun 2001 01:39:30 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id BAA32341
for <[email protected]>; Mon, 4 Jun 2001 01:39:30 -0500
Received: (from wfs@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id BAA26563;
Mon, 4 Jun 2001 01:39:27 -0500
Date: Mon, 4 Jun 2001 01:39:27 -0500
Message-Id: <[email protected]>
Reply-to: [email protected]
From: William Schelter <[email protected]>
To: [email protected]
CC: [email protected], [email protected]
In-reply-to: <21EEE10D6F3ED511B5E10002A5511565083978@CALMAIL1> (message from
David Holmgren on Thu, 31 May 2001 17:06:42 -0600)
Subject: Re: [Maxima] linear algebra question
Reply-to: [email protected]
References: <21EEE10D6F3ED511B5E10002A5511565083978@CALMAIL1>
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Question About Matrices:
1) A matrix is ALWAYS represented internally as a list of rows, each row
of which is a maxima list.
If M is a matrix then M[i] is the ith row, and hence a list. Similarly
M[i,j] is an entry the i,j entry with 1,1 top left corner entry.
2) If you do transpose(x) and x is a matrix or list the result is always a matrix.
The case of x a list is a convenient way of building a column matrix
3) To turn a matrix into a simple list of all the entries, with first row then
second row etc.. you could do:
ListMatrixEntries(m):=block([ans:[]],
for v in m do ans:append(ans,v),
ans);
ListMatrixEntries(matrix([a,b],[c,d]))==>[a,b,c,d]
ListMatrixEntries(transpose([a,b,c])) ==> [a,b,c]
In lisp to define the same thing you could do
(defun $LIST_MATRIX_ENTRIES (m)
(or ($matrixp m) (error "not a matrix"))
(cons '(mlist) (sloop for v in (cdr m) append (cdr v))))
I will add this function to maxima
since I know from experience it is useful. I call it
$LIST_MATRIX_ENTRIES to be compatible with the usual conventions in maxima.
Note
(defun |$ListMatrixEntries| (m) ...) would have defined the one with the mixed
case name.
From [email protected] Mon Jun 4 01:39:32 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f546dWM30158
for <[email protected]>; Mon, 4 Jun 2001 01:39:32 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id BAA32347
for <[email protected]>; Mon, 4 Jun 2001 01:39:32 -0500
Received: (from wfs@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id BAA26615;
Mon, 4 Jun 2001 01:39:28 -0500
Date: Mon, 4 Jun 2001 01:39:28 -0500
Message-Id: <[email protected]>
Reply-to: [email protected]
From: William Schelter <[email protected]>
To: [email protected]
CC: [email protected]
In-reply-to: <[email protected]>
(message from Tuukka Toivonen on Thu, 31 May 2001 22:08:30 +0300
(EEST))
Subject: Re: [Maxima] solving diophantine equations
Reply-to: [email protected]
References: <[email protected]>
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
In maple there is the function gcdex, when given polynomials a(x) and
b(x), it finds c and d such that
c*a(x) + d*b(x) = 1
I have added a little file gcdex.mc in the share/gcdex.mc
distribution which does what you want [it is below], ie the euclidean
algorithm for univariate polynomials which can then demonstrate that
this is a principal ideal domain, by finding gcd of f and g in the
ideal generated by f and g.
line width:
As richard said, the maxima variable linel, or the lisp variable linel
control the line width of the terminal display. linel:80 being the default.
If you can determine your linewidth automatically somehow then you could
use the lisp (setq linel (si::getenv "COLUMNS") ) or some such thing in the
init.lsp loaded from your directory where you start maxima. xmaxima is supposed
to figure out the linewidth, since it is actually handling the window.
=============begin gcdex.mc==========
/* gcdex(f,g) yields a list [a,b,u] where
u is the GCD of f and g, and
u = f*a+g*b;
F and G should be univariate polynomials so that we are in a principal
ideal domain, and the ideal generated by (f,g) is indeed generated
by the gcd of f and g.
mytest(f,g):=block([ans:gcdex(f,g)],
[ratsimp(ans.[f,g,-1]),
remainder(f,ans[3]),
remainder(g,ans[3])]);
*/
gcdex(f,g):=block([q0,q1,ok:true,lis1,lis2,lis3,q,tem,var:listofvars([f,g]),
swap:false],
if (length(var) > 1) then merror("only univariate polynomials"),
var:var[1],
q0:divide(f,g), /* divide(f,g) ==> [q:quotient(f,g),remainder:f-g*q] */
/* if f/g is 0 then we reverse them */
if (q0[1]=0) then
(lis2:gcdex(g,f),return([lis2[2],lis2[1],lis2[3]])),
if (q0[2]=0) then return([0,1,g]),
q1:divide(g,q0[2]),
lis1:[1,-q0[1],q0[2]],
if (q1[2]=0) then
(if numberp(lis1[3]) then lis1:lis1/lis1[3],
return(lis1)),
/* lisi are always perpendicular to [f,g,-1] */
lis2:[-q1[1],1+q0[1]*q1[1], q1[2]],
while(ok) do
( q:divide(lis1[3],lis2[3]),
lis3:ratsimp(lis1-lis2*q[1]),
tem:content(lis3[3],var)[1],
if (not(tem=0)) then lis3:ratsimp(lis3/tem),
if(lis3[3] = 0) then ok:false
else (lis1:lis2, lis2:lis3)
),
if numberp(lis2[3]) then lis2/lis2[3] else lis2);
From [email protected] Mon Jun 4 01:53:46 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f546rkM30625
for <[email protected]>; Mon, 4 Jun 2001 01:53:46 -0500
Received: from old-n2.infonet.com (old-n2-130.infonet.com [192.157.130.138])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id BAA32694
for <[email protected]>; Mon, 4 Jun 2001 01:53:45 -0500
Received: from infexch01.infonet.com (riotinto.com [192.92.62.83]) by old-n2.infonet.com (8.11.3/8.6.12) with ESMTP id f546nsm20975 for <[email protected]>; Mon, 4 Jun 2001 06:49:54 GMT
Received: by INFEXCH01 with Internet Mail Service (5.5.2653.19)
id <MH58LMX2>; Mon, 4 Jun 2001 07:52:38 +0100
Message-ID: <[email protected]_exch.corp.riotinto.org>
From: "Billinghurst, David (CRTS)" <[email protected]>
To: [email protected]
Date: Mon, 4 Jun 2001 07:53:12 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain
Subject: [Maxima] problem with gcl cvs repository
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I have a problem accessing the gcl cvs repository. From two different
machines, a cvs update -d gives
cvs update -d
cvs server: Updating .
cvs server: Updating bin
cvs server: Updating clcs
cvs server: Updating cmpnew
cvs server: Updating comp
cvs server: Updating doc
cvs server: Updating dos
cvs server: Updating elisp
cvs server: Updating gcl-tk
cvs server: Updating gcl-tk/demos
cvs server: Updating gcl-tk/demos-4.1
cvs server: Updating gcl-tk/demos-4.2
cvs server: Updating gmp
cvs server: failed to create lock directory in repository
`/home/cvs/gcl/gcl/gmp': Permission denied
cvs server: failed to obtain dir lock in repository `/home/cvs/gcl/gcl/gmp'
cvs [server aborted]: read lock failed - giving up
I can access the maxima cvs repository.
+++++++++++++++++++++++++++++++++++++++++
(Mr) David Billinghurst
Comalco Research Centre
PO Box 316, Thomastown, Vic, Australia, 3074
Phone: +61 3 9469 0642
FAX: +61 3 9462 2700
Email: [email protected]
From [email protected] Mon Jun 4 02:45:31 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f547jVM31991
for <[email protected]>; Mon, 4 Jun 2001 02:45:31 -0500
Received: from s-inf-pc24.oulu.fi (IDENT:[email protected] [130.231.50.154])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id CAA01252
for <[email protected]>; Mon, 4 Jun 2001 02:45:30 -0500
Received: from localhost (tuukkat@localhost)
by s-inf-pc24.oulu.fi (8.9.3/8.9.3) with ESMTP id KAA01892;
Mon, 4 Jun 2001 10:45:19 +0300
Date: Mon, 4 Jun 2001 10:45:19 +0300 (EEST)
From: Tuukka Toivonen <[email protected]>
To: [email protected]
cc: [email protected]
Subject: Re: [Maxima] solving diophantine equations
In-Reply-To: <[email protected]>
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
On Mon, 4 Jun 2001, William Schelter wrote:
> I have added a little file gcdex.mc in the share/gcdex.mc
Thank you! It does exactly what I want. I did found the corresponding
function in Pari ("bezout") but it's nicer to have everything in one
program, ie. Maxima.
> use the lisp (setq linel (si::getenv "COLUMNS") ) or some such thing in the
> init.lsp loaded from your directory where you start maxima. xmaxima is supposed
Env. variable COLUMNS is probably rarely used, I think there's an ioctl to
do that. It should be easy to add a new Lisp function (written in C) to
return the current line width. Would you like a patch if I make one (when
I have some time)? How it should be called, "si::get-line-length"?
One should also listen for SIGWINCH signals to know when the terminal is
resized, but that's over my skills.
From [email protected] Mon Jun 4 10:01:52 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f54F1qM15266
for <[email protected]>; Mon, 4 Jun 2001 10:01:52 -0500
Received: from relay.EECS.Berkeley.EDU (relay.EECS.Berkeley.EDU [169.229.34.228])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id KAA10924
for <[email protected]>; Mon, 4 Jun 2001 10:01:51 -0500
Received: from cs.berkeley.edu (as3-1-174.HIP.Berkeley.EDU [136.152.194.96])
by relay.EECS.Berkeley.EDU (8.9.3/8.9.3) with ESMTP id IAA02082;
Mon, 4 Jun 2001 08:01:27 -0700 (PDT)
Message-ID: <[email protected]>
Date: Mon, 04 Jun 2001 07:56:51 -0700
From: Richard Fateman <[email protected]>
Organization: computer science division, UC Berkeley
X-Mailer: Mozilla 4.73 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: [email protected]
CC: [email protected], [email protected]
Subject: Re: [Maxima] linear algebra question, also gcdex
References: <21EEE10D6F3ED511B5E10002A5511565083978@CALMAIL1> <[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
William Schelter wrote:
> 3) To turn a matrix into a simple list of all the entries, with first row then
> second row etc.. you could do:
>
> ListMatrixEntries(m):=block([ans:[]],
> for v in m do ans:append(ans,v),
> ans);
>
> ListMatrixEntries(matrix([a,b],[c,d]))==>[a,b,c,d]
> ListMatrixEntries(transpose([a,b,c])) ==> [a,b,c]
I suggest:
ListMatrixEntries (M):= apply (append, substinpart("[",M,0))$
in lisp,
(defun $LIST_MATRIX_ENTRIES (m)... (apply #'append (cdr v)) instead
of sloop...
>
> In lisp to define the same thing you could do
> (defun $LIST_MATRIX_ENTRIES (m)
> (or ($matrixp m) (error "not a matrix"))
> (cons '(mlist) (sloop for v in (cdr m) append (cdr v))))
>
In the diophantine equation gcdex example, I think there
are a couple of ways of improving it.
Thesize of the program can be reduced by using multiple assignment
syntax (a secret? in macsyma).
[a,b,c]:[1,2,3] assigns a:1, b:2, c:3.
[quo,rem]: divide(p,q,x) sets the quotient and remainder [main var x]
I usually set the original inputs into rat form, making
it unnecessary to call ratsimp along the way. It should
be possible to copy the gcdex out of Knuth vol 1, but
I'm away from my library right now.
It should be possible to do the computation even if the
two inputs are not univariate, by choosing to do the
computations in the quotient field of the other variables.
thus the call could be gcdex(u,v,x), where x is also used
in the call to divide.
The various options here are probably what made people
nervous about including the program as a user command.
The commercial Macsyma (or formerly commercial?)
has this program:
XTGCD(poly_or_integer, poly_or_integer)
[ALGFUNCS package] Computes the extended Euclidean algorithm for the
integers and/or univariate polynomials with integer coefficients.
Returns the list [p(x), a(x), b(x)] where q(x) and r(x) are the
arguments to EXTGCD, p(x) is their g.c.d., and a(x) and b(x) satisfy
Bezout's identity
p(x) = a(x)*q(x) + b(x)*r(x) .
Do EXAMPLE(EXTGCD); for an executable example.
See also EXTGCD_INTEGER.
The EXTGCD code follows the design in
J.H. Davenport, Y. Siret, and E. Tournier
Computer Algebra: Systems and algorithms for algebraic computation
Academic Press (1988), pp. 213-214
even down to the names used.
RJF
From [email protected] Mon Jun 4 10:16:47 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f54FGlM15922
for <[email protected]>; Mon, 4 Jun 2001 10:16:47 -0500
Received: from mail1.smarttech.com (h-207-228-97-151.gen.cadvision.com [207.228.97.151])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id KAA11175
for <[email protected]>; Mon, 4 Jun 2001 10:16:46 -0500
Received: by CALMAIL1 with Internet Mail Service (5.5.2653.19)
id <L31Z8WSN>; Mon, 4 Jun 2001 09:16:52 -0600
Message-ID: <21EEE10D6F3ED511B5E10002A551156508397C@CALMAIL1>
From: David Holmgren <[email protected]>
To: "'[email protected]'" <[email protected]>
Cc: "'[email protected]'" <[email protected]>
Subject: RE: [Maxima] linear algebra question
Date: Mon, 4 Jun 2001 09:16:43 -0600
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
[David Holmgren] Many thanks! I suspected that one would have to
do something like your ListMatrixEntries.
>
> Question About Matrices:
>
> 1) A matrix is ALWAYS represented internally as a list of rows, each row
> of which is a maxima list.
>
> If M is a matrix then M[i] is the ith row, and hence a list. Similarly
> M[i,j] is an entry the i,j entry with 1,1 top left corner entry.
>
> 2) If you do transpose(x) and x is a matrix or list the result is always
> a matrix.
> The case of x a list is a convenient way of building a column matrix
>
> 3) To turn a matrix into a simple list of all the entries, with first row
> then
> second row etc.. you could do:
>
> ListMatrixEntries(m):=block([ans:[]],
> for v in m do ans:append(ans,v),
> ans);
>
> ListMatrixEntries(matrix([a,b],[c,d]))==>[a,b,c,d]
> ListMatrixEntries(transpose([a,b,c])) ==> [a,b,c]
>
> In lisp to define the same thing you could do
> (defun $LIST_MATRIX_ENTRIES (m)
> (or ($matrixp m) (error "not a matrix"))
> (cons '(mlist) (sloop for v in (cdr m) append (cdr v))))
>
>
> I will add this function to maxima
> since I know from experience it is useful. I call it
> $LIST_MATRIX_ENTRIES to be compatible with the usual conventions in
> maxima.
>
> Note
> (defun |$ListMatrixEntries| (m) ...) would have defined the one with the
> mixed
> case name.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
From [email protected] Mon Jun 4 12:20:49 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f54HKnM20779
for <[email protected]>; Mon, 4 Jun 2001 12:20:49 -0500
Received: from relay.EECS.Berkeley.EDU (relay.EECS.Berkeley.EDU [169.229.34.228])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id MAA13524
for <[email protected]>; Mon, 4 Jun 2001 12:20:49 -0500
Received: from cs.berkeley.edu (windsome.CS.Berkeley.EDU [128.32.131.134])
by relay.EECS.Berkeley.EDU (8.9.3/8.9.3) with ESMTP id KAA05575;
Mon, 4 Jun 2001 10:20:46 -0700 (PDT)
Message-ID: <[email protected]>
Date: Mon, 04 Jun 2001 10:20:46 -0700
From: Richard Fateman <[email protected]>
Organization: University of California, Berkeley
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: [email protected], maxima <[email protected]>
Subject: Re: [Maxima] solving diophantine equations
References: <[email protected]> <[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
You might prefer this version of gcdex, though it takes
an additional argument, the main variable..., it does
not require that expressions be univariate.
gcdex1(m,n,x):=
/* Given 2 expressions m and n in x, we compute their
GCD and two multipliers a and b such that a*m+b*n=d.
Knuth vol 1 algorithm E */
block([ap,b,bp,r:1,q],
[ap,b,a,bp,m,n]:[1,1,0,0,rat(m,x),rat(n,x)],
loop, [q,r]:divide(m,n,x),
if(r=0) then [a,b,n]/content(n,x)[1]
else
([m,n,t]:[n,r,ap],
[ap,a,t,bp]: [a,t-q*a,bp,b],
b:t-q*b,
go (loop)))$
Here's a checking program.. which should return 0.
checkg(m,n,x):= ([a,b,d]: gcdex1(m,n,x), a*m+b*n=d)
checkg (a*z+1,b*z-1,z);
the results, but not checkg, are different if you
choose as main variable a or b...
PS, apologizes for the goto.. Knuth uses it..
RJF
From [email protected] Mon Jun 4 20:58:00 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f551vxM06580
for <[email protected]>; Mon, 4 Jun 2001 20:58:00 -0500
Received: from intech19.enhanced.com (enhanced.ppp.eticomm.net [206.228.183.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id UAA22852
for <[email protected]>; Mon, 4 Jun 2001 20:57:57 -0500
Received: from camm by intech19.enhanced.com with local (Exim 3.12 #1 (Debian))
id 15766J-0008Ew-00; Mon, 04 Jun 2001 21:57:43 -0400
To: [email protected]
From: Camm Maguire <[email protected]>
Date: 04 Jun 2001 21:57:43 -0400
Message-ID: <[email protected]>
Lines: 78
X-Mailer: Gnus v5.7/Emacs 20.7
Subject: [Maxima] [Daniel Sullivan <[email protected]>] Bug#99447: maxima: Summation command displays incorrectly
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings! A Debian user just submitted this, and I have confirmed.
Is there any simple fix?
Take care,
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
------- Start of forwarded message -------
Subject: Bug#99447: maxima: Summation command displays incorrectly
Reply-To: Daniel Sullivan <[email protected]>, [email protected]
Resent-From: Daniel Sullivan <[email protected]>
Resent-To: [email protected]
Resent-CC: Camm Maguire <[email protected]>
Resent-Date: Fri, 01 Jun 2001 02:03:30 GMT
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
Date: Thu, 31 May 2001 21:35:38 -0400
To: [email protected]
Message-ID: <20010531213538.A471@melati>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Daniel Sullivan <[email protected]>
Package: maxima
Version: 5.6-6
Severity: normal
The result of the "sum" command displays the summation symbol
with the symbols in the wrong places:
Actual maxima output:
(C2) sum(n^2,n,1,n);
n
====
\2
(D2) >n
/
====
n = 1
Output should be:
(C2) sum(n^2,n,1,n);
n
====
\ 2
(D2) > n
/
====
n = 1
I have a windows version of maxima 5.5 that displays correctly so the
difference may have occurred between maxima 5.5 and maxima 5.6.
-- System Information
Debian Release: 2.2
Kernel Version: Linux melati 2.2.18 #1 Sun Mar 18 21:15:57 EST 2001 i586 unknown
Versions of the packages maxima depends on:
ii libc6 2.1.3-13 GNU C Library: Shared libraries and Timezone
ii tk8.0 8.0.5-6 The Tk toolkit for TCL and X11 v8.0 - Run-Ti
^^^ (Provides virtual package wish)
Daniel Sullivan
[email protected]
------- End of forwarded message -------
From [email protected] Tue Jun 5 04:05:40 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f5595cM21912
for <[email protected]>; Tue, 5 Jun 2001 04:05:38 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id EAA29072
for <[email protected]>; Tue, 5 Jun 2001 04:05:38 -0500
Received: (from wfs@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id EAA10655;
Tue, 5 Jun 2001 04:05:19 -0500
Date: Tue, 5 Jun 2001 04:05:19 -0500
Message-Id: <[email protected]>
Reply-to: [email protected]
From: William Schelter <[email protected]>
To: [email protected], [email protected],
[email protected]
CC: [email protected]
In-reply-to: <[email protected]> (message from Camm Maguire
on 04 Jun 2001 21:57:43 -0400)
Subject: Re: [Maxima] [Daniel Sullivan <[email protected]>] Bug#99447: maxima: Summation command displays incorrectly
Reply-to: [email protected]
References: <[email protected]>
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I list four responses grouped together, so that I dont flood you
with too much mail... But given the length of this message maybe you
prefer separate ones!!
I. Camm:
Error maxima output of not centered...
(C2) sum(n^2,n,1,n);
...
I have added a correction in cvs to displa.lisp. This bug was introduced when I
added the stuff for allowing sums over lists, and the integration of f/g
with g irreducible, by making it a sum over the roots of...
===================
II. Fateman writes:
I suggest:
ListMatrixEntries (M):= apply (append, substinpart("[",M,0))$
in lisp,
(defun $LIST_MATRIX_ENTRIES (m)... (apply #'append (cdr v)) instead
of sloop...
I put the version using 'sloop' in the sources because I think it is
more readable, and I KNOW it is efficient in every lisp, not creating
any more cons's than absolutely necessary. For example if you do
5000 iterations of doing list_matrix_entries of a 7 7 matrix.
Cons's Seconds Method
250,000 1.27 sloop method
320,000 1.65 apply '$append
3,600,000 42.0 apply (append, substinpart("[",M,0))$
I guess I am very sensitive to storage use and timings .. and I probably
go a little overboard on making things efficient. But I do think the sloop
(sloop for row in (cdr matrix) append (cdr row))
"for each row in matrix append the row"
is pretty readable. Of course I wrote the sloop macro, so thats probably
why I think it is readable, but it is also why I am sure it is efficient.
The lisp version you suggest:
(defun $LIST_MATRIX_ENTRIES1 (m)
(or ($matrixp m) (error "not a matrix"))
(apply #'append (cdr m)))
needs to use '$append since the rows are maxima lists not lisp lists.
Note the timings were done on a slow notebook (166Mhz) here in St Petersburg
russia, and so may appear high. Functions were compiled, and I used gcl's
gc monitor.
==========================
III.
You might prefer this version of gcdex, though it takes
an additional argument, the main variable..., it does
not require that expressions be univariate.
gcdex1(m,n,x):=
Thank you yes we should handle the case where coefficients are in some rational
function field.
Normally when we speak about gcd of elements in k[x,y] we mean in the
polynomial ring in two variables, where of course ideals cannot be
generated by one element .. their gcd.
x k[x,y] + y k[x,y] != 1 k[x,y]
But if we look at the field of fractions k(y) and then adjoin x, then
of course that ring k(y)[x] is a Principal ideal domain (indeed a euclidean
domain), and we can use the euclidean algorithm and produce elements which
will be fractions in y but polynomials in x. I have modified share/gcdex.mc
to allow an optional argument specifying a main variable. Just remember the
gcd is not the usual multivariate gcd!
gcdex(x*(y+1),y^2-1,x);
1
(D1) [0, ------, 1]
2
y - 1
saying the 'gcd' is 1, since that is what it is in k(y)[x],
however it would be of course y+1 if we were just thinking in k[x,y].
Note that I did not actually get the code you sent to work correctly.
I added SUBSCRMAP:true to the binds, so that the list assignments would be ok,
but still it gave incorrect answers:
(C17) gcdex1(x^3+2,x^3+1,x);
3 3 3
(D17)/R/ [x + 1, x + 1, x + 1]
but anyway I am sure knuth's algorithm is correct and there is just a typo somewhere..
but I dont have the book with me and so can't verify it, and once I have one
working it is hard to go back and trouble shoot another!
===============
IV.
Billinghurst, David (CRTS)" <[email protected]>
cvs update -d
cvs server: Updating .
cvs server: failed to create lock directory in repository
`/home/cvs/gcl/gcl/gmp': Permission denied
I have corrected the cvs/gcl permissions which seem to become incorrect each
time I add a new cvs directory (or maybe even file...) We need a cron job
or a fixed cvs add ...
william
From [email protected] Tue Jun 5 09:31:32 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f55EVUM02454
for <[email protected]>; Tue, 5 Jun 2001 09:31:31 -0500
Received: from limonero.sdi.uam.es (limonero.sdi.uam.es [150.244.9.12])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id JAA02107
for <[email protected]>; Tue, 5 Jun 2001 09:31:29 -0500
Received: from absurdo.mat.uam.es.uam.es (absurdo.mat.uam.es [150.244.21.52])
by limonero.sdi.uam.es (8.9.3/8.9.3/UAM) with ESMTP id QAA09419
for <[email protected]>; Tue, 5 Jun 2001 16:31:26 +0200 (MEST)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <[email protected]>
Date: Tue, 5 Jun 2001 16:31:16 +0200
To: [email protected]
X-Mailer: VM 6.92 under Emacs 20.7.2
From: Pedro Fortuny Ayuso <[email protected]>
Subject: [Maxima] Parametric plots
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Good *ing,
This is a suggestion for William (and/or anyone interested in
developing it... maybe I should try to do it myself, but ;-)
better if someone with more experience tries to).
I think Maxima should have an easy method for plotting para-
metric curves and surfaces..., like
parametricplot2d([3*cosh(t),3*sinh(t)],[t,-2,2]);
to plot a ---guess it--- hyperbola, and
parametricplot3d([cos(theta)*cosh(t),
sin(theta)*sinh(t),t],[t,-3,3],
[theta,-%PI,%PI]);
for a catenoid (?).
I know it could be done using the gnuplot interface, etc... but I
think a straightforward command for omplot (great!) would be best.
Thanks in advance,
Pedro.
--
Pedro Fortuny Ayuso --------> http://www.geocities.com/pedro_fortuny
Dpt. Matematicas, Univ. Autonoma de Madrid ------> http://www.uam.es
Campus Cantoblanco, 28049 Madrid. SPAIN. -----> tel. (34) 91 3974911
From [email protected] Tue Jun 5 13:52:25 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f55IqPM14238
for <[email protected]>; Tue, 5 Jun 2001 13:52:25 -0500
Received: from intech19.enhanced.com (enhanced.ppp.eticomm.net [206.228.183.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id NAA06628
for <[email protected]>; Tue, 5 Jun 2001 13:52:21 -0500
Received: from camm by intech19.enhanced.com with local (Exim 3.12 #1 (Debian))
id 157Lw3-0004e1-00; Tue, 05 Jun 2001 14:52:11 -0400
To: [email protected]
Cc: [email protected]
Subject: Re: [Maxima] [Daniel Sullivan <[email protected]>] Bug#99447: maxima: Summation command displays incorrectly
References: <[email protected]> <[email protected]>
From: Camm Maguire <[email protected]>
Date: 05 Jun 2001 14:52:11 -0400
In-Reply-To: William Schelter's message of "Tue, 5 Jun 2001 04:05:19 -0500"
Message-ID: <[email protected]>
Lines: 24
X-Mailer: Gnus v5.7/Emacs 20.7
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings, and thanks again! Uploaded new displa.lisp into Debian,
and it works.
Take care,
William Schelter <[email protected]> writes:
> I list four responses grouped together, so that I dont flood you
> with too much mail... But given the length of this message maybe you
> prefer separate ones!!
>
> I. Camm:
>
> Error maxima output of not centered...
> (C2) sum(n^2,n,1,n);
> ...
> I have added a correction in cvs to displa.lisp. This bug was introduced when I
> added the stuff for allowing sums over lists, and the integration of f/g
> with g irreducible, by making it a sum over the roots of...
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Wed Jun 6 04:13:31 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f569DVM20349
for <[email protected]>; Wed, 6 Jun 2001 04:13:31 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id EAA22070
for <[email protected]>; Wed, 6 Jun 2001 04:13:31 -0500
Received: (from wfs@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id EAA26041;
Wed, 6 Jun 2001 04:13:19 -0500
Date: Wed, 6 Jun 2001 04:13:19 -0500
Message-Id: <[email protected]>
Reply-to: [email protected]
From: William Schelter <[email protected]>
To: [email protected]
CC: [email protected]
In-reply-to: <[email protected]> (message from
Pedro Fortuny Ayuso on Tue, 5 Jun 2001 16:31:16 +0200)
Subject: Re: [Maxima] Parametric plots
Reply-to: [email protected]
References: <[email protected]>
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Pedro writes:>
I think Maxima should have an easy method for plotting para-
metric curves and surfaces..., like
parametricplot2d([3*cosh(t),3*sinh(t)],[t,-2,2]);
I have added a 2d parametric plot. I believe I added the 3d one a couple
of years ago, and I am not sure why I did not do a 2d one..
For plot3d for example doing a moebius band:
plot3d([cos(x)*(3+y*cos(x/2)),
sin(x)*(3+y*cos(x/2)),y*sin(x/2)],
[x,-%pi,%pi],[y,-1,1],['grid,50,15]);
thus the first argument is a list of 3 functions, in the parametric case.
For plot2d, since the argument could already be a list of functions (meaning
plot them all simultaneously on the same window), I added parametric expressions:
things like
[parametric,cos(t),sin(t),[t,-5,5]]
which would mean the unit circle.
(C1) plot2d([parametric,cos(t),sin(t),[t,-%pi*2,%pi*2]]);
(C2) plot2d([parametric,cos(t),sin(t),[t,-%pi*2,%pi*2],
[nticks,8]]);
(C3) plot2d([x^3+2,[parametric,cos(t),sin(t),[t,-5,5]]],
[x,-3,3]);
- Function: PLOT2D (expr,range,...,options,..)
- Function: PLOT2D ([expr1,expr2,..,exprn],xrange,...,options,..)
- Function: PLOT2D (parametric_expr)
- Function: PLOT2D ([..,expr,..,parametric_expr,..],xrange,...,options)
are the possibilities, so you can plot several parametric expressions.
william
[these things are in the cvs, you need
src/plot.lisp src/max_ext.lisp info/Plotting.texi
and I also had to change the gcl function info mechanism slightly (1 character
change) to handle the 'describe' of multiple line info entries like the above.. see
gcl/o/info.lsp
From [email protected] Thu Jun 7 05:42:16 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f57AgGM13108
for <[email protected]>; Thu, 7 Jun 2001 05:42:16 -0500
Received: from lucky.upol.cz (lucky.upol.cz [158.194.72.60])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id FAA22269
for <[email protected]>; Thu, 7 Jun 2001 05:42:16 -0500
Received: from localhost (richter@localhost)
by lucky.upol.cz (8.9.3/8.9.3) with ESMTP id MAA02517
for <[email protected]>; Thu, 7 Jun 2001 12:33:41 +0200
X-Authentication-Warning: lucky.upol.cz: richter owned process doing -bs
Date: Thu, 7 Jun 2001 12:33:41 +0200 (CEST)
From: Lukas Richterek <[email protected]>
X-Sender: [email protected]
To: [email protected]
In-Reply-To: <[email protected]>
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Subject: [Maxima] Re: 2d-parametric plots
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Dear Maxima experts,
I agreee that the possibility od parametric plots is a good idea, but the
third example
> ...
> (C3) plot2d([x^3+2,[parametric,cos(t),sin(t),[t,-5,5]]],
> [x,-3,3]);
> ...
does not give any result with the option ['plot_format, GNUPLOT] and the
data file "maxout.gnuplot" can be plotted via gnuplot after some changes.
It will probably need some changes in "mgnuplot" file, I guess. Does
anybody have an idea, how to change this file, please?
Thanks for any hints
Yours faithfully
Lukas Richterek
--
Department of Theoretical Physics | tel.:+420-68-5634103
Fac. Nat. Sciences, | fax :+420-68-5225737
Palacky University | e-mail: [email protected]
Svobody 26, Olomouc, CZ-771 46 |
C z e c h R e p u b l i c | /|||\
http://aix.upol.cz/~richter/index.html ( o|o )
---------------------------------------- \ u / ------------------
From [email protected] Sat Jun 16 09:39:57 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f5GEdvM32763
for <[email protected]>; Sat, 16 Jun 2001 09:39:57 -0500
Received: from herald.cc.purdue.edu (herald.cc.purdue.edu [128.210.11.29])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id JAA22180
for <[email protected]>; Sat, 16 Jun 2001 09:39:56 -0500
Received: from purdue.edu (dial-b-01-47.resnet.purdue.edu [128.211.130.57])
by herald.cc.purdue.edu (8.11.3/8.11.3/herald) with ESMTP id f5GEdsX09379
for <[email protected]>; Sat, 16 Jun 2001 09:39:54 -0500 (EST)
Message-ID: <[email protected]>
Date: Sat, 16 Jun 2001 09:40:09 -0500
From: Nels Tomlinson <[email protected]>
User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.2-2 i686; en-US; 0.7) Gecko/20010316
X-Accept-Language: en, zh
MIME-Version: 1.0
To: [email protected]
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: [Maxima] how to increase the maximum number of pages in gcl?
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hi,
I'm running a big messy job, and run out of memory quickly. (Allocate
'cons really-big-number) doesn't help, because there just aren't enough
pages to go 'round. I've tried setting *ignore-maximum-pages* to true,
but that doen't seem to produce any effect. (Room) produces the
following output at the beginning of a job:
[tomlinso@desktop gcl-2.4.0]$ maxima
GCL (GNU Common Lisp) Version(2.4.0) Wed May 9 12:02:00 CDT 2001
Licensed under GNU Library General Public License
Contains Enhancements by W. Schelter
Maxima 5.6 Wed May 9 12:01:49 CDT 2001 (with enhancements by W. Schelter).
Licensed under the GNU Public License (see file COPYING)
(C1)
MAXIMA>>(room)
<SNIP>
378 pages for cells
556 total pages
30069 pages available
2143 pages in heap but not gc'd + pages needed for gc marking
32768 maximum pages
MAXIMA>>
That 32768 maximum pages seems to work out to about 128M, and I may
well need four times that. I'm running this on a machine with 512M of
ram and tons of swap space, and buying more ram isn't out of the
question, so it makes sense to have a really big maximum pages.
Is there an argument on the command line when I run gcl, or is there
something I can edit in the config or makefile, which will give me some
extra room?
Thanks,
Nels Tomlinson
From [email protected] Mon Jun 18 05:28:09 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f5IAS8M12561
for <[email protected]>; Mon, 18 Jun 2001 05:28:09 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id FAA24424
for <[email protected]>; Mon, 18 Jun 2001 05:28:08 -0500
Received: (from wfs@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id FAA01378;
Mon, 18 Jun 2001 05:28:06 -0500
Date: Mon, 18 Jun 2001 05:28:06 -0500
Message-Id: <[email protected]>
Reply-to: [email protected]
From: William Schelter <[email protected]>
To: [email protected]
CC: [email protected]
In-reply-to: <[email protected]> (message from Nels Tomlinson on
Sat, 16 Jun 2001 09:40:09 -0500)
Subject: Re: [Maxima] how to increase the maximum number of pages in gcl?
Reply-to: [email protected]
References: <[email protected]>
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Is there an argument on the command line when I run gcl, or is there
something I can edit in the config or makefile, which will give me some
extra room?
To enable a larger page table in gcl you must configure it at compile time:
cd gcl
./configure '--enable-maxpage=128*1024'
make
and then remove maxima/src/saved_maxima and remake in the maxima directory.
The default should probably be bigger now that memory is so cheap.
Note from the ./configure --help:
--enable-maxpage=XXXX will compile in a page table of size XXX (eg '--enable-maxpage=64*1024' would give 64K pages allowing 256 MB if pages are 4K each)
william
From [email protected] Fri Jun 22 15:51:38 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f5MKpcM13422
for <[email protected]>; Fri, 22 Jun 2001 15:51:38 -0500
Received: from UNKmail.unk.edu (UNKmail.UNK.edu [144.216.2.9])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id PAA06063
for <[email protected]>; Fri, 22 Jun 2001 15:51:37 -0500
From: [email protected]
To: [email protected]
Date: Fri, 22 Jun 2001 15:52:23 -0500
Message-ID: <[email protected]>
X-MIMETrack: Serialize by Router on UNKmail.unk.edu/Servers/UNEBR(Release 5.0.6a |January
17, 2001) at 06/22/2001 03:52:24 PM
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Subject: [Maxima] reset() and other bugs
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
1. Maxima's reset function is broken: (Maxima = Maxima 5.4 for NT or
Maxima 5.6 for
RedHat 6.2; this output from Maxima 5.4)
(C1) reset();
Error: MACSYMA-TOP-LEVEL [or a callee] requires more than zero arguments.
Fast links are on: do (si::use-fast-links nil) for debugging
Error signalled by MACSYMA-TOP-LEVEL.
Broken at MACSYMA-TOP-LEVEL. Type :H for Help.
MAXIMA>>:q
(C2) fpprec : 45$
(C3) reset();
Error: $FPPREC is invalid as a function.
Fast links are on: do (si::use-fast-links nil) for debugging
2. For a rational x, the relative difference between x and float(x) is of
the order 10^-8; Maxima's
floats are (?) are type double-float, so the expected relative difference
is about 10^-16.
For example:
(C1) x : 12345678912345678789 / 23456789123456789$
(C2) float(float(x) / bfloat(x) - 1);
Warning: Float to bigfloat conversion of 526.31583748957928
(D2) 5.669861827984831E-8
3. There is documentation on the Maxima room function, yet it must be called as ?room()
instead:
(C4) room();
(D4) room()
(C5) ?room();
210/210 72.9% CONS BIGNUM RATIO COMPLEX STRUCTURE
.
.
.
4. The Maxima version of apropos is documented, but seems to be missing. This
works for me:
(defun $apropos ( s )
(cons '(mlist) (apropos-list s "MAXIMA")
)
5. The Macsyma Inc function facsum was handy for putting expressions in to a readable
form; unfortunately, facsum is missing from Maxima. At first I thought I could use
factorout instead. The following does what I wanted:
(C8) factorout(a*z + b*z + 1,a,b);
(D8) (b+a)*z+1
But the following doesn't:
(C13) factorout(s * 'diff(z,s) + z * 'diff(z,s) + 1,z,s);
(D13) z*'DIFF(z,s,1)+s*'DIFF(z,s,1)+1
With the facsum function, we would get
(c1) facsum(s * 'diff(z,s) + z * 'diff(z,s) + 1, 'diff(z,s));
(d1) (s + z) * 'diff(z,s) + 1
If anybody has a facsum function they can legally share, let me know. (The Macsyma
documentation says it was written by RL Brenner and is in the facexp package.)
6. Is the Maxima Poisson package broken?
(C1) intopois(cos(x) + 1);
Illegal arg to POISSIMP:
x
-- an error. Quitting. To debug this try DEBUGMODE(TRUE);)
7. The Maxima FFT package is missing files or is broken. Anybody have one?
Regards,
Barton Willis
From [email protected] Fri Jun 22 17:46:20 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f5MMkJM19629
for <[email protected]>; Fri, 22 Jun 2001 17:46:19 -0500
Received: from relay.EECS.Berkeley.EDU (relay.EECS.Berkeley.EDU [169.229.34.228])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id RAA07577
for <[email protected]>; Fri, 22 Jun 2001 17:46:19 -0500
Received: from cs.berkeley.edu (windsome.CS.Berkeley.EDU [128.32.131.134])
by relay.EECS.Berkeley.EDU (8.9.3/8.9.3) with ESMTP id PAA00680;
Fri, 22 Jun 2001 15:46:16 -0700 (PDT)
Message-ID: <[email protected]>
Date: Fri, 22 Jun 2001 15:46:16 -0700
From: Richard Fateman <[email protected]>
Organization: University of California, Berkeley
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: [email protected]
CC: [email protected]
Subject: Re: [Maxima] reset() and other bugs
References: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Here is one solution
[email protected] wrote:
>
>
>
>
> 6. Is the Maxima Poisson package broken?
>
> (C1) intopois(cos(x) + 1);
> Illegal arg to POISSIMP:
> x
> -- an error. Quitting. To debug this try DEBUGMODE(TRUE);)
try intopois (cos(X)^2+1) ;; NOTE CAPITAL X. the vars you can use are
U V W X Y Z not x.
This package was rewritten (by me) to be more flexible. It was given
to Macsyma Inc. I wonder if I own the rights? (I got a carton of
manuals in return for this.)
RJF
From [email protected] Sat Jun 23 07:54:20 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f5NCsKM11105
for <[email protected]>; Sat, 23 Jun 2001 07:54:20 -0500
Received: from UNKmail.unk.edu (UNKmail.UNK.edu [144.216.2.9])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id HAA17631
for <[email protected]>; Sat, 23 Jun 2001 07:54:20 -0500
From: [email protected]
To: [email protected]
Date: Sat, 23 Jun 2001 07:55:05 -0500
Message-ID: <[email protected]>
X-MIMETrack: Serialize by Router on UNKmail.unk.edu/Servers/UNEBR(Release 5.0.6a |January
17, 2001) at 06/23/2001 07:55:06 AM
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Subject: [Maxima] rational to float
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
simp.lisp incorrectly sets machine-mantissa-precision to be 24:
(eval-when (compile load)
(defvar machine-mantissa-precision 24 );;is this correct
)
For double precision, machine-mantissa-precision should be 53;
changing it corrects the problem with the precision of the rational
to float conversion. For Common Lisp, float.lisp correctly defines
machine-mantissa-precision with
MACHINE-MANTISSA-PRECISION
#+(OR PDP10 H6180) 27.
#+cl(integer-length (integer-decode-float most-positive-double-float))
Barton
From [email protected] Sun Jun 24 13:30:26 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f5OIUQM24086
for <[email protected]>; Sun, 24 Jun 2001 13:30:26 -0500
Received: from web12203.mail.yahoo.com (web12203.mail.yahoo.com [216.136.173.87])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with SMTP id NAA08505
for <[email protected]>; Sun, 24 Jun 2001 13:30:26 -0500
Message-ID: <[email protected]>
Received: from [128.42.49.180] by web12203.mail.yahoo.com; Sun, 24 Jun 2001 11:30:26 PDT
Date: Sun, 24 Jun 2001 11:30:26 -0700 (PDT)
From: C Y <[email protected]>
To: [email protected]
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: [Maxima] Workings of GCL
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Please forgive the newbie question. As I'm reading
about GCL, is it correct that the maxima code is first
translated to C code, and then compiled by gcc? Sorry
if this should be obvious but I'm not completely clear
on exactly how the compile process works.
CY
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
From [email protected] Sun Jun 24 16:01:27 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f5OL1RM27713
for <[email protected]>; Sun, 24 Jun 2001 16:01:27 -0500
Received: from admin.nni.com (admin.nni.com [216.107.0.218])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id QAA10302
for <[email protected]>; Sun, 24 Jun 2001 16:01:27 -0500
Received: from [216.107.61.48] (HELO cybernex.net)
by admin.nni.com (CommuniGate Pro SMTP 3.4.6)
with ESMTP id 21945120; Sun, 24 Jun 2001 17:01:24 -0400
Message-ID: <[email protected]>
Date: Sun, 24 Jun 2001 17:01:23 -0400
From: TenThumbs <[email protected]>
Reply-To: [email protected]
Organization: <>
X-Mailer: Mozilla 4.76C-To hell with 'em all. [en] (X11; U; Linux 2.2.19 i486)
X-Accept-Language: en
MIME-Version: 1.0
To: [email protected]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Subject: [Maxima] Changevar bug
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
This looks like a bug in something that changevar calls. Consider
the following:
(C2) expr1:sqrt(a^2+sqrt(b^2+c/x));
c 2 2
(D2) SQRT(SQRT(- + b ) + a )
x
(C3) assume(a>0,b>0,c>0,x>0,y>0,y>a);
(D3) [a > 0, b > 0, c > 0, x > 0, y > 0, y > a]
(C4) int1:'integrate(expr1,x);
/
[ c 2 2
(D4) I SQRT(SQRT(- + b ) + a ) dx
] x
/
(C5) change1:y=expr1;
c 2 2
(D5) y = SQRT(SQRT(- + b ) + a )
x
(C6) changevar(int1,change1,y,x);
/
[ c 2 2
(D6) I SQRT(SQRT(- + b ) + a ) dx
] x
/
Maxima can't do that but it can do:
(C7) int2:scanmap(factor,changevar(int1,change1^2,y,x));
2 2
Is a - y positive, negative, or zero?
negative;
/ 2 2
[ y (y - a) (y + a) SQRT(2 a - y )
(D7) - 4 c I --------------------------------- dy
] 2 2 2 2 2 2
/ (y - b - a ) (y + b - a )
The sqrt term is incorrect. It should be y. Maxima should have known
that y^2 > a^2 from the assumptions but it definitely knows because
I told it so. It ignored all that, assumed a^2 > y^2, and got the
wrong answer.
Perhaps the problem is related to this:
(C8) change2:solve(change1^2,x)[1];
2 2
Is a - y positive, negative, or zero?
negative;
c
(D8) x = ----------------------
4 2 2 2 4
y - 2 a y - b + a
(C9) frob:subst(change2,expr1);
4 2 2 4 2
(D9) SQRT(SQRT(y - 2 a y + a ) + a )
Obviously, the inner sqrt is the issue. Note also,
(C10) scanmap(factor,frob);
2
(D10) SQRT((y - a) (y + a) + a )
(C11) scanmap(factor,frob,bottomup);
Error: Caught fatal error [memory may be damaged]
Fast links are on: do (si::use-fast-links nil) for debugging
Error signalled by MACSYMA-TOP-LEVEL.
Broken at SCANMAP1. Type :H for Help.
MAXIMA>>
:q
(C12)
This last bit is just bad.
Thanks.
--
Earth
2001-06-24 21:00:44.919 UTC (JD 2452085.375520)
X = 0.056850134, Y = -0.935983388, Z = -0.405661861 (au)
X' = 0.016908515, Y' = 0.000876676, Z' = 0.000379300 (au/d)
From [email protected] Sun Jun 24 20:31:05 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f5P1V5M02184
for <[email protected]>; Sun, 24 Jun 2001 20:31:05 -0500
Received: from relay.EECS.Berkeley.EDU (relay.EECS.Berkeley.EDU [169.229.34.228])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id UAA12689
for <[email protected]>; Sun, 24 Jun 2001 20:31:04 -0500
Received: from cs.berkeley.edu (as3-1-85.HIP.Berkeley.EDU [136.152.194.7])
by relay.EECS.Berkeley.EDU (8.9.3/8.9.3) with ESMTP id SAA10124;
Sun, 24 Jun 2001 18:31:02 -0700 (PDT)
Message-ID: <[email protected]>
Date: Sun, 24 Jun 2001 18:26:02 -0700
From: Richard Fateman <[email protected]>
Organization: computer science division, UC Berkeley
X-Mailer: Mozilla 4.73 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: C Y <[email protected]>, [email protected]
Subject: Re: [Maxima] Workings of GCL
References: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
C Y wrote:
>
> Please forgive the newbie question. As I'm reading
> about GCL, is it correct that the maxima code is first
> translated to C code, and then compiled by gcc? Sorry
> if this should be obvious but I'm not completely clear
> on exactly how the compile process works.
>
> CY
>
The maxima code is lisp, mostly. Some pieces are
in the "macsyma language" and some may be in C or even
assembler.
There are many implementations
of lisp. Some of them just execute the lisp in
an interpretive fashion. Some compile lisp into assembler
or binary code. Some of them translate lisp into C
and then compile it.
Maxima has been compiled on several lisps with different
strategies. For example the Allegro Common Lisp version
compiles from lisp into assembler. GCL uses C. There
is nothing inherent in Maxima that requires it to ever
be translated to C. It is just GCL's implementation
strategy. The nice thing about it is that there are
so many systems with C compilers, that it is a fairly
general approach to portability.
If you want to learn how to compile lisp, there are various
places to look. A good one is Peter Norvig's Paradigms
of AI programming. (It includes considerable amounts of
other material also).
RJF
From [email protected] Sun Jun 24 21:59:44 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f5P2xiM04408
for <[email protected]>; Sun, 24 Jun 2001 21:59:44 -0500
Received: from convex.cs.unb.ca (convex.cs.unb.ca [131.202.244.141])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id VAA13615
for <[email protected]>; Sun, 24 Jun 2001 21:59:43 -0500
Received: (from bremner@localhost)
by convex.cs.unb.ca (8.11.3/8.11.3) id f5P32p277438;
Mon, 25 Jun 2001 00:02:51 -0300 (ADT)
(envelope-from bremner)
From: David Bremner <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <[email protected]>
Date: Mon, 25 Jun 2001 00:02:50 -0300
To: [email protected]
X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid
Subject: [Maxima] rude question (next release?)
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hi;
I realize this is an unreasonable question. But what are mailing lists
for? :-)
I want to put together a FreeBSD port for maxima (analogous to an srpm
for Linux folks.) Unfortunately release 5.6 does not work for me,
while the CVS current does. Basically I need a known good snapshot or
release to work against. Are there plans for such a snapshot/release
in the near future?
Of course I can always tar up the tree I just checked out (or use cvs
export), but I'd rather not distribute a "rogue" version.
All the best,
David
From [email protected] Mon Jun 25 00:15:12 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f5P5FBM07784
for <[email protected]>; Mon, 25 Jun 2001 00:15:12 -0500
Received: from mgw-x4.nokia.com (mgw-x4.nokia.com [131.228.20.27])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id AAA14485
for <[email protected]>; Mon, 25 Jun 2001 00:15:10 -0500
From: [email protected]
Received: from esvir04nok.ntc.nokia.com (esvir04nokt.ntc.nokia.com [172.21.143.36])
by mgw-x4.nokia.com (Switch-2.1.0/Switch-2.1.0) with ESMTP id f5P5HYG12045
for <[email protected]>; Mon, 25 Jun 2001 08:17:34 +0300 (EET DST)
Received: from esebh25nok.ntc.nokia.com (unverified) by esvir04nok.ntc.nokia.com
(Content Technologies SMTPRS 4.2.1) with ESMTP id <[email protected]> for <[email protected]>;
Mon, 25 Jun 2001 08:15:08 +0300
Received: by esebh25nok with Internet Mail Service (5.5.2652.78)
id <MV1LYBP1>; Mon, 25 Jun 2001 08:15:09 +0300
Message-ID: <593F7F3472A5D211B99B0008C7EAA08A06C891A0@eseis02nok>
To: [email protected]
Date: Mon, 25 Jun 2001 08:15:06 +0300
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2652.78)
Content-Type: text/plain;
charset="iso-8859-1"
Subject: [Maxima] Facsum / Format
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hello,
I think the function 'FORMAT' does what you tried with FACSUM.
I tried FORMAT(s * 'diff(z,s) + z * 'diff(z,s) + 1, %poly('diff(z,s)))
and got (z+s)*'diff(z,s,1)+1.
The function comes in a package, which can be downloaded here:
http://math.nist.gov/~BMiller/computer-algebra/
(Installation does not work the way it should on my machine, I had to
'compile_file' the format.lisp and coeflist.lisp files by hand and
'loadfile' the resulting .o files before using FORMAT.
The package also provides its own Poisson function, as far as I know.
Regards
Markus
From [email protected] Mon Jun 25 07:20:41 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f5PCKeM21338
for <[email protected]>; Mon, 25 Jun 2001 07:20:40 -0500
Received: from imr2.ericy.com (imr2.ericy.com [12.34.240.68])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id HAA21767
for <[email protected]>; Mon, 25 Jun 2001 07:20:40 -0500
Received: from mr7.exu.ericsson.se (mr7att.ericy.com [138.85.92.15])
by imr2.ericy.com (8.11.3/8.11.3) with ESMTP id f5PCKER05101
for <[email protected]>; Mon, 25 Jun 2001 07:20:14 -0500 (CDT)
Received: from eamrcnt749 (eamrcnt749.exu.ericsson.se [138.85.133.47])
by mr7.exu.ericsson.se (8.11.3/8.11.3) with SMTP id f5PCK9f01745
for <[email protected]>; Mon, 25 Jun 2001 07:20:09 -0500 (CDT)
Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt749 ; Mon Jun 25 07:20:09 2001 -0500
Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.82.5]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id IAA28899; Mon, 25 Jun 2001 08:20:34 -0400 (EDT)
Received: (from toy@localhost)
by edgedsp4.rtp.ericsson.se (8.9.3+Sun/8.9.1) id IAA01307;
Mon, 25 Jun 2001 08:20:07 -0400 (EDT)
X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to [email protected] using -f
To: [email protected]
Cc: [email protected]
Subject: Re: [Maxima] rational to float
References: <[email protected]>
From: Raymond Toy <[email protected]>
Date: 25 Jun 2001 08:20:06 -0400
In-Reply-To: <[email protected]>
Message-ID: <[email protected]>
Lines: 20
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (anise)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
>>>>> "willisb" == willisb <[email protected]> writes:
willisb> simp.lisp incorrectly sets machine-mantissa-precision to be 24:
willisb> (eval-when (compile load)
willisb> (defvar machine-mantissa-precision 24 );;is this correct
willisb> )
willisb> For double precision, machine-mantissa-precision should be 53;
willisb> changing it corrects the problem with the precision of the rational
willisb> to float conversion. For Common Lisp, float.lisp correctly defines
willisb> machine-mantissa-precision with
willisb> MACHINE-MANTISSA-PRECISION
willisb> #+(OR PDP10 H6180) 27.
willisb> #+cl(integer-length (integer-decode-float most-positive-double-float))
Would this not be better expressed as (float-digits 1d0)?
Ray
From [email protected] Wed Jun 27 05:58:10 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f5RAwAM23539
for <[email protected]>; Wed, 27 Jun 2001 05:58:10 -0500
Received: from community7.interfree.it (community7.interfree.it [213.158.72.62])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with SMTP id FAA04321
for <[email protected]>; Wed, 27 Jun 2001 05:58:10 -0500
Received: (qmail 32541 invoked by uid 320); 27 Jun 2001 10:58:08 -0000
Date: 27 Jun 2001 10:58:08 -0000
Message-ID: <[email protected]>
From: [email protected] ()
Reply-To: [email protected]
To: [email protected]
Subject: [Maxima] upper and lower case
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Are there any prescriptions about using upper and lower case in mazima commands and variables names
o is maxima completely case insensitive?
thank you
Paolo Pumilia
-----------------------------------------------------
Salve, il messaggio che hai ricevuto
衳tato inviato per mezzo del sistema
di web mail interfree. Se anche tu vuoi
una casella di posta free visita il
sito http://club.interfree.it
Ti aspettiamo!
-----------------------------------------------------
From [email protected] Wed Jun 27 18:16:36 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f5RNGaM19761
for <[email protected]>; Wed, 27 Jun 2001 18:16:36 -0500
Received: from cartman.ourservers.net (cartman.ourservers.net [216.233.120.236])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id SAA19206
for <[email protected]>; Wed, 27 Jun 2001 18:16:30 -0500
Received: by mail.ourservers.net (MX V5.2 AXP) id 1;
Wed, 27 Jun 2001 18:16:10 -0500
Date: Wed, 27 Jun 2001 18:16:09 -0500
From: Robert Alan Byer <[email protected]>
To: [email protected]
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="iso-8859-1"
Subject: [Maxima] Off Topic: GCL Questions...
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
-----BEGIN PGP SIGNED MESSAGE-----
Does anyone know if there is a mailing list or a WWW page for GCL?
I'm working on porting GCL to OpenVMS so I can use Maxima but I have some
questions and I can't seem to find a WWW page or e-mail address for
development issues.
Thanks.
+------------------+--------------------------+---------------+
| Robert Alan Byer | [email protected] | ICQ #65926579 |
+------------------+--------------------------+---------------+
| Send an E-mail request to obtain a copy of my PGP key. |
+-------------------------------------------------------------+
| "It is by caffeine alone I set my mind in motion. It is by |
| cans of cola the thoughts aquire speed, the hands aquire |
| shakes, the shakes become a warning. It is by caffeine |
| alone I set my mind in motion." |
+-------------------------------------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv
iQEVAwUBOzppNaVSqzlBVJbBAQGrlAgAm9eAFrj9GwJWF3I0CFVhXR1xnXPJOiaF
296wxHJamJe4bcDoI5kFoOOkPzNFKg5IU9RAVVO+sTTrHjHvjnQnr2xpjdnU77l4
MfE+yoF+fh9zwZJDRtoUS/ItVmzAW1/BMm1TEmG3RkjtVQDH/PTSzZnwtcQg/S0n
7YvyRl0fuyNmm22Xw+4k7XE7R9Ty78rkvtYhFUd+EyS1CjMcoO2FFUi6kkcmSzPC
fGx0wEjOkII9kWC73HrN0LuzJUijmiNIsulNyrIoLKMvYBEznq8D8L+m1ILlTP3j
3gQ9259N8e9LXoLHsLZd2KqAyGluAg+7k6VoJ9f6rNOKh46MDlgnsA==
=Ji3h
-----END PGP SIGNATURE-----
From [email protected] Fri Jun 29 11:37:54 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f5TGbsM22994
for <[email protected]>; Fri, 29 Jun 2001 11:37:54 -0500
Received: from xena.urbi.com.br (IDENT:[email protected] [200.185.120.2])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id LAA01408
for <[email protected]>; Fri, 29 Jun 2001 11:37:53 -0500
Received: from [200.185.121.174] (alo50.urbi.com.br [200.185.121.174])
by xena.urbi.com.br (8.9.3/8.9.3) with ESMTP id NAA05315
for <[email protected]>; Fri, 29 Jun 2001 13:38:36 -0300
Message-Id: <[email protected]>
X-Mailer: Microsoft Outlook Express Macintosh Edition - 4.5 (0410)
Date: Fri, 29 Jun 2001 13:36:35 -0300
From: "Lizardo H. C. M. Nunes" <[email protected]>
To: [email protected]
Mime-version: 1.0
X-Priority: 3
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
Subject: [Maxima] Maxima for Darwin?
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hi,
I wish we could have a port of Maxima for Darwin, Apple's new OS.
First I attempted to build GCL, but I couldn't so far and nobody was capable
yet.
To start with, I'd be glad with a command-line tool. So, I'm wondering how
to do that.
i)Is it possible to use another compiler?
ii)Is there a workaround? Like transform lisp files in C files --- that's
what gcl does isn't it?
If you have any idea, I'd really appreciate any kind of help or hint.
Thanks a lot,
Lizardo.
--
From [email protected] Sat Jun 30 01:49:16 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f5U6nFM11725
for <[email protected]>; Sat, 30 Jun 2001 01:49:15 -0500
Received: from community7.interfree.it (community7.interfree.it [213.158.72.62])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with SMTP id BAA18262
for <[email protected]>; Sat, 30 Jun 2001 01:49:14 -0500
Received: (qmail 7014 invoked by uid 320); 30 Jun 2001 06:49:10 -0000
Date: 30 Jun 2001 06:49:10 -0000
Message-ID: <[email protected]>
From: [email protected] ()
Reply-To: [email protected]
To: [email protected]
Subject: [Maxima] how to replace factors
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I am trying to exploit maxima to check some algebric calculations of mine;
replacement of factors with others is something i am not able to get:
Here is an example, in which chi*om12 should be changed into omega12, when
the expressions are elements of a matrix, as in the batch file here enclosed.
You can see that replacemnt in gradFF matrix elements has not had effect,
i.e.:
(C49) gradFF[1,1];
(D49) 2 v (t3 v + t2 v + j2 v - chi om12 t1)
+ 4 v (t3 v - t1 v - J1 v + chi om23 t2)
+ 2 v (t2 v - t1 v - (j2 + J1) v + chi om13 t3)
By the way, gradFF is a vector, but it seemed that using a second (fixed)
index to print out its elements gave no trouble, rather it allowed to hide
the square brackets on the borders.
I have checked that replacement can be performed in simpler expressions,
so it is possible that my troubles are due to the way my matrix has been
built up.
thank you for your help
Paolo Pumlia
---- maxima batch file ----------------
/* test 1 - paolo pumilia, 30 jun 2001 */
n : 14;
array(x,n);
x[1] : j1;
x[2] : j2;
x[3] : t1;
x[4] : t2;
x[5] : t3;
x[6] : w1;
x[7] : w2;
x[8] : w3;
x[9] : R1;
x[10] : R2;
x[11] : R3;
x[12] : P1;
x[13] : P2;
x[14] : P3;
omega12 : chi*(r1 - r2);
omega13 : chi*(r1 - r3);
omega23 : chi*(r2 - r3);
F[1] : 2*v*w1 + 4*v*w2 + 2*v*w3;
F[2] : -4*v*w1 - 2*v*w2 + 2*v*w3;
F[3] : omega12*w1 + v*w3 + v*w2;
F[4] : -omega23*w2 - v*w3 + v*w1;
F[5] : -omega13*w3 - v*w1 - v*w2;
F[6] : -omega12*t1 + v*t3 + v*j2 + v*t2;
F[7] : omega23*t2 + v*t3 - v*j1 - v*t1;
F[8] : omega13*t3 - v*t1 + v*t2 - v*(j1 + j2);
F[9] : p1/M;
F[10] : p2/M;
F[11] : p3/M;
F[12] : -M*omega^2*r1 - chi*(c + j1/2 + j2)/3 - gamma*p1;
F[13] : -M*omega^2*r2 - chi*(c + j1/2 - j2/2)/3 - gamma*p2;
F[14] : -M*omega^2*r3 - chi*(c - j1 - j2/2)/3 - gamma*p3;
FF : matrix(listarray(F));
Ft : transpose(FF);
for i:1 thru n step 1 do (
for ii:1 thru n step 1 do (
y[i,ii] : diff(F[i],x[ii])
)
);
gradF : genmatrix(y,n,n);
gradFF : gradF . Ft ;
for i : 1 thru n step 1 do setelmx(subst(om12,r1 - r2,gradFF[i,1]),i,1,gradFF)$
for i : 1 thru n step 1 do setelmx(subst(-om12,r2 - r1,gradFF[i,1]),i,1,gradFF)$
for i : 1 thru n step 1 do setelmx(subst(om23,r2 - r3,gradFF[i,1]),i,1,gradFF)$
for i : 1 thru n step 1 do setelmx(subst(-om23,r3 - r2,gradFF[i,1]),i,1,gradFF)$
for i : 1 thru n step 1 do setelmx(subst(om13,r1 - r3,gradFF[i,1]),i,1,gradFF)$
for i : 1 thru n step 1 do setelmx(subst(-om13,r3 - r1,gradFF[i,1]),i,1,gradFF)$
for i : 1 thru n step 1 do setelmx(subst(omega12,chi*om12,gradFF[i,1]),i,1,gradFF)$
for i : 1 thru n step 1 do setelmx(subst(omega23,chi*om23,gradFF[i,1]),i,1,gradFF)$
for i : 1 thru n step 1 do setelmx(subst(omega13,chi*om13,gradFF[i,1]),i,1,gradFF)$
----
-----------------------------------------------------
Salve, il messaggio che hai ricevuto
衳tato inviato per mezzo del sistema
di web mail interfree. Se anche tu vuoi
una casella di posta free visita il
sito http://club.interfree.it
Ti aspettiamo!
-----------------------------------------------------
From [email protected] Sat Jun 30 07:30:31 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f5UCUVM16915
for <[email protected]>; Sat, 30 Jun 2001 07:30:31 -0500
Received: from bilbo.localnet (root@[24.18.173.241])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id HAA23956
for <[email protected]>; Sat, 30 Jun 2001 07:30:31 -0500
Received: (from boris@localhost)
by bilbo.localnet (8.9.3/8.9.3/Debian 8.9.3-21) id IAA20253;
Sat, 30 Jun 2001 08:30:27 -0400
Date: Sat, 30 Jun 2001 08:30:27 -0400
Message-Id: <[email protected]>
From: Boris Veytsman <[email protected]>
To: [email protected]
Subject: [Maxima] A bug in trig functions
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Here is a strange bug in trig simplification:
GCL (GNU Common Lisp) Version(2.4.0) Tue Jun 5 10:09:51 EDT 2001
Licensed under GNU Library General Public License
Contains Enhancements by W. Schelter
Maxima 5.6 Tue Jun 5 10:09:30 EDT 2001 (with enhancements by W. Schelter).
Licensed under the GNU Public License (see file COPYING)
(C1) declare(n,integer);
(D1) DONE
(C2) sin(n*%pi/2);
Error: ((RAT) 1 2) is not of type NUMBER.
Fast links are on: do (si::use-fast-links nil) for debugging
Error signalled by MACSYMA-TOP-LEVEL.
Broken at MACSYMA-TOP-LEVEL. Type :H for Help.
MAXIMA>>
--
Good luck
-Boris
If Love Were Oil, I'd Be About A Quart Low
-- Book title by Lewis Grizzard
From [email protected] Sat Jun 30 10:12:48 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f5UFCmM19439
for <[email protected]>; Sat, 30 Jun 2001 10:12:48 -0500
Received: from bilbo.localnet (root@[24.18.173.241])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id KAA26865
for <[email protected]>; Sat, 30 Jun 2001 10:12:48 -0500
Received: (from boris@localhost)
by bilbo.localnet (8.9.3/8.9.3/Debian 8.9.3-21) id LAA20874;
Sat, 30 Jun 2001 11:12:44 -0400
Date: Sat, 30 Jun 2001 11:12:44 -0400
Message-Id: <[email protected]>
From: Boris Veytsman <[email protected]>
To: [email protected]
Subject: [Maxima] Two questions about omplotdata
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings:
I like the OpenMath plotter that now bundled with maxima. Two
questions for the people here who know it better than I:
1. Is there any documentation for the input file format?
2. Is it possible to have 3d plots with axes labeled and having tick
marks?
--
Good luck
-Boris
The human mind treats a new idea the way the body treats a strange
protein -- it rejects it.
-- P. Medawar
From [email protected] Sun Jul 1 14:09:08 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f61J97M16013
for <[email protected]>; Sun, 1 Jul 2001 14:09:07 -0500
Received: from UNKmail.unk.edu (UNKmail.UNK.edu [144.216.2.9])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id OAA23593
for <[email protected]>; Sun, 1 Jul 2001 14:09:07 -0500
From: [email protected]
To: [email protected]
Cc: [email protected]
Date: Sun, 1 Jul 2001 14:09:44 -0500
Message-ID: <[email protected]>
X-MIMETrack: Serialize by Router on UNKmail.unk.edu/Servers/UNEBR(Release 5.0.6a |January
17, 2001) at 07/01/2001 02:09:45 PM
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Subject: [Maxima] (no subject)
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
First, try using ratsubst instead of subst:
(C5) subst(omega23, chi * om23, chi^2 * om23^2 + 43);
(D5) chi^2*om23^2+43
(C6) ratsubst(omega23, chi * om23, chi^2 * om23^2 + 43);
(D6) omega23^2+43
If this doesn't work, you can instead try something like
subst(omega23 / chi, om23, ...)
Regards,
Barton Willis
P.S. Many thanks for the folks who helped me with Poisson and helped me
find the format package the other week; format has worked well for me and it even
contains an enhanced Poisson package. Finally,
(setq machine-mantissa-precision (float-digits 1.0d0)) works for me.
From [email protected] Mon Jul 2 06:53:49 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f62BrmM02485
for <[email protected]>; Mon, 2 Jul 2001 06:53:48 -0500
Received: from UNKmail.unk.edu (UNKmail.UNK.edu [144.216.2.9])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id GAA11929
for <[email protected]>; Mon, 2 Jul 2001 06:53:48 -0500
From: [email protected]
Subject: Re: [Maxima] A bug in trig functions
To: [email protected]
Cc: Boris Veytsman <[email protected]>
Date: Mon, 2 Jul 2001 06:54:24 -0500
Message-ID: <[email protected]>
X-MIMETrack: Serialize by Router on UNKmail.unk.edu/Servers/UNEBR(Release 5.0.6a |January
17, 2001) at 07/02/2001 06:54:26 AM
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
The mmod function in trigi.lisp is to blame for the problem with sin(n %pi
/ 2) with
n declared an integer. Changing MMOD to
(defun MMOD (x y)
(cond ((and ($ratnump x) ($ratnump y))
(let
((d (lcm ($denom x) ($denom y))))
(setq x (mul* d x))
(setq y (mul* d y))
(div (mod x y) d)))
(t nil)))
seems to fix this problem. After make, Maxima was then able to correctly evaluate
sin(n %pi), sin(n %pi / 2), cos(n %pi), and cos(n %pi / 2), where n is declared to
be an integer.
Regards,
Barton
From [email protected] Mon Jul 2 08:54:37 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f62DsbM04815
for <[email protected]>; Mon, 2 Jul 2001 08:54:37 -0500
Received: from wigner.cstc.lan (root@[212.171.74.69])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id IAA15208
for <[email protected]>; Mon, 2 Jul 2001 08:54:35 -0500
Received: from wigner.cstc.lan (pol@localhost [127.0.0.1])
by localhost (8.12.0.Beta10/8.12.0.Beta10/Debian 8.12.0.Beta10) with ESMTP id f62E0wbs005794
for <[email protected]>; Mon, 2 Jul 2001 16:00:58 +0200
Received: (from pol@localhost)
by wigner.cstc.lan (8.12.0.Beta10/8.12.0.Beta10/Debian 8.12.0.Beta10) id f62E0wZu005789
for [email protected]; Mon, 2 Jul 2001 16:00:58 +0200
Date: Mon, 2 Jul 2001 16:00:37 +0200
From: Paolo Pumilia <[email protected]>
To: [email protected]
Message-ID: <[email protected]>
Reply-To: [email protected]
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.18i
X-Operating-System: Linux wigner 2.4.2-xpol-05
Subject: [Maxima] about factoring out
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Thank you for your help on substitutiion procedures, i managed to
rearrange my expressions properly
A questions about factoring out expressions in arrays: my aim is to factor out
each element in dotdensity array, defined below.
Each element in array dotdensity contains elements from array c.
I should be able to factor out each element in dotdensity with respect to every
elemnt in c, exept for the null ones.
As an example take the element (1,1):
(C11) dotdensity[1,1];
(D11) %I c cc V - %I cc c V
1 2 1 2
That should be factored into: %I V ( c cc - cc c )
1 2 1 2
Since i do not which c parameters appear in dotdensity[i,j], i tried to factor out
k
with respect to every c , using the listarray function, but no luck.
k
Listarray(c) yields
(C7) listarray(c);
(D7) [0, 0]
What is wrong?
Is there another way to get the same results?
thank you
Paolo Pumilia
------ ecnc
/* test on factoring out expressions in arrays */
/* paolo pumilia 1 jul 2001 */
n : 3$
/* Arrays have dimension n+2, including the elements 0 and n+1, */
/* required for the boundary conditions to be taken into account. */
c[0] : 0;
c[n+1] : 0 ;
cc[0] : 0;
cc[n+1] : 0 ;
for i : 1 thru n step 1 do (
dotc[i] : -%i*( omega0[i]*c[i] + V*(c[i-1] + c[i+1]) ),
dotcc[i] : %i*( omega0[i]*cc[i] + V*(cc[i-1] + cc[i+1]) ) ,
'c[i],
'cc[i]
)$
for i : 1 thru n step 1 do (
for j : 1 thru n step 1 do (
dotdensity[i,j] : dotcc[i]*c[j] + cc[i]*dotc[j] ,
dotdensity[i,j] : factorout(
expand(
dotdensity[i,j]),listarray(c),listarray(cc))
)
);
-------- end enc
From [email protected] Tue Jul 3 08:45:30 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f63DjUM11261
for <[email protected]>; Tue, 3 Jul 2001 08:45:30 -0500
Received: from xena.urbi.com.br (IDENT:[email protected] [200.185.120.2])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id IAA14399
for <[email protected]>; Tue, 3 Jul 2001 08:45:29 -0500
Received: from [200.185.121.179] (alo55.urbi.com.br [200.185.121.179])
by xena.urbi.com.br (8.9.3/8.9.3) with ESMTP id KAA21423
for <[email protected]>; Tue, 3 Jul 2001 10:45:57 -0300
Message-Id: <[email protected]>
X-Mailer: Microsoft Outlook Express Macintosh Edition - 4.5 (0410)
Date: Tue, 03 Jul 2001 10:37:51 -0300
From: "Lizardo H. C. M. Nunes" <[email protected]>
To: [email protected]
Mime-version: 1.0
X-Priority: 3
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
Subject: [Maxima] CLISP and Maxima (Maxima for Darwin)
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hi,
I'm trying to port Maxima for Darwin. First I need a Common LISP compiler.
But I couldn't install GCL from sources...
I wish I could have a minimal port with Maxima as a comand-line tool at
least. So, I'm asking you:
i) Is there a document describing what are the portions of Maxima and how to
compile them step by step?
ii) Is it possible to compile certain parts of Maxima with CLISP? Would it
be functional?
If somebody can answer me and somehow give me any hint, I'd really
appreciate. I need some documentation mainly...
Thanks in advance,
Lizardo.
--
From [email protected] Tue Jul 3 11:45:40 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f63GjeM23795
for <[email protected]>; Tue, 3 Jul 2001 11:45:40 -0500
Received: from lucky.upol.cz (IDENT:[email protected] [158.194.72.60])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id LAA17768
for <[email protected]>; Tue, 3 Jul 2001 11:45:39 -0500
Received: from localhost (richter@localhost)
by lucky.upol.cz (8.11.2/8.11.2) with ESMTP id f63Gjig23305
for <[email protected]>; Tue, 3 Jul 2001 18:45:44 +0200
Date: Tue, 3 Jul 2001 18:45:44 +0200 (CEST)
From: Lukas Richterek <[email protected]>
To: <[email protected]>
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=ISO-8859-2
Content-Transfer-Encoding: 8BIT
Subject: [Maxima] gcl-2.4.0 make error
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Dear developers of Maxima,
I have tried to compile gcl-2.4.0 under Red-Hat Linux 7.1 (gcc 2.96-81).
The configure script seemed to work O.K., but at the end it writes the
message
"patching o/makefile for gcc bug in 2.96".
When I run "make", it ends (after some work) with an error
...
In file included from cmpvar.c:2:
../h/cmpinclude.h:2787:8: warning: extra tokens at end of #endif directive
../xbin/append cmpvar.data cmpvar.o
cc -c -O -I../h cmpvs.c
In file included from cmpvs.c:2:
../h/cmpinclude.h:2787:8: warning: extra tokens at end of #endif directive
../xbin/append cmpvs.data cmpvs.o
cc -c -O -I../h cmpwt.c
In file included from cmpwt.c:2:
../h/cmpinclude.h:2787:8: warning: extra tokens at end of #endif directive
../xbin/append cmpwt.data cmpwt.o
make[1]: Leaving directory `/home/richter/domu/gcl-2.4.0/cmpnew'
(cd unixport; make saved_gcl)
make[1]: Entering directory `/home/richter/domu/gcl-2.4.0/unixport'
cc -c -I../h -c -o ../mp/mpi.o ../mp/mpi.c
cc -c -I../h -c -o ../mp/mp2.o ../mp/mp2.c
make[1]: *** No rule to make target `../mp/libmport.a', needed by
`raw_gcl'. Stop.
make[1]: Leaving directory `/home/richter/domu/gcl-2.4.0/unixport'
make: *** [all] Error 2
...
What should I change to compile the gcl source successfully?
Thanks for any hints,
faithfully
Lukas Richterek
--
Department of Theoretical Physics | tel.:+420-68-5634103
Fac. Nat. Sciences, | fax :+420-68-5225737
Palacky University | e-mail: [email protected]
Svobody 26, Olomouc, CZ-771 46 |
C z e c h R e p u b l i c | /|||\
http://aix.upol.cz/~richter/index.html ( o|o )
---------------------------------------- \ u / ------------------
Pokud chcete, piste mi prosim cesky v kodovani ISO-8859-2!
--- >>> http://www.cestina.cz <<< ---
Prectete-li nasledujici vetu s diakritikou, je vse v poradku:
Pokud chcete, piڴe mi prosim 馳ky v k󤯶⯭ ISO-8859-2!
------------------------------------------------------------------
From [email protected] Tue Jul 3 13:09:15 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f63I9FM26923
for <[email protected]>; Tue, 3 Jul 2001 13:09:15 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id NAA19742
for <[email protected]>; Tue, 3 Jul 2001 13:09:15 -0500
Received: (from wfs@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id NAA30295;
Tue, 3 Jul 2001 13:09:13 -0500
Date: Tue, 3 Jul 2001 13:09:13 -0500
Message-Id: <[email protected]>
Reply-to: [email protected]
From: William Schelter <[email protected]>
To: [email protected]
CC: [email protected]
In-reply-to: <[email protected]> ([email protected])
Subject: Re: [Maxima] CLISP and Maxima (Maxima for Darwin)
Reply-to: [email protected]
References: <[email protected]>
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
All of maxima should work with clisp including the xmaxima interface should work
with clisp as well as gcl. Please take the latest cvs snapshot for this though...
see the http://www.ma.utexas.edu/maxima.htm page..
From [email protected] Tue Jul 3 13:09:17 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f63I9GM26927
for <[email protected]>; Tue, 3 Jul 2001 13:09:16 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id NAA19746
for <[email protected]>; Tue, 3 Jul 2001 13:09:16 -0500
Received: (from wfs@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id NAA30239;
Tue, 3 Jul 2001 13:09:10 -0500
Date: Tue, 3 Jul 2001 13:09:10 -0500
Message-Id: <[email protected]>
Reply-to: [email protected]
From: William Schelter <[email protected]>
To: [email protected]
CC: [email protected]
In-reply-to: <[email protected]>
([email protected])
Subject: Re: [Maxima] upper and lower case
Reply-to: [email protected]
References: <[email protected]>
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
To make old code work, maxima accepts all of the original commands (defined
in the base lisp) in any case. RatSimp, RATSIMP, ratsimp will all work.
However for commands which are not in the base image, the case is important.
Joe(x):=x+2;
joe(x):=x+3;
JOE(x):=x+4;
will all be distinct functions.
From [email protected] Tue Jul 3 13:22:22 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f63IMMM27524
for <[email protected]>; Tue, 3 Jul 2001 13:22:22 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id NAA19900
for <[email protected]>; Tue, 3 Jul 2001 13:22:22 -0500
Received: (from wfs@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id NAA30302;
Tue, 3 Jul 2001 13:09:13 -0500
Date: Tue, 3 Jul 2001 13:09:13 -0500
Message-Id: <[email protected]>
Reply-to: [email protected]
From: William Schelter <[email protected]>
To: [email protected]
CC: [email protected]
In-reply-to: <[email protected]> (message
from Lukas Richterek on Tue, 3 Jul 2001 18:45:44 +0200 (CEST))
Subject: Re: [Maxima] gcl-2.4.0 make error
Reply-to: [email protected]
References: <[email protected]>
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
make[1]: Entering directory `/home/richter/domu/gcl-2.4.0/unixport'
cc -c -I../h -c -o ../mp/mpi.o ../mp/mpi.c
cc -c -I../h -c -o ../mp/mp2.o ../mp/mp2.c
For some reason it seems to be using the old 'mp' stuff. gcl 2.4
should be using the 'gmp' stuff, which is much more efficient, and it
is unclear the old 'mp' stuff will still work in it.
Please use the latest snapshot of gcl or update from the cvs...
The snapshots are referenced on the http://www.ma.utexas.edu/maxima.html
page.
From [email protected] Tue Jul 3 16:55:51 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f63LtpM02287
for <[email protected]>; Tue, 3 Jul 2001 16:55:51 -0500
Received: from web14707.mail.yahoo.com (web14707.mail.yahoo.com [216.136.224.124])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with SMTP id QAA22852
for <[email protected]>; Tue, 3 Jul 2001 16:55:50 -0500
Message-ID: <[email protected]>
Received: from [128.238.35.109] by web14707.mail.yahoo.com; Tue, 03 Jul 2001 14:55:49 PDT
Date: Tue, 3 Jul 2001 14:55:49 -0700 (PDT)
From: Virgil <[email protected]>
To: [email protected]
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: [Maxima] Numerical solution to a simple exponential equation
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I am interested in obtaining solutions to equations involving exp(x),
that is %E^x.
For a very simple example, consider:
(C1) h(x):=x*exp(-x);
(C2) solve(h(x)=1/4);
x
%E
(D2) [x = ---]
4
Of course, Maxima is correct to say that x=exp(x)/4 "solves" the above
equation, but that is not really what one is looking for.
Numerically, one can verify that x=0.36 and x= 2.15 would make
h(x)=0.25.
But, how to get Maxima to give this answer??
I tried different "switches" for "solve" but could not find anyone that
would lead to a numerical solution.
I also found and tried the function zsolve, whose description sounds
promising, but could not get it to work.
Unfortunately, this function appears to be undocumented.
Thanks in advance for any suggestions!
__Virgil
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
From [email protected] Tue Jul 3 17:35:42 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f63MZgM03587
for <[email protected]>; Tue, 3 Jul 2001 17:35:42 -0500
Received: from web14704.mail.yahoo.com (web14704.mail.yahoo.com [216.136.224.121])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with SMTP id RAA23388
for <[email protected]>; Tue, 3 Jul 2001 17:35:41 -0500
Message-ID: <[email protected]>
Received: from [128.238.35.118] by web14704.mail.yahoo.com; Tue, 03 Jul 2001 15:35:41 PDT
Date: Tue, 3 Jul 2001 15:35:41 -0700 (PDT)
From: Virgil <[email protected]>
To: Boris Veytsman <[email protected]>
Cc: [email protected]
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: [Maxima] Re: Numerical solution to a simple exponential equation
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
WOW! That was quick, Boris! It almost looks as if you sent your answer
before I asked the question! :-)
And it even works (I have already tried it)!
I also found a way to get the other solution.
Thank you very much!
--Virgil
P.S. I am replying to the list in case someone else may want to know.
It seems that Maxima's initial help/tutorial does not address the issue
of how to obtain numerical solutions when explicit symbolic solutions
are not available.
--- Boris Veytsman <[email protected]> wrote:
> > From: Virgil <[email protected]>
> > Date: Tue, 3 Jul 2001 14:55:49 -0700 (PDT)
>
> >
> > (C1) h(x):=x*exp(-x);
> > (C2) solve(h(x)=1/4);
> > x
> > %E
> > (D2) [x = ---]
> > 4
> >
> > Of course, Maxima is correct to say that x=exp(x)/4 "solves" the
> above
> > equation, but that is not really what one is looking for.
> >
> > Numerically, one can verify that x=0.36 and x= 2.15 would make
> > h(x)=0.25.
> >
> > But, how to get Maxima to give this answer??
> >
>
>
> (C191) load(newton);
>
> (D191) /usr/lib/maxima-5.6/share/newton.mc
> (C192) NEWTON(x*exp(-x)-1/4,x,0,1.e-6);
>
> (D192) 0.35740290341774
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
From [email protected] Tue Jul 3 17:42:40 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f63MgeM03776
for <[email protected]>; Tue, 3 Jul 2001 17:42:40 -0500
Received: from mail1.smarttech.com (h64-42-196-232.gtconnect.net [64.42.196.232])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id RAA23589
for <[email protected]>; Tue, 3 Jul 2001 17:42:39 -0500
Received: by mail.smarttech.com with Internet Mail Service (5.5.2653.19)
id <N8YVDK18>; Tue, 3 Jul 2001 16:42:28 -0600
Message-ID: <[email protected]>
From: David Holmgren <[email protected]>
To: "'Virgil'" <[email protected]>
Cc: "'[email protected]'" <[email protected]>
Subject: RE: [Maxima] Numerical solution to a simple exponential equation
Date: Tue, 3 Jul 2001 16:42:24 -0600
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hi,
There is a Newton method program in the share subdirectory; this should
help, I hope
Dave Holmgren
Dr. David E. Holmgren,
Imaging Scientitst,
SMART Technologies, Inc.
Calgary, AB, Canada
http://www.smarttech.com
[403]-235-1452, ext. 251
[email protected]
> -----Original Message-----
> From: Virgil [SMTP:[email protected]]
> Sent: Tuesday, July 03, 2001 3:56 PM
> To: [email protected]
> Subject: [Maxima] Numerical solution to a simple exponential equation
>
> I am interested in obtaining solutions to equations involving exp(x),
> that is %E^x.
>
> For a very simple example, consider:
>
> (C1) h(x):=x*exp(-x);
> (C2) solve(h(x)=1/4);
> x
> %E
> (D2) [x = ---]
> 4
>
> Of course, Maxima is correct to say that x=exp(x)/4 "solves" the above
> equation, but that is not really what one is looking for.
>
> Numerically, one can verify that x=0.36 and x= 2.15 would make
> h(x)=0.25.
>
> But, how to get Maxima to give this answer??
>
> I tried different "switches" for "solve" but could not find anyone that
> would lead to a numerical solution.
>
> I also found and tried the function zsolve, whose description sounds
> promising, but could not get it to work.
> Unfortunately, this function appears to be undocumented.
>
> Thanks in advance for any suggestions!
>
> __Virgil
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
> _______________________________________________
> Maxima mailing list
> [email protected]
> http://www.math.utexas.edu/mailman/listinfo/maxima
From [email protected] Wed Jul 4 05:37:31 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f64AbUM25056
for <[email protected]>; Wed, 4 Jul 2001 05:37:31 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id FAA03748
for <[email protected]>; Wed, 4 Jul 2001 05:37:30 -0500
Received: (from wfs@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id FAA10008;
Wed, 4 Jul 2001 05:37:28 -0500
Date: Wed, 4 Jul 2001 05:37:28 -0500
Message-Id: <[email protected]>
Reply-to: [email protected]
From: William Schelter <[email protected]>
To: [email protected]
CC: [email protected]
In-reply-to: <[email protected]> (message
from Virgil on Tue, 3 Jul 2001 14:55:49 -0700 (PDT))
Subject: Re: [Maxima] Numerical solution to a simple exponential equation
Reply-to: [email protected]
References: <[email protected]>
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
You could use 'newton'
For example to get a root to 100 decimal places do
(C1) load("newton")$
(C2) fpprec:100$
(C3) NEWTON(x*exp(-x)-bfloat(1/4),x,bfloat(0),1.0b-100);
(D3) 3.5740295618138890306881110405590475331659055507601204362762044858967140#
25961457962896168513444411851B-1
From [email protected] Sun Jul 8 23:47:27 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f694lRM30440
for <[email protected]>; Sun, 8 Jul 2001 23:47:27 -0500
Received: from xena.urbi.com.br (IDENT:[email protected] [200.185.120.2])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA09929
for <[email protected]>; Sun, 8 Jul 2001 23:47:26 -0500
Received: from [200.185.121.88] (foo24.urbi.com.br [200.185.121.88])
by xena.urbi.com.br (8.9.3/8.9.3) with ESMTP id BAA26102
for <[email protected]>; Mon, 9 Jul 2001 01:47:34 -0300
Message-Id: <[email protected]>
X-Mailer: Microsoft Outlook Express Macintosh Edition - 4.5 (0410)
Date: Mon, 09 Jul 2001 01:43:44 -0300
From: "Lizardo H. C. M. Nunes" <[email protected]>
To: [email protected]
Mime-version: 1.0
X-Priority: 3
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
Subject: [Maxima] Maxima on Darwin
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hi,
I have CLISP 2.25.1 running on Darwin (Mac OS 10.0.4).
I wish you could help me porting it for Darwin:
i) First, I don't have a Fortran compiler yet, hence, I think I won't be
able to compile the numerical package, is it right?
ii) Second, I want to disable the ploting features and xmaxima for the
moment and just have a command-line tool.
I couldn't find a good tutorial or HOWTO in order to build it and, so far,
the README didn't say much, that's why I'm asking for help.
I want to:
a) Build "maxima" under the constraints above on my home directory and test
it.
b)Provide a Carbon application later on.
I need some introductory remarks or ---even better--- a step by step
tutorial describing each component of "src" directory and how to build it
with CLISP (if possible ;).
Any tip is welcome.
Thanks in advance,
Lizardo.
--
From [email protected] Mon Jul 9 01:19:46 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f696JkM01670
for <[email protected]>; Mon, 9 Jul 2001 01:19:46 -0500
Received: from xena.urbi.com.br (IDENT:[email protected] [200.185.120.2])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id BAA14564
for <[email protected]>; Mon, 9 Jul 2001 01:19:45 -0500
Received: from [200.185.121.109] (foo45.urbi.com.br [200.185.121.109])
by xena.urbi.com.br (8.9.3/8.9.3) with ESMTP id DAA30595;
Mon, 9 Jul 2001 03:19:51 -0300
Message-Id: <[email protected]>
X-Mailer: Microsoft Outlook Express Macintosh Edition - 4.5 (0410)
Date: Mon, 09 Jul 2001 03:18:25 -0300
Subject: Re: [Maxima] Maxima on Darwin
From: "Lizardo H. C. M. Nunes" <[email protected]>
To: Richard Fateman <[email protected]>
CC: [email protected]
Mime-version: 1.0
X-Priority: 3
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
--
----------
>
> It might also be worth while to try again to get GCL to run, since
> Bill Schelter has worked to make them fit well.
> RJF
Well, there's a "src/compile-clisp.lisp" file, what suggests that Maxima was
already built using CLISP. Unfortunately it wasn't well documented. I
searched in the mailing archives and couldn't find much too.
Any tip would be great.
Thanks in advance,
Lizardo.
From [email protected] Sun Jul 1 14:04:36 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f61J4aM15941
for <[email protected]>; Sun, 1 Jul 2001 14:04:36 -0500
Received: from UNKmail.unk.edu (UNKmail.UNK.edu [144.216.2.9])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id OAA23546
for <[email protected]>; Sun, 1 Jul 2001 14:04:36 -0500
From: [email protected]
Message-ID: <[email protected]>
To: xpol%[email protected]
Subject: RE: [Maxima] how to replace factors
Date: Sun, 1 Jul 2001 14:05:13 -0500
X-MIMETrack: Serialize by Router on UNKmail.unk.edu/Servers/UNEBR(Release 5.0.6a |January
17, 2001) at 07/01/2001 02:05:14 PM
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
First, try using ratsubst instead of subst:
(C5) subst(omega23, chi * om23, chi^2 * om23^2 + 43);
(D5) chi^2*om23^2+43
(C6) ratsubst(omega23, chi * om23, chi^2 * om23^2 + 43);
(D6) omega23^2+43
If this doesn't work, you can instead try something like
subst(omega23 / chi, om23, ...)
Regards,
Barton Willis
P.S. Many thanks for the folks who helped me with Poisson and helped me
find the format package the other week; format has worked well for me and it even
contains an enhanced Poisson package. Finally,
(setq machine-mantissa-precision (float-digits 1.0d0)) works for me.
From [email protected] Mon Jul 9 01:40:14 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f696eEM02109
for <[email protected]>; Mon, 9 Jul 2001 01:40:14 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id BAA15228
for <[email protected]>; Mon, 9 Jul 2001 01:40:14 -0500
Received: (from wfs@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id BAA27603;
Mon, 9 Jul 2001 01:40:11 -0500
Date: Mon, 9 Jul 2001 01:40:11 -0500
Message-Id: <[email protected]>
Reply-to: [email protected]
From: William Schelter <[email protected]>
To: [email protected]
CC: [email protected]
In-reply-to: <[email protected]> ([email protected])
Subject: Re: [Maxima] Maxima on Darwin
Reply-to: [email protected]
References: <[email protected]>
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
i) First, I don't have a Fortran compiler yet, hence, I think I won't be
able to compile the numerical package, is it right?
no it is not needed
to compile under clisp:
if the command to invoke clisp is 'clisp'
cd src
make clisp-compile CLISP=clisp
and the xmaxima should be invoked with
export MAXIMA_DIRECTORY=/home/wheretofind/maxima-5.6
xmaxima -lisp clisp
From [email protected] Mon Jul 9 09:05:45 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f69E5jM12926
for <[email protected]>; Mon, 9 Jul 2001 09:05:45 -0500
Received: from xena.urbi.com.br (IDENT:[email protected] [200.185.120.2])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id JAA26801
for <[email protected]>; Mon, 9 Jul 2001 09:05:44 -0500
Received: from [200.185.121.90] (foo26.urbi.com.br [200.185.121.90])
by xena.urbi.com.br (8.9.3/8.9.3) with ESMTP id LAA28553;
Mon, 9 Jul 2001 11:05:47 -0300
Message-Id: <[email protected]>
X-Mailer: Microsoft Outlook Express Macintosh Edition - 4.5 (0410)
Date: Mon, 09 Jul 2001 11:04:22 -0300
Subject: Re: [Maxima] Maxima on Darwin
From: "Lizardo H. C. M. Nunes" <[email protected]>
To: [email protected]
CC: [email protected]
Mime-version: 1.0
X-Priority: 3
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
>
> to compile under clisp:
> if the command to invoke clisp is 'clisp'
>
> cd src
> make clisp-compile CLISP=clisp
>
> and the xmaxima should be invoked with
>
> export MAXIMA_DIRECTORY=/home/wheretofind/maxima-5.6
> xmaxima -lisp clisp
>
It compiles without errors, but a few warnings. At the end I get:
;; Loading file macsys.fas ...
;; Loading of file macsys.fas is finished.
;; Loading file mload.fas ...
;; Loading of file mload.fas is finished.
;; Loading file suprv1.fas ...
*** - READ from #<BUFFERED FILE-STREAM CHARACTER #P"suprv1.fas" @36>: there
is no character bit with name "NO"
Bye.
and there's no " ./src/saved_maxima "
Do you have any ideas?
Thanks for your help. I can't wait to see it running on Mac OS X.
Lizardo.
From [email protected] Mon Jul 9 15:00:36 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f69K0aM28006
for <[email protected]>; Mon, 9 Jul 2001 15:00:36 -0500
Received: from web14706.mail.yahoo.com (web14706.mail.yahoo.com [216.136.224.123])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with SMTP id PAA32757
for <[email protected]>; Mon, 9 Jul 2001 15:00:35 -0500
Message-ID: <[email protected]>
Received: from [128.238.35.105] by web14706.mail.yahoo.com via HTTP; Mon, 09 Jul 2001 13:00:33 PDT
Date: Mon, 9 Jul 2001 13:00:33 -0700 (PDT)
From: Virgil <[email protected]>
To: [email protected]
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: [Maxima] A Maxima TeX 'diary'
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Some math-related software packages (e.g. Matlab) provide a "diary"
option. This enables the user to request that a text file be created
with a copy of a session, including all commands entered by the user
and the corresponding replies by the software.
This feature is convenient sometimes, although it may be substituted by
conducting the session from within a text editor, such as e-macs.
An even handier feature may be the generation of a (La-)TeX "diary",
that is, a TeX file corresponding to user inputs and program outputs!
Now, Maxima can provide TeX translation, one expression at a time
(tex(%) for example).
Can Maxima "automatically" generate:
a) an ASCII (text) "diary" file
b) a TeX "diary" file ?
If (a) is available but not (b), it would seem desirable and relatively
simple to extend (a) to (b) by way of the tex command.
Thanks.
__Virgil
P.S. I am aware that an interface between TeXmacs and Maxima apparently
exists and may provide some of the functionality of option (b) above.
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
From [email protected] Mon Jul 9 15:34:24 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f69KYOM29293
for <[email protected]>; Mon, 9 Jul 2001 15:34:24 -0500
Received: from relay.EECS.Berkeley.EDU (relay.EECS.Berkeley.EDU [169.229.34.228])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id PAA00876
for <[email protected]>; Mon, 9 Jul 2001 15:34:23 -0500
Received: from cs.berkeley.edu (windsome.CS.Berkeley.EDU [128.32.131.134])
by relay.EECS.Berkeley.EDU (8.9.3/8.9.3) with ESMTP id NAA01296;
Mon, 9 Jul 2001 13:33:58 -0700 (PDT)
Message-ID: <[email protected]>
Date: Mon, 09 Jul 2001 13:33:58 -0700
From: Richard Fateman <[email protected]>
Organization: University of California, Berkeley
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Virgil <[email protected]>, [email protected]
Subject: Re: [Maxima] A Maxima TeX 'diary'
References: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
The command "writefile(filespecification);"
has the diary function.
you have to closefile() afterward.
If you want each command to be TeX'd, I suppose it can be
done by replacing the command-display function, perhaps
found in the main loop of the "continue" lisp function in SUPRV1.lisp
But first try this:
writefile(texdiary);
map(tex,reverse(labels));
closefile();
which might produce a tex'd diary of commands and displays.
Virgil wrote:
>
> Some math-related software packages (e.g. Matlab) provide a "diary"
> option. This enables the user to request that a text file be created
> with a copy of a session, including all commands entered by the user
> and the corresponding replies by the software.
>
> This feature is convenient sometimes, although it may be substituted by
> conducting the session from within a text editor, such as e-macs.
>
> An even handier feature may be the generation of a (La-)TeX "diary",
> that is, a TeX file corresponding to user inputs and program outputs!
>
> Now, Maxima can provide TeX translation, one expression at a time
> (tex(%) for example).
>
> Can Maxima "automatically" generate:
> a) an ASCII (text) "diary" file
> b) a TeX "diary" file ?
>
> If (a) is available but not (b), it would seem desirable and relatively
> simple to extend (a) to (b) by way of the tex command.
>
> Thanks.
>
> __Virgil
> P.S. I am aware that an interface between TeXmacs and Maxima apparently
> exists and may provide some of the functionality of option (b) above.
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
> _______________________________________________
> Maxima mailing list
> [email protected]
> http://www.math.utexas.edu/mailman/listinfo/maxima
From [email protected] Mon Jul 9 23:01:42 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6A41fM10468
for <[email protected]>; Mon, 9 Jul 2001 23:01:41 -0500
Received: from xena.urbi.com.br (IDENT:[email protected] [200.185.120.2])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA08877
for <[email protected]>; Mon, 9 Jul 2001 23:01:40 -0500
Received: from [200.185.121.179] (alo55.urbi.com.br [200.185.121.179])
by xena.urbi.com.br (8.9.3/8.9.3) with ESMTP id BAA16668;
Tue, 10 Jul 2001 01:01:37 -0300
Message-Id: <[email protected]>
X-Mailer: Microsoft Outlook Express Macintosh Edition - 4.5 (0410)
Date: Tue, 10 Jul 2001 00:59:29 -0300
From: "Lizardo H. C. M. Nunes" <[email protected]>
To: [email protected]
CC: [email protected], [email protected], [email protected]
Mime-version: 1.0
X-Priority: 3
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
Subject: [Maxima] Maxima on CLISP under Darwin
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hi,
I'm running clisp 2.25.1 on Darwin 1.3.7 (Mac OS 10.0.4).
Now I'm trying to port Maxima using CLISP, since GCL have been being hard to
build. I know some of you already did it. I'm a newbie and need some
directions here.
Would somebody please could be kind enough to give me some instructions,
kind of a recipe, or even a starting point?
So far I did
cd src
make clisp-compile CLISP=clisp
I got a couple of warning and no errors, but Maxima isn't working. That's
what I get retrying "make":
; Loading file macsys.fas ...
;; Loading of file macsys.fas is finished.
;; Loading file mload.fas ...
;; Loading of file mload.fas is finished.
;; Loading file suprv1.fas ...
*** - READ from #<BUFFERED FILE-STREAM CHARACTER #P"suprv1.fas" @36>: there
is no character bit with name "NO"
Bye.
I'd relly appreciate any tip.
Thanks a lot,
Lizardo.
--
From [email protected] Tue Jul 10 10:50:39 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6AFodM32302
for <[email protected]>; Tue, 10 Jul 2001 10:50:39 -0500
Received: from web14702.mail.yahoo.com (web14702.mail.yahoo.com [216.136.224.119])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with SMTP id KAA29840
for <[email protected]>; Tue, 10 Jul 2001 10:50:39 -0500
Message-ID: <[email protected]>
Received: from [128.238.35.105] by web14702.mail.yahoo.com via HTTP; Tue, 10 Jul 2001 08:50:38 PDT
Date: Tue, 10 Jul 2001 08:50:38 -0700 (PDT)
From: Virgil <[email protected]>
To: [email protected], [email protected]
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: [Maxima] Maxima with PPC Linux(Re: Maxima on CLISP under Darwin)
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
--- "Lizardo H. C. M. Nunes" <[email protected]> wrote:
> Hi,
>
> I'm running clisp 2.25.1 on Darwin 1.3.7 (Mac OS 10.0.4).
>
> Now I'm trying to port Maxima using CLISP, since GCL have been being
> hard to
> build. I know some of you already did it. I'm a newbie and need some
> directions here.
>
> Would somebody please could be kind enough to give me some
> instructions,
> kind of a recipe, or even a starting point?
I am interested in the related project of running Maxima on a PowerPC
Macintosh operating under LinuxPPC 2000Q4.
I already have installed CLISP and it appears to be running well.
I would prefer to find a ppp.rpm file of Maxima 5.6, but it appears
that no one has made it available on the web.
In any case, if anyone has successfully installed Maxima 5.6 on
LinuxPPC (or another distribution for the PPC chip), and is willing to
provide advise or guidelines, please let me know. Please, reply to my
e-mail. I'll send a summary of my experience to the list later on.
Thanks in advance.
__Virgil
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
From [email protected] Tue Jul 10 13:43:43 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6AIhgM06139
for <[email protected]>; Tue, 10 Jul 2001 13:43:43 -0500
Received: from cod.mar.dfo-mpo.gc.ca (cod.mar.dfo-mpo.gc.ca [142.176.61.253])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with SMTP id NAA01709
for <[email protected]>; Tue, 10 Jul 2001 13:43:42 -0500
Received: id PAA03259; Tue, 10 Jul 2001 15:44:31 -0300
Received: by gateway id PAA02701
for <[email protected]>; Tue, 10 Jul 2001 15:38:12 -0300 (ADT)
Date: Tue, 10 Jul 2001 15:42:13 -0300 (ADT)
From: "George N. White III" <[email protected]>
X-X-Sender: <[email protected]>
Reply-To: "George N. White III" <[email protected]>
To: <[email protected]>
In-Reply-To: <[email protected]>
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Subject: [Maxima] Re: Maxima digest, Vol 1 #59 - 4 msgs
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
On Tue, 10 Jul 2001 [email protected] wrote:
>
> Message: 3
> [...]
> So far I did
> cd src
> make clisp-compile CLISP=clisp
>
> I got a couple of warning and no errors, but Maxima isn't working. That's
> what I get retrying "make":
> ; Loading file macsys.fas ...
> ;; Loading of file macsys.fas is finished.
> ;; Loading file mload.fas ...
> ;; Loading of file mload.fas is finished.
> ;; Loading file suprv1.fas ...
> *** - READ from #<BUFFERED FILE-STREAM CHARACTER #P"suprv1.fas" @36>: there
> is no character bit with name "NO"
> Bye.
I have clisp-2.26 running on SGI Irix 6.5. After changing two
lines in clisp-compile.lisp I get stuck at the same message.
For the record, the changes were simply to replace "lisp:..." with
"ext:...":
; (lisp:gc)
; (lisp:saveinitmem "maxima-clisp.mem"
; :init-function #'user::run)
(ext:gc)
(ext:saveinitmem "maxima-clisp.mem"
:init-function #'user::run)
The block that appears to be the problem in suprv1.lisp is:
(cond (#-cl (< (cadr x)
160)
#+cl (char< (cadr x)
#. (code-char 160.))
(ASCII (CADR X)))
(t (cadr x)))))
In clisp I get:
[1]> (code-char 160.)
#\NO-BREAK_SPACE
I don't know where the "NO-BREAK_SPACE" is defined, and I wonder
if it shouldn't be "NO_BREAK_SPACE", or if it is really needed
at all for maxima.
--
George N. White III <[email protected]> Bedford Institute of Oceanography
From [email protected] Tue Jul 10 14:04:49 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6AJ4nM07085
for <[email protected]>; Tue, 10 Jul 2001 14:04:49 -0500
Received: from web14706.mail.yahoo.com (web14706.mail.yahoo.com [216.136.224.123])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with SMTP id OAA02022
for <[email protected]>; Tue, 10 Jul 2001 14:04:49 -0500
Message-ID: <[email protected]>
Received: from [128.238.35.105] by web14706.mail.yahoo.com via HTTP; Tue, 10 Jul 2001 12:04:48 PDT
Date: Tue, 10 Jul 2001 12:04:48 -0700 (PDT)
From: Virgil <[email protected]>
To: [email protected]
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: [Maxima] writefile not working (Re: A Maxima TeX 'diary')
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
--- Richard Fateman <[email protected]> wrote:
> The command "writefile(filespecification);"
> has the diary function.
> you have to closefile() afterward.
>
> If you want each command to be TeX'd... try this:
>
> writefile(texdiary);
>
> map(tex,reverse(labels));
> closefile();
>
>
> which might produce a tex'd diary of commands and displays.
For whatever reason, writefile(myfile) [or writefile("myfile")] does
create the file "myfile"...but NOTHING is added to the file. (This has
nothing to do with TeX)
For example, the session below, results in the creation of the file
"texdiary2" in my home directory, but it remains empty *after* the
closefile() command.
(C6) writefile("texdiary2");
Starts dribbling to texdiary2 (2001/7/10, 12:52:1).
(D6) FALSE
(C7) integrate(x/(1+x^3),x);
2 x - 1
2 ATAN(-------)
LOG(x - x + 1) SQRT(3) LOG(x + 1)
(D7) --------------- + ------------- - ----------
6 SQRT(3) 3
(C8) diff(tan(x),x);
2
(D8) SEC (x)
(C9) solve(x^2-5*x+6=0,x);
(D9) [x = 3, x = 2]
(C10) closefile();
Finished dribbling to texdiary2.
(D10) FALSE
--Virgil
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
From [email protected] Tue Jul 10 22:25:01 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6B3P1M01986
for <[email protected]>; Tue, 10 Jul 2001 22:25:01 -0500
Received: from xena.urbi.com.br (IDENT:[email protected] [200.185.120.2])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id WAA09517
for <[email protected]>; Tue, 10 Jul 2001 22:25:00 -0500
Received: from [200.185.121.109] (foo45.urbi.com.br [200.185.121.109])
by xena.urbi.com.br (8.9.3/8.9.3) with ESMTP id AAA10285;
Wed, 11 Jul 2001 00:24:51 -0300
Message-Id: <[email protected]>
X-Mailer: Microsoft Outlook Express Macintosh Edition - 4.5 (0410)
Date: Wed, 11 Jul 2001 00:23:30 -0300
From: "Lizardo H. C. M. Nunes" <[email protected]>
To: [email protected]
CC: [email protected], [email protected],
[email protected]
Mime-version: 1.0
X-Priority: 3
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
Subject: [Maxima] <no subject>
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hi,
I'm trying to port GCL, a COMMON LISP compiler,
ftp://ftp.ma.utexas.edu/pub/gcl/gcl-2.4.0.tgz
I'll use it to build Maxima,
http://www.ma.utexas.edu/users/wfs/maxima.html
sort of a Maple and Mathematica clone.
Unfortunately, my experience with GNU tools is restricted to the
compilation of numerical programs in C and Fortran. So, if you're
interested in one of these packages and want to help me, I'd really
appreciate.
PLEASE, give me a reply if you have any ideas and I apologize for
bothering some of you...
Below is what I've done so far (I know there are easier ways to do it ):
First, edit the "FreeBSD.defs" located at the "<Where you keep GCL>/h"
folder according to Darwin and its compiler (I can send you a copy of
mine.)
In the directory "<where you keep GCL>" type
# ./add-defs FreeBSD
#make -n
and you'll see what steps "make" shall attempt to do
#cd bin
edit "Makefile" according to folders and compiler.
#make
Shouldl run without errors...
#cd..
Now follow " make mpfiles -n ". First,
#cp -v /usr/libexec/con* < Where you keep GCL and path>/gmp
That will replace "config.guess" and "config.sub" in the folder above.
#cd gmp; ./configure
#cd ..
# make mpfiles -k
and you'll get several syntax errors during the compilation of files *.s
( An example:
#cc -c -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DOPERATION_rshift -g -O2
-mpowerpc tmp-rshift.s -o rshift.o )
Finally,
#cd o
Edit Makefile
#make -k
There are 4 files that should be compiled yet...
We could go further, but should heal "make mpfiles" first... I'm sure
that somebody will come up with something that should work.
Thanks,
Lizardo.
From [email protected] Wed Jul 11 00:06:30 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6B56UY06117
for <[email protected]>; Wed, 11 Jul 2001 00:06:30 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id AAA10381
for <[email protected]>; Wed, 11 Jul 2001 00:06:30 -0500
Received: (from wfs@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id AAA29310;
Wed, 11 Jul 2001 00:06:28 -0500
Date: Wed, 11 Jul 2001 00:06:28 -0500
Message-Id: <[email protected]>
Reply-to: [email protected]
From: William Schelter <[email protected]>
To: [email protected]
CC: [email protected]
In-reply-to: <[email protected]>
([email protected])
Subject: Re: [Maxima] Re: Maxima digest, Vol 1 #59 - 4 msgs
Reply-to: [email protected]
References: <[email protected]>
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
in suprv.lisp please try replacing with
#+cl (char< (cadr x)
#. (code-char 160.))
#+cl (< (char-code x) 160)
Note in the previous version of clisp this bug did not arise, since
there
[1]> (code-char 160)
#\U00A0
which was acceptable to their compiler..
william
From [email protected] Wed Jul 11 09:05:09 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6BE4LN17727
for <[email protected]>; Wed, 11 Jul 2001 09:04:21 -0500
Received: from cod.mar.dfo-mpo.gc.ca (cod.mar.dfo-mpo.gc.ca [142.176.61.253])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with SMTP id JAA21914
for <[email protected]>; Wed, 11 Jul 2001 09:04:20 -0500
Received: id LAA15466; Wed, 11 Jul 2001 11:04:21 -0300
Received: by gateway id KAA06970;
Wed, 11 Jul 2001 10:57:58 -0300 (ADT)
Date: Wed, 11 Jul 2001 11:02:01 -0300 (ADT)
From: "George N. White III" <[email protected]>
X-X-Sender: <[email protected]>
Reply-To: "George N. White III" <[email protected]>
To: <[email protected]>, <[email protected]>
cc: <[email protected]>, <[email protected]>
Subject: Re: [Maxima] Re: Maxima digest, Vol 1 #59 - 4 msgs
In-Reply-To: <[email protected]>
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
On Wed, 11 Jul 2001, William Schelter wrote:
>
> in suprv.lisp please try replacing with
>
>
> #+cl (char< (cadr x)
> #. (code-char 160.))
>
> #+cl (< (char-code x) 160)
>
> Note in the previous version of clisp this bug did not arise, since
> there
>
> [1]> (code-char 160)
> #\U00A0
>
> which was acceptable to their compiler..
>
> william
I tried this, but now get the error:
;; Loading file suprv1.fas ...
*** - CHAR-CODE: argument (CNTLC #\Etx) is not a character
Bye.
I think the replacement should read:
#+cl (< (char-code (cadr x)) 160)
With this, compilation proceeds much further, but stops at:
Compiling file /disk2/gwhite/src/maxima-5.6/src/mactex.lisp ...
*** - READ from #<BUFFERED FILE-STREAM CHARACTER
#P"/disk2/gwhite/src/maxima-5.6/src/mactex.lisp" @1>: illegal character
#\Us
Bye.
The file mactex.lisp appears to be corrupt. It is 9289 bytes, dated May
18 06:26. I had a version that is 26076 bytes from Apr 2 20:19.
With this change, I was able to get a maxima-clisp.mem, but there is
a problem with the tests:
(cd ../doc ; clisp -M ../src/maxima-clisp.mem tests.lisp)
*** - READ from #<BUFFERED FILE-STREAM CHARACTER #P"tests.lisp" @10>:
there is no package with name "SI"
gmake: *** [test-clisp] Error 1
I can, however, run simple examples, e.g., cut and pasted from the
manual.demo file.
--
George N. White III <[email protected]> Bedford Institute of Oceanography
From [email protected] Wed Jul 11 10:16:08 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6BFG5N19759
for <[email protected]>; Wed, 11 Jul 2001 10:16:05 -0500
Received: from xena.urbi.com.br (IDENT:[email protected] [200.185.120.2])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id KAA23814
for <[email protected]>; Wed, 11 Jul 2001 10:16:04 -0500
Received: from [200.185.121.83] (foo19.urbi.com.br [200.185.121.83])
by xena.urbi.com.br (8.9.3/8.9.3) with ESMTP id MAA13235;
Wed, 11 Jul 2001 12:15:55 -0300
Message-Id: <[email protected]>
X-Mailer: Microsoft Outlook Express Macintosh Edition - 4.5 (0410)
Date: Wed, 11 Jul 2001 12:14:35 -0300
From: "Lizardo H. C. M. Nunes" <[email protected]>
To: [email protected]
CC: [email protected], [email protected],
[email protected]
Mime-version: 1.0
X-Priority: 3
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
Subject: [Maxima] GCL under Darwin
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hi,
If this is too OFF_TOPIC, please let me know...
I downloaded "a.out.h" from the Internet and now there are just for 2 files
that should be compiled in the "<Where you keep GCL folder>/o":
i) unixsave.c ( it can't find unexec.c and other errors... )
ii) sfals.c ( in FreeBSD.h there's RELOC_FILE="rel_sun3.c ")
I don't know what would be the right RELOC_FILE for Darwin.
Also, if somebody have any idea and want to help me somehow, I'd really
appreciate...
Thanks in advance,
LIzardo.
P.S.: " make mpfiles -n " says nothing to be done for all; but
#cd < ... GCL folder>/gmp/mpn
#make -n
Says that I have to compile a couple of "*.s" sources... Problems with that?
--
From [email protected] Wed Jul 11 10:38:10 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6BFbsN20340
for <[email protected]>; Wed, 11 Jul 2001 10:37:54 -0500
Received: from cod.mar.dfo-mpo.gc.ca (cod.mar.dfo-mpo.gc.ca [142.176.61.253])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with SMTP id KAA24354
for <[email protected]>; Wed, 11 Jul 2001 10:37:53 -0500
Received: id MAA17616; Wed, 11 Jul 2001 12:39:04 -0300
Received: by gateway id MAA07473;
Wed, 11 Jul 2001 12:32:40 -0300 (ADT)
Date: Wed, 11 Jul 2001 12:36:42 -0300 (ADT)
From: "George N. White III" <[email protected]>
X-X-Sender: <[email protected]>
Reply-To: "George N. White III" <[email protected]>
To: <[email protected]>
cc: <[email protected]>
Subject: Re: [Maxima] Re: Maxima digest, Vol 1 #59 - 4 msgs
In-Reply-To: <[email protected]>
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
On Wed, 11 Jul 2001, George N. White III wrote:
> On Wed, 11 Jul 2001, William Schelter wrote:
>
> >
> > in suprv.lisp please try replacing with
> >
> [...]
> (cd ../doc ; clisp -M ../src/maxima-clisp.mem tests.lisp)
> *** - READ from #<BUFFERED FILE-STREAM CHARACTER #P"tests.lisp" @10>:
> there is no package with name "SI"
> gmake: *** [test-clisp] Error 1
>
> I can, however, run simple examples, e.g., cut and pasted from the
> manual.demo file.
After putting #-cl in front of the offending line of tests.lisp,
$ clisp -M ../src/maxima-clisp.mem tests.lisp
Congratulations: No differences!
No Errors Found
Real time: 110.647964f0 sec.
Run time: 76.61277f0 sec.
Space: 25056800 Bytes
GC: 17, GC time: 6.110289f0 sec.
[This is an SGI Indigo2, 250mhz R4k box, clisp built using gcc]
One question: running interactively, if I make a mistake I get the
1. Break [1]> prompt, and don't know how to get back to maxima (:h
gets a USER[1]> prompt which acts like clisp.
--
George N. White III <[email protected]> Bedford Institute of Oceanography
From [email protected] Wed Jul 11 12:03:08 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6BH28N25406
for <[email protected]>; Wed, 11 Jul 2001 12:02:08 -0500
Received: from cod.mar.dfo-mpo.gc.ca (cod.mar.dfo-mpo.gc.ca [142.176.61.253])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with SMTP id MAA26468
for <[email protected]>; Wed, 11 Jul 2001 12:02:07 -0500
Received: id OAA19787; Wed, 11 Jul 2001 14:04:00 -0300
Received: by gateway id NAA07948
for <[email protected]>; Wed, 11 Jul 2001 13:57:38 -0300 (ADT)
Date: Wed, 11 Jul 2001 14:01:41 -0300 (ADT)
From: "George N. White III" <[email protected]>
X-X-Sender: <[email protected]>
Reply-To: "George N. White III" <[email protected]>
To: <[email protected]>
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Subject: [Maxima] trivial typo in maxima-5.6/info/Series.texi
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
On line 122, "x" --> "X".
Is this new or were some previous versions of maxima/macsyma (remembering
back to the CDC Cyber era) _not_ case sensitive.
--
George N. White III <[email protected]> Bedford Institute of Oceanography
From [email protected] Wed Jul 11 12:16:08 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6BHFNN25830
for <[email protected]>; Wed, 11 Jul 2001 12:15:23 -0500
Received: from relay.EECS.Berkeley.EDU (relay.EECS.Berkeley.EDU [169.229.34.228])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id MAA26775
for <[email protected]>; Wed, 11 Jul 2001 12:15:23 -0500
Received: from cs.berkeley.edu (windsome.CS.Berkeley.EDU [128.32.131.134])
by relay.EECS.Berkeley.EDU (8.9.3/8.9.3) with ESMTP id KAA01657;
Wed, 11 Jul 2001 10:15:18 -0700 (PDT)
Message-ID: <[email protected]>
Date: Wed, 11 Jul 2001 10:15:18 -0700
From: Richard Fateman <[email protected]>
Organization: University of California, Berkeley
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: "George N. White III" <[email protected]>, [email protected]
Subject: Re: [Maxima] trivial typo in maxima-5.6/info/Series.texi
References: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Common Lisp is by default case insensitive. This is a really
bad design decision, in my opinion, and I objected to it
when it was proposed that way by people at MIT and Stanford and CMU who
had extensive experience with Maclisp and other case-insensitive
lisps of the 1960's. But they prevailed. People with Unix experience
who enjoyed BOTH cases, lost.
Indeed Macsyma was written originally in Maclisp which was
case insensitive. This was on DEC PDP-6 and DEC-10 systems with
36 bit words where every bit counted.
RJF
"George N. White III" wrote:
>
> On line 122, "x" --> "X".
>
> Is this new or were some previous versions of maxima/macsyma (remembering
> back to the CDC Cyber era) _not_ case sensitive.
>
> --
> George N. White III <[email protected]> Bedford Institute of Oceanography
>
> _______________________________________________
> Maxima mailing list
> [email protected]
> http://www.math.utexas.edu/mailman/listinfo/maxima
From [email protected] Wed Jul 11 15:42:08 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6BKf9N31913
for <[email protected]>; Wed, 11 Jul 2001 15:41:09 -0500
Received: from xena.urbi.com.br (IDENT:[email protected] [200.185.120.2])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id PAA01177
for <[email protected]>; Wed, 11 Jul 2001 15:41:08 -0500
Received: from localhost (alo59.urbi.com.br [200.185.121.183])
by xena.urbi.com.br (8.9.3/8.9.3) with ESMTP id RAA27016;
Wed, 11 Jul 2001 17:40:51 -0300
Message-Id: <[email protected]>
Date: Wed, 11 Jul 2001 17:39:22 -0300
From: "Lizardo H. C. M. Nunes" <[email protected]>
Content-Type: text/plain;
format=flowed;
charset=us-ascii
X-Mailer: Apple Mail (2.388)
Cc: [email protected], [email protected]
To: [email protected]
Mime-Version: 1.0 (Apple Message framework v388)
Content-Transfer-Encoding: 7bit
Subject: [Maxima] Maxima under Darwin
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hi,
Following the messages that William and George exchanged, I could edit
"suprv1.lisp" and reach the final of the Maxima compilation without
warnings.
Now I want to test it and finalize. If you could please tell me what to
do I'd really appreciate.
Thanks in advance,
Lizardo.
From [email protected] Wed Jul 11 16:22:08 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6BLM1N02861
for <[email protected]>; Wed, 11 Jul 2001 16:22:01 -0500
Received: from cod.mar.dfo-mpo.gc.ca (cod.mar.dfo-mpo.gc.ca [142.176.61.253])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with SMTP id QAA02835
for <[email protected]>; Wed, 11 Jul 2001 16:22:00 -0500
Received: id SAA24478; Wed, 11 Jul 2001 18:23:21 -0300
Received: by gateway id SAA09365;
Wed, 11 Jul 2001 18:16:59 -0300 (ADT)
Date: Wed, 11 Jul 2001 18:21:00 -0300 (ADT)
From: "George N. White III" <[email protected]>
X-X-Sender: <[email protected]>
Reply-To: "George N. White III" <[email protected]>
To: "Lizardo H. C. M. Nunes" <[email protected]>
cc: <[email protected]>, <[email protected]>
In-Reply-To: <[email protected]>
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Subject: [Maxima] Re: Maxima under Darwin
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
On Wed, 11 Jul 2001, Lizardo H. C. M. Nunes wrote:
> Following the messages that William and George exchanged, I could edit
> "suprv1.lisp" and reach the final of the Maxima compilation without
> warnings.
You should be past the hard part now.
> Now I want to test it and finalize. If you could please tell me what to
> do I'd really appreciate.
>
> Thanks in advance,
> Lizardo.
After commenting out the line in doc/tests.lisp starting with "(si: ..."
that caused an error, run the commands from the "test-clisp" target
in src/makefile:
$ cd ../doc
$ clisp -core ../src/maxima.core -load ../src/maxima-clisp.mem tests.lisp
I'm still thinking about installing maxima and I have some questions
about recovering from errors, but certainly I can do the things I
need with very little additional work.
--
George N. White III <[email protected]> Bedford Institute of Oceanography
From [email protected] Wed Jul 11 19:02:19 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6C02DN06850
for <[email protected]>; Wed, 11 Jul 2001 19:02:13 -0500
Received: from relay.EECS.Berkeley.EDU (relay.EECS.Berkeley.EDU [169.229.34.228])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id TAA08222
for <[email protected]>; Wed, 11 Jul 2001 19:02:12 -0500
Received: from cs.berkeley.edu (windsome.CS.Berkeley.EDU [128.32.131.134])
by relay.EECS.Berkeley.EDU (8.9.3/8.9.3) with ESMTP id RAA12461;
Wed, 11 Jul 2001 17:02:02 -0700 (PDT)
Message-ID: <[email protected]>
Date: Wed, 11 Jul 2001 17:02:02 -0700
From: Richard Fateman <[email protected]>
Organization: University of California, Berkeley
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: "George N. White III" <[email protected]>
CC: "Lizardo H. C. M. Nunes" <[email protected]>, [email protected],
[email protected]
Subject: Re: [Maxima] Re: Maxima under Darwin
References: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I have just learned
that there will be a release of Allegro Common Lisp 6.1beta
on OS-X from Franz Inc very shortly.
Using it would put the burden of support of the Lisp on a commercial
outfit instead of volunteers. It would not, however, be free.
There is some conditionalization for Allegro in the Maxima code,
but I have not tried to recompile it in its entirely in Allegro
for some time.
There are undoubtedly points of comparison among GCL, CLISP
and Allegro other than price.
RJF
"George N. White III" wrote:
>
> On Wed, 11 Jul 2001, Lizardo H. C. M. Nunes wrote:
>
> > Following the messages that William and George exchanged, I could edit
> > "suprv1.lisp" and reach the final of the Maxima compilation without
> > warnings.
>
> You should be past the hard part now.
>
> > Now I want to test it and finalize. If you could please tell me what to
> > do I'd really appreciate.
> >
> > Thanks in advance,
> > Lizardo.
>
> After commenting out the line in doc/tests.lisp starting with "(si: ..."
> that caused an error, run the commands from the "test-clisp" target
> in src/makefile:
>
> $ cd ../doc
> $ clisp -core ../src/maxima.core -load ../src/maxima-clisp.mem tests.lisp
>
> I'm still thinking about installing maxima and I have some questions
> about recovering from errors, but certainly I can do the things I
> need with very little additional work.
>
> --
> George N. White III <[email protected]> Bedford Institute of Oceanography
>
> _______________________________________________
> Maxima mailing list
> [email protected]
> http://www.math.utexas.edu/mailman/listinfo/maxima
From [email protected] Wed Jul 11 22:58:19 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6C3vsN11599
for <[email protected]>; Wed, 11 Jul 2001 22:57:54 -0500
Received: from xena.urbi.com.br (IDENT:[email protected] [200.185.120.2])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id WAA11890
for <[email protected]>; Wed, 11 Jul 2001 22:57:53 -0500
Received: from [200.185.121.181] (alo57.urbi.com.br [200.185.121.181])
by xena.urbi.com.br (8.9.3/8.9.3) with ESMTP id AAA20599;
Thu, 12 Jul 2001 00:57:37 -0300
Message-Id: <[email protected]>
X-Mailer: Microsoft Outlook Express Macintosh Edition - 4.5 (0410)
Date: Thu, 12 Jul 2001 00:49:12 -0300
Subject: Re: [Maxima] Re: Maxima under Darwin
From: "Lizardo H. C. M. Nunes" <[email protected]>
To: Richard Fateman <[email protected]>
CC: [email protected]
Mime-version: 1.0
X-Priority: 3
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
>
> Using it would put the burden of support of the Lisp on a commercial
> outfit instead of volunteers. It would not, however, be free.
>
The point is that I can't afford a commercial package.
Yet, I'm not acquainted to COMMON LISP and it's hard to port MAXIMA with
CLISP while I can't find much documentation. (If somebody could address
me...)
But I still think that Maxima would be a great package for Mac OS X, given
the facilities OSX has...
Regards,
Lizardo.
From [email protected] Thu Jul 12 01:01:19 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6C61BN14900
for <[email protected]>; Thu, 12 Jul 2001 01:01:11 -0500
Received: from xena.urbi.com.br (IDENT:[email protected] [200.185.120.2])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id BAA15108
for <[email protected]>; Thu, 12 Jul 2001 01:01:10 -0500
Received: from localhost (foo20.urbi.com.br [200.185.121.84])
by xena.urbi.com.br (8.9.3/8.9.3) with ESMTP id DAA29561;
Thu, 12 Jul 2001 03:01:08 -0300
Message-Id: <[email protected]>
Date: Thu, 12 Jul 2001 02:59:44 -0300
From: "Lizardo H. C. M. Nunes" <[email protected]>
Content-Type: text/plain;
format=flowed;
charset=us-ascii
X-Mailer: Apple Mail (2.388)
Cc: [email protected]
To: [email protected]
Mime-Version: 1.0 (Apple Message framework v388)
Content-Transfer-Encoding: 7bit
Subject: [Maxima] Just for the record...
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I realized reading the Makefile that I should to
#make maxima-clisp.mem CLISP=clisp
#make test-clisp CLISP=clisp
and I got:
..Which was correct
Congratulations: No differences!
No Errors Found
Real time: 77.87003f0 sec.
Run time: 28.81f0 sec.
Space: 24571936 Bytes
GC: 18, GC time: 3.03f0 sec.
Now I'm asking you if you could please tell me how to install Maxima.
Thank you very much. You really helped!
Lizardo.
From [email protected] Thu Jul 12 10:19:20 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6CFJ5N27677
for <[email protected]>; Thu, 12 Jul 2001 10:19:05 -0500
Received: from xena.urbi.com.br (IDENT:[email protected] [200.185.120.2])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id KAA28296
for <[email protected]>; Thu, 12 Jul 2001 10:06:41 -0500
Received: from [200.185.121.168] (alo44.urbi.com.br [200.185.121.168])
by xena.urbi.com.br (8.9.3/8.9.3) with ESMTP id MAA07432;
Thu, 12 Jul 2001 12:06:35 -0300
Message-Id: <[email protected]>
X-Mailer: Microsoft Outlook Express Macintosh Edition - 4.5 (0410)
Date: Thu, 12 Jul 2001 12:04:26 -0300
Subject: Re: [Maxima] Re: Maxima under Darwin
From: "Lizardo H. C. M. Nunes" <[email protected]>
To: Richard Fateman <[email protected]>
CC: [email protected]
Mime-version: 1.0
X-Priority: 3
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
--
----------
>From: Richard Fateman <[email protected]>
>To: "Lizardo H. C. M. Nunes" <[email protected]>
>Subject: Re: [Maxima] Re: Maxima under Darwin
>Date: Thu, Jul 12, 2001, 11:29 AM
>
> Apparently you value your own time (as well as mine and
> Bill Schelter's time at 0). This is not always possible.
> RJF
>
I'm not going do discuss about your time, but about mine, since, as you
said, you're a volunteer and just help me if you want.
I only regret that free softwares available aren't in general well
documented for beginners like me. But this kind of attitude is changing
fast.
I think it's justifiable to waist some of time in a project which
universities like mine would be able to profit. In fact, I don't believe
that using free tools to build a nice package like Maxima for uncommon
platforms like mine is a big waist of time.
But yes, maybe I'm underrating my time...
Lizardo.
From [email protected] Thu Jul 12 23:10:41 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6D4AfX17339
for <[email protected]>; Thu, 12 Jul 2001 23:10:41 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA09503
for <[email protected]>; Thu, 12 Jul 2001 23:10:41 -0500
Received: (from wfs@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA32457;
Thu, 12 Jul 2001 23:10:37 -0500
Date: Thu, 12 Jul 2001 23:10:37 -0500
Message-Id: <[email protected]>
Reply-to: [email protected]
From: William Schelter <[email protected]>
To: [email protected]
CC: [email protected], [email protected]
In-reply-to: <[email protected]> ([email protected])
Subject: Re: [Maxima] Re: Maxima under Darwin
Reply-to: [email protected]
References: <[email protected]>
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
The standard install is for gcl.
You can just leave maxima where you built it, or move the directory...
To invoke maxima you must tell it where the documentation and files are
the easiest is to set an environment variable and then invoke the command.
You can make a shell script:
eg:
==================maxima==============
#!/bin/bash
export MAXIMA_DIRECTORY
MAXIMA_DIRECTORY=/directory-where-i-put-it/maxima-5.6
exec clisp -M ${MAXIMA_DIRECTORY}/src/maxima-clisp.mem
=====================
===============xmaxima===================
#!/bin/bash
export MAXIMA_DIRECTORY
MAXIMA_DIRECTORY=/directory-where-i-put-it/maxima-5.6
exec ${MAXIMA_DIRECTORY}/bin/xmaxima -lisp clisp
============================
From [email protected] Mon Jul 16 13:36:34 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6GIaXX02343
for <[email protected]>; Mon, 16 Jul 2001 13:36:33 -0500
Received: from emc-gw.emc.ufsc.br (emc-gw.emc.ufsc.br [150.162.100.1])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id NAA32505
for <[email protected]>; Mon, 16 Jul 2001 13:36:31 -0500
Received: from localhost (alexandre@localhost)
by emc-gw.emc.ufsc.br (8.9.3/8.9.3) with ESMTP id PAA24123
for <[email protected]>; Mon, 16 Jul 2001 15:31:36 GMT
Date: Mon, 16 Jul 2001 15:31:36 +0000 (GMT)
From: Alexandre Campos <[email protected]>
To: [email protected]
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Subject: [Maxima] trigreducee()??
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I'm a MAXIMA beginner and I'like to know
- if is possible to apply the trigreduce to a matrix to trig reduce every
term of the matrix and,
- How can I get a full trigreduce of a expression A, something to do :
trigreduce(trigreduce(trigreduce(A))), in a direct way.
Thanks,
yours,
alexandre campos
From [email protected] Mon Jul 16 19:47:57 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6H0lvX12966
for <[email protected]>; Mon, 16 Jul 2001 19:47:57 -0500
Received: from intech19.enhanced.com (enhanced.ppp.eticomm.net [206.228.183.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id TAA07425
for <[email protected]>; Mon, 16 Jul 2001 19:47:56 -0500
Received: from camm by intech19.enhanced.com with local (Exim 3.12 #1 (Debian))
id 15MJ1k-0000m1-00; Mon, 16 Jul 2001 20:47:52 -0400
To: [email protected]
From: Camm Maguire <[email protected]>
Date: 16 Jul 2001 20:47:52 -0400
In-Reply-To: Alexandre Campos's message of "Mon, 16 Jul 2001 15:31:36 +0000 (GMT)"
Message-ID: <[email protected]>
Lines: 20
X-Mailer: Gnus v5.7/Emacs 20.7
Subject: [Maxima] Numerical routines in maxima
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings! I've been looking at a number of the numerical routines
listed by the info pages as accessible under maxima, but I can't get
any of them to work. Like zsolve, for example. Are these routines
still available?
If not, is there any other convenient way to numerically, rather than
symbolically, process a given stage of a maxima session? Can one for
example approximate the root of d=%E^d-1.5?
Is there any interest in providing some numerical functions, say from
the gsl library, under maxima? If so, is there a howto or simple
example? I could probably add what I need.
Take care,
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Tue Jul 17 09:37:53 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6HEbrX30999
for <[email protected]>; Tue, 17 Jul 2001 09:37:53 -0500
Received: from mail1.smarttech.com (h64-42-196-232.gtconnect.net [64.42.196.232])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id JAA27619
for <[email protected]>; Tue, 17 Jul 2001 09:37:52 -0500
Received: by mail.smarttech.com with Internet Mail Service (5.5.2653.19)
id <3V8XB6NW>; Tue, 17 Jul 2001 08:37:33 -0600
Message-ID: <[email protected]>
From: David Holmgren <[email protected]>
To: "'Camm Maguire'" <[email protected]>
Cc: "'[email protected]'" <[email protected]>
Subject: RE: [Maxima] Numerical routines in maxima
Date: Tue, 17 Jul 2001 08:37:24 -0600
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hi Camm,
Certainly! At the beginning of a session, type numer:true - this will let
you do nearly everything in floating point. There is a routine in the share
directory for Newton's method for your nonlinear equation. I've done a few
numerical routines by essentially transcribing published Fortran or C codes.
Dave Holmgren
Dr. David E. Holmgren,
Imaging Scientitst,
SMART Technologies, Inc.
Calgary, AB, Canada
http://www.smarttech.com
[403]-235-1452, ext. 251
[email protected]
> -----Original Message-----
> From: Camm Maguire [SMTP:[email protected]]
> Sent: Monday, July 16, 2001 6:48 PM
> To: [email protected]
> Subject: [Maxima] Numerical routines in maxima
>
>
> Greetings! I've been looking at a number of the numerical routines
> listed by the info pages as accessible under maxima, but I can't get
> any of them to work. Like zsolve, for example. Are these routines
> still available?
>
> If not, is there any other convenient way to numerically, rather than
> symbolically, process a given stage of a maxima session? Can one for
> example approximate the root of d=%E^d-1.5?
>
> Is there any interest in providing some numerical functions, say from
> the gsl library, under maxima? If so, is there a howto or simple
> example? I could probably add what I need.
>
> Take care,
>
> --
> Camm Maguire [email protected]
> ==========================================================================
> "The earth is but one country, and mankind its citizens." -- Baha'u'llah
> _______________________________________________
> Maxima mailing list
> [email protected]
> http://www.math.utexas.edu/mailman/listinfo/maxima
From [email protected] Tue Jul 17 09:42:02 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6HEg2X31107
for <[email protected]>; Tue, 17 Jul 2001 09:42:02 -0500
Received: from angola.grante.ufsc.br ([email protected] [150.162.22.231])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id JAA27670
for <[email protected]>; Tue, 17 Jul 2001 09:42:01 -0500
Received: from daniel by angola.grante.ufsc.br with local (Exim 3.12 #1 (Debian))
id 15MW3X-0000O1-00; Tue, 17 Jul 2001 11:42:35 -0300
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <[email protected]>
Date: Tue, 17 Jul 2001 11:42:35 -0300
To: Maxima list <[email protected]>
X-Mailer: VM 6.94 under Emacs 20.7.2
From: Daniel Martins <[email protected]>
Reply-to: Daniel Martins <[email protected]>
CC: [email protected]
Subject: [Maxima] Latex x Tex function
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Just a suggestion. Possibly most people use Latex rather than Tex. I
am not suggesting anything like that Latex is worst or better than
pure Tex. Possibly pure Tex is really better than Latex but I started
with latex ...
In this case the tex function could be improved or maybe created a
latex version in a not so near future.
Firstly I must refrain that my migration from Mathematica is being
incredibly smooth and also that the Tex output from Maxima is
ABSOLUTELY better than the equivalent Mathematica function.
I will present a Maxima session as an example
C83) mat:MATRIX([X+3*COS(X)^2-SIN(X)^2,0],[X+3*COS(X)^3-SIN(X),1]);
[ 2 2 ]
[ - SIN (X) + 3 COS (X) + X 0 ]
(D83) [ ]
[ 3 ]
[ - SIN(X) + 3 COS (X) + X 1 ]
(C84) trigreduce(%);
[ COS(2 X) COS(2 X) 1 1 ]
[ -------- + 3 (-------- + -) + X - - 0 ]
[ 2 2 2 2 ]
(D84) [ ]
[ COS(3 X) 3 COS(X) ]
[ 3 (-------- + --------) - SIN(X) + X 1 ]
[ 4 4 ]
>>>> Here I obtain the Tex output
(C85) tex(%);
$$\pmatrix{{{\cos 2\>X}\over{2}}+3\>\left({{\cos 2\>X}\over{2}}+
\mathchoice {{1}\over{2}}{{1}\over{2}}{1//2}{1//2}\right)+X-
\mathchoice {{1}\over{2}}{{1}\over{2}}{1//2}{1//2}&0\cr 3\>\left({{
\cos 3\>X}\over{4}}+{{3\>\left(\cos X\right)}\over{4}}\right)-\sin X
+X&1\cr }$$
(D85) FALSE
(C86)
>>>> Here is the output of latex when I include the equation above
This is TeX, Version 3.14159 (Web2C 7.3.1)
(teste.tex
LaTeX2e <1999/12/01> patch level 1
(...)
! Missing } inserted.
<inserted text>
}
l.38 ...ce {{1}\over{2}}{{1}\over{2}}{1//2}{1//2}&
0\cr 3\>\left({{
?
>>>> Then a suggestion that really works on latex. pmatrix is
>>>> substituted by an
\left(
\begin{array}[c]{cc}
\end{array}
\right)
>>>> The result is
$$
\left(
\begin{array}[c]{cc}
{{\cos 2\>X}\over{2}}+3\>\left({{\cos 2\>X}\over{2}}+
\mathchoice {{1}\over{2}}{{1}\over{2}}{1//2}{1//2}\right)+X-
\mathchoice {{1}\over{2}}{{1}\over{2}}{1//2}{1//2}&0\cr 3\>\left({{
\cos 3\>X}\over{4}}+{{3\>\left(\cos X\right)}\over{4}}\right)-\sin X
+X&1\cr
$$
>>>> And this works fine on latex. Just complain a little bit about the
>>>> use of {1}\over{2} instead of \frac{1}{2} which the most used
>>>> command in Latex. But this is really not a crucial problem
From [email protected] Tue Jul 17 15:03:07 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6HK36X10910
for <[email protected]>; Tue, 17 Jul 2001 15:03:06 -0500
Received: from intech19.enhanced.com (enhanced.ppp.eticomm.net [206.228.183.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id PAA01061
for <[email protected]>; Tue, 17 Jul 2001 15:03:04 -0500
Received: from camm by intech19.enhanced.com with local (Exim 3.12 #1 (Debian))
id 15Mb3Y-0008Ql-00; Tue, 17 Jul 2001 16:02:56 -0400
To: David Holmgren <[email protected]>
Cc: "'[email protected]'" <[email protected]>
Subject: Re: [Maxima] Numerical routines in maxima
References: <[email protected]>
From: Camm Maguire <[email protected]>
Date: 17 Jul 2001 16:02:56 -0400
In-Reply-To: David Holmgren's message of "Tue, 17 Jul 2001 08:37:24 -0600"
Message-ID: <[email protected]>
Lines: 79
X-Mailer: Gnus v5.7/Emacs 20.7
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings, and thanks so much for your helpful reply! Now do you know
how to get something like this to work?
z(c):=NEWTON(%E^d-d-c,d,1.0,0.01);
plot2d(z(c),[c,1.2,2.3]);
I get the following error:
MACSYMA was unable to evaluate the predicate:
ABS(c - 1.718281828459045) < 0.01
#0: NEWTON(exp=%E^d-d-c,var=d,x0=1.0,eps=0.01)
#1: zz(c=c)
#2: z(c=1.5)
-- an error. Quitting. To debug this try DEBUGMODE(TRUE);)
(C242)
David Holmgren <[email protected]> writes:
> Hi Camm,
>
> Certainly! At the beginning of a session, type numer:true - this will let
> you do nearly everything in floating point. There is a routine in the share
> directory for Newton's method for your nonlinear equation. I've done a few
> numerical routines by essentially transcribing published Fortran or C codes.
I've a little library built up myself. Have you interfaced into
maxima? If so, how?
Many thanks!
>
> Dave Holmgren
>
> Dr. David E. Holmgren,
> Imaging Scientitst,
> SMART Technologies, Inc.
> Calgary, AB, Canada
> http://www.smarttech.com
> [403]-235-1452, ext. 251
> [email protected]
>
> > -----Original Message-----
> > From: Camm Maguire [SMTP:[email protected]]
> > Sent: Monday, July 16, 2001 6:48 PM
> > To: [email protected]
> > Subject: [Maxima] Numerical routines in maxima
> >
> >
> > Greetings! I've been looking at a number of the numerical routines
> > listed by the info pages as accessible under maxima, but I can't get
> > any of them to work. Like zsolve, for example. Are these routines
> > still available?
> >
> > If not, is there any other convenient way to numerically, rather than
> > symbolically, process a given stage of a maxima session? Can one for
> > example approximate the root of d=%E^d-1.5?
> >
> > Is there any interest in providing some numerical functions, say from
> > the gsl library, under maxima? If so, is there a howto or simple
> > example? I could probably add what I need.
> >
> > Take care,
> >
> > --
> > Camm Maguire [email protected]
> > ==========================================================================
> > "The earth is but one country, and mankind its citizens." -- Baha'u'llah
> > _______________________________________________
> > Maxima mailing list
> > [email protected]
> > http://www.math.utexas.edu/mailman/listinfo/maxima
>
>
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Tue Jul 17 15:23:54 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6HKNsX11552
for <[email protected]>; Tue, 17 Jul 2001 15:23:54 -0500
Received: from allman.localnet.com (allman.localnet.com [207.251.201.40])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id PAA01425
for <[email protected]>; Tue, 17 Jul 2001 15:23:49 -0500
Received: from guanaco.lignumcomputing.org ([207.251.215.4])
by allman.localnet.com (8.9.3-MySQL-0.2.2b/8.9.3) with SMTP id QAA22799
for <[email protected]>; Tue, 17 Jul 2001 16:23:47 -0400 (EDT)
Content-Type: text/plain;
charset="iso-8859-1"
From: Allen Barnett <[email protected]>
Organization: lignum Computing, Inc.
To: [email protected]
Date: Tue, 17 Jul 2001 16:21:48 -0400
X-Mailer: KMail [version 1.2]
MIME-Version: 1.0
Message-Id: <[email protected]>
Content-Transfer-Encoding: 8bit
Subject: [Maxima] Installation and Integration Errors
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hi,
I just downloaded and installed the latest releases of GCL-2.4.0 and
Maxima-5.6 on a RedHat 7.1/i386. I ran into a couple of problems.
In the configure script for GCL, there's a little EMACS function which tries
to find the site-lisp, defaults.el and lisp info/dir. In the version of EMACS
which is shipped with RH 7.1, EMACS produces different output from what is
expected by the sed command, namely:
[root@guanaco gcl-2.4.0]# emacs -q -batch -l conftest.el
Loading /usr/share/emacs/site-lisp/site-start.d/aspell-init.el (source)...
Loading /usr/share/emacs/site-lisp/site-start.d/lang.emacs.el (source)...
Loading /usr/share/emacs/site-lisp/site-start.d/po-mode-init.el (source)...
Loading /usr/share/emacs/site-lisp/site-start.d/psgml-init.el (source)...
Finished loading /usr/share/emacs/site-lisp/egg/leim-list.el
and load others...
./default.el
The 'Finished loading..' and ' and load others...' are not properly filtered
out by the sed command. (So, I changed it to 'sed -e /[Ll]oad/' in each of
three places this is used and it got through configure OK.)
After I built Maxima, I was trying out some old .mc files and I found that
integration seems to be broken. For example:
[root@guanaco gcl-2.4.0]# maxima
GCL (GNU Common Lisp) Version(2.4.0) Tue Jul 17 15:59:50 EDT 2001
Licensed under GNU Library General Public License
Contains Enhancements by W. Schelter
Maxima 5.6 Tue Jul 17 15:59:47 EDT 2001 (with enhancements by W. Schelter).
Licensed under the GNU Public License (see file COPYING)
(C1) integrate( exp( x ), x, x1, x2 );
(D1) x2 - x1
((C2) integrate( x, x, x1, x2 );
2 2 2 2
x2 FALSE x1 FALSE
(D2) ---------- - ----------
2 2
(C3) quit();
I then downloaded the latest snapshot of Maxima. This would not complete
compilation because the file src/mactex.lisp appears to contain binary data.
Whew. It's not been my day.
Thanks,
Allen
From [email protected] Tue Jul 17 16:19:17 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6HLJGX13316
for <[email protected]>; Tue, 17 Jul 2001 16:19:16 -0500
Received: from mail1.smarttech.com (h64-42-196-232.gtconnect.net [64.42.196.232])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id QAA02426
for <[email protected]>; Tue, 17 Jul 2001 16:19:16 -0500
Received: by mail.smarttech.com with Internet Mail Service (5.5.2653.19)
id <3V8XB9CS>; Tue, 17 Jul 2001 15:18:57 -0600
Message-ID: <[email protected]>
From: David Holmgren <[email protected]>
To: "'Camm Maguire'" <[email protected]>
Cc: "'[email protected]'" <[email protected]>
Subject: RE: [Maxima] Numerical routines in maxima
Date: Tue, 17 Jul 2001 15:18:51 -0600
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hi - I still haven't figured out myself how to plot discrete data points
with Maxima, which I think is what you're trying to do. The problem lies
with the plotting, not Newton. Sorry... Dave Holmgren
> -----Original Message-----
> From: Camm Maguire [SMTP:[email protected]]
> Sent: Tuesday, July 17, 2001 2:03 PM
> To: David Holmgren
> Cc: '[email protected]'
> Subject: Re: [Maxima] Numerical routines in maxima
>
> Greetings, and thanks so much for your helpful reply! Now do you know
> how to get something like this to work?
>
> z(c):=NEWTON(%E^d-d-c,d,1.0,0.01);
> plot2d(z(c),[c,1.2,2.3]);
>
>
> I get the following error:
>
> MACSYMA was unable to evaluate the predicate:
> ABS(c - 1.718281828459045) < 0.01
> #0: NEWTON(exp=%E^d-d-c,var=d,x0=1.0,eps=0.01)
> #1: zz(c=c)
> #2: z(c=1.5)
> -- an error. Quitting. To debug this try DEBUGMODE(TRUE);)
> (C242)
>
> David Holmgren <[email protected]> writes:
>
> > Hi Camm,
> >
> > Certainly! At the beginning of a session, type numer:true - this will
> let
> > you do nearly everything in floating point. There is a routine in the
> share
> > directory for Newton's method for your nonlinear equation. I've done a
> few
> > numerical routines by essentially transcribing published Fortran or C
> codes.
>
> I've a little library built up myself. Have you interfaced into
> maxima? If so, how?
>
> Many thanks!
>
> >
> > Dave Holmgren
> >
> > Dr. David E. Holmgren,
> > Imaging Scientitst,
> > SMART Technologies, Inc.
> > Calgary, AB, Canada
> > http://www.smarttech.com
> > [403]-235-1452, ext. 251
> > [email protected]
> >
> > > -----Original Message-----
> > > From: Camm Maguire [SMTP:[email protected]]
> > > Sent: Monday, July 16, 2001 6:48 PM
> > > To: [email protected]
> > > Subject: [Maxima] Numerical routines in maxima
> > >
> > >
> > > Greetings! I've been looking at a number of the numerical routines
> > > listed by the info pages as accessible under maxima, but I can't get
> > > any of them to work. Like zsolve, for example. Are these routines
> > > still available?
> > >
> > > If not, is there any other convenient way to numerically, rather than
> > > symbolically, process a given stage of a maxima session? Can one for
> > > example approximate the root of d=%E^d-1.5?
> > >
> > > Is there any interest in providing some numerical functions, say from
> > > the gsl library, under maxima? If so, is there a howto or simple
> > > example? I could probably add what I need.
> > >
> > > Take care,
> > >
> > > --
> > > Camm Maguire
> [email protected]
> > >
> ==========================================================================
> > > "The earth is but one country, and mankind its citizens." --
> Baha'u'llah
> > > _______________________________________________
> > > Maxima mailing list
> > > [email protected]
> > > http://www.math.utexas.edu/mailman/listinfo/maxima
> >
> >
>
> --
> Camm Maguire [email protected]
> ==========================================================================
> "The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Tue Jul 17 16:49:49 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6HLnnX14475
for <[email protected]>; Tue, 17 Jul 2001 16:49:49 -0500
Received: from intech19.enhanced.com (enhanced.ppp.eticomm.net [206.228.183.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id QAA02836
for <[email protected]>; Tue, 17 Jul 2001 16:49:29 -0500
Received: from camm by intech19.enhanced.com with local (Exim 3.12 #1 (Debian))
id 15Mcgs-0008Vn-00; Tue, 17 Jul 2001 17:47:38 -0400
To: David Holmgren <[email protected]>
Cc: "'[email protected]'" <[email protected]>
Subject: Re: [Maxima] Numerical routines in maxima
References: <[email protected]>
From: Camm Maguire <[email protected]>
Date: 17 Jul 2001 17:47:38 -0400
In-Reply-To: David Holmgren's message of "Tue, 17 Jul 2001 15:18:51 -0600"
Message-ID: <[email protected]>
Lines: 13
X-Mailer: Gnus v5.7/Emacs 20.7
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Thanks anyway very much for your help!
David Holmgren <[email protected]> writes:
> Hi - I still haven't figured out myself how to plot discrete data points
> with Maxima, which I think is what you're trying to do. The problem lies
> with the plotting, not Newton. Sorry... Dave Holmgren
>
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Tue Jul 17 20:04:34 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6I14YX20158
for <[email protected]>; Tue, 17 Jul 2001 20:04:34 -0500
Received: from arquimedes.utp.edu.co ([200.21.91.198])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id UAA05090
for <[email protected]>; Tue, 17 Jul 2001 20:04:32 -0500
Received: from arquimedes (localhost.localdomain [127.0.0.1])
by arquimedes.utp.edu.co (8.11.2/8.11.2) with SMTP id f6I10V124129
for <[email protected]>; Tue, 17 Jul 2001 20:00:32 -0500
Date: Tue, 17 Jul 2001 20:00:30 -0500
From: mono <[email protected]>
To: [email protected]
Message-Id: <[email protected]>
X-Mailer: Sylpheed version 0.4.66 (GTK+ 1.2.9; i586-pc-linux-gnu)
Organization: desofmat
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Subject: [Maxima] Runniing maxima scripts from the shell line
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
How can i execute a maxima script from the command line? i've been looking in the manual and can find any reference to the maxima arguments. What i want to know is if there is some way to run maxima like:
maxima -f script.max
and then it loads the file without having to enter maxima manually and run the script with BASH().
From [email protected] Wed Jul 18 11:18:04 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6IGI3X12023
for <[email protected]>; Wed, 18 Jul 2001 11:18:03 -0500
Received: from web14704.mail.yahoo.com (web14704.mail.yahoo.com [216.136.224.121])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with SMTP id LAA24592
for <[email protected]>; Wed, 18 Jul 2001 11:18:03 -0500
Message-ID: <[email protected]>
Received: from [128.238.35.105] by web14704.mail.yahoo.com via HTTP; Wed, 18 Jul 2001 09:18:02 PDT
Date: Wed, 18 Jul 2001 09:18:02 -0700 (PDT)
From: Virgil <[email protected]>
To: [email protected]
Cc: [email protected]
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: [Maxima] Re: Numerical routines in maxima
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
--- Camm Maguire <[email protected]> wrote:
> Greetings, and thanks so much for your helpful reply! Now do you
> know
> how to get something like this to work?
>
> z(c):=NEWTON(%E^d-d-c,d,1.0,0.01);
> plot2d(z(c),[c,1.2,2.3]);
>
>
> I get the following error:
>
> MACSYMA was unable to evaluate the predicate:
> ABS(c - 1.718281828459045) < 0.01
> #0: NEWTON(exp=%E^d-d-c,var=d,x0=1.0,eps=0.01)
> #1: zz(c=c)
> #2: z(c=1.5)
> -- an error. Quitting. To debug this try DEBUGMODE(TRUE);)
> (C242)
z(c):=NEWTON(%E^d-d-c,d,1.0,0.01) fails because, it seems to me, you
cannot define a "generic" function in terms of the newton function
applied with an unknown parameter.
I believe I did something similar to what you want by using:
i) create_list
ii) openplot_curves
It would go something like:
load("newton");
cpts:create_list(j/10,j,12,23);
pts:create_list([c,NEWTON(%E^d-d-c,d,1.0,0.001)],c,cpts);
openplot_curves([pts]);
See also http://www.ma.utexas.edu/users/wfs/netmath/pmaxima.html
Good luck!
__Virgil
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
From [email protected] Thu Jul 19 11:27:16 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6JGRGX24938
for <[email protected]>; Thu, 19 Jul 2001 11:27:16 -0500
Received: from xena.urbi.com.br (IDENT:[email protected] [200.185.120.2])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id LAA00925
for <[email protected]>; Thu, 19 Jul 2001 11:27:15 -0500
Received: from [200.185.121.139] (alo15.urbi.com.br [200.185.121.139])
by xena.urbi.com.br (8.9.3/8.9.3) with ESMTP id NAA25246;
Thu, 19 Jul 2001 13:26:42 -0300
Message-Id: <[email protected]>
X-Mailer: Microsoft Outlook Express Macintosh Edition - 4.5 (0410)
Date: Thu, 19 Jul 2001 11:43:44 -0300
Subject: Re: [Maxima] Missing something?
From: "Lizardo H. C. M. Nunes" <[email protected]>
To: [email protected]
CC: [email protected]
Mime-version: 1.0
X-Priority: 3
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I compiled Maxima following the steps below in "./src":
# make clisp-compile CLISP=clisp
# make maxima-clisp.mem CLISP=clisp
# make test-clisp CLISP=clisp
Yet, I can't use xmaxima, omplotdata and so forth. It seems I've skiped a
couple of steps or something escapes me; for instance, I can't use plot2d().
Any help is welcome.
Lizardo.
From [email protected] Thu Jul 19 14:42:43 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6JJghX31361
for <[email protected]>; Thu, 19 Jul 2001 14:42:43 -0500
Received: from intech19.enhanced.com (enhanced.ppp.eticomm.net [206.228.183.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id OAA03970
for <[email protected]>; Thu, 19 Jul 2001 14:42:41 -0500
Received: from camm by intech19.enhanced.com with local (Exim 3.12 #1 (Debian))
id 15NJgy-0006LL-00; Thu, 19 Jul 2001 15:42:36 -0400
To: Virgil <[email protected]>
Cc: [email protected]
References: <[email protected]>
From: Camm Maguire <[email protected]>
Date: 19 Jul 2001 15:42:36 -0400
In-Reply-To: Virgil's message of "Wed, 18 Jul 2001 09:18:02 -0700 (PDT)"
Message-ID: <[email protected]>
Lines: 61
X-Mailer: Gnus v5.7/Emacs 20.7
Subject: [Maxima] Re: Numerical routines in maxima
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings, and thanks so much for this example. It works! Maxima is
great ...
Take care,
Virgil <[email protected]> writes:
> --- Camm Maguire <[email protected]> wrote:
> > Greetings, and thanks so much for your helpful reply! Now do you
> > know
> > how to get something like this to work?
> >
> > z(c):=NEWTON(%E^d-d-c,d,1.0,0.01);
> > plot2d(z(c),[c,1.2,2.3]);
> >
> >
> > I get the following error:
> >
> > MACSYMA was unable to evaluate the predicate:
> > ABS(c - 1.718281828459045) < 0.01
> > #0: NEWTON(exp=%E^d-d-c,var=d,x0=1.0,eps=0.01)
> > #1: zz(c=c)
> > #2: z(c=1.5)
> > -- an error. Quitting. To debug this try DEBUGMODE(TRUE);)
> > (C242)
>
> z(c):=NEWTON(%E^d-d-c,d,1.0,0.01) fails because, it seems to me, you
> cannot define a "generic" function in terms of the newton function
> applied with an unknown parameter.
>
> I believe I did something similar to what you want by using:
> i) create_list
> ii) openplot_curves
>
> It would go something like:
>
> load("newton");
> cpts:create_list(j/10,j,12,23);
> pts:create_list([c,NEWTON(%E^d-d-c,d,1.0,0.001)],c,cpts);
> openplot_curves([pts]);
>
> See also http://www.ma.utexas.edu/users/wfs/netmath/pmaxima.html
>
> Good luck!
>
> __Virgil
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
>
>
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Thu Jul 19 17:12:27 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6JMCRX06037
for <[email protected]>; Thu, 19 Jul 2001 17:12:27 -0500
Received: from intech19.enhanced.com (enhanced.ppp.eticomm.net [206.228.183.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id RAA06167
for <[email protected]>; Thu, 19 Jul 2001 17:12:25 -0500
Received: from camm by intech19.enhanced.com with local (Exim 3.12 #1 (Debian))
id 15NM1u-0006WA-00; Thu, 19 Jul 2001 18:12:22 -0400
To: [email protected]
From: Camm Maguire <[email protected]>
Date: 19 Jul 2001 18:12:22 -0400
In-Reply-To: Camm Maguire's message of "19 Jul 2001 15:42:36 -0400"
Message-ID: <[email protected]>
Lines: 30
X-Mailer: Gnus v5.7/Emacs 20.7
Subject: [Maxima] maxima performance
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings! First let me preface this by saying that maxima is more
than fast enough for my needs, and that I haven't as yet fully
explored all its functionality. But I did notice the discussion on
bignums, and how gcl/maxima can now benefit from the enhanced
performance offered by gmp. My questions:
1) Could maxima realistically benefit from using optimized blas
routines, as does octave?
2) Could maxima realistically benefit from using MPI and running over
a cluster?
Obviously, the answer to 1 and 2 could only be yes with a problem size
much much larger than anything I personally have seen so far. I'm
just interested if any other users have seen such large problems.
Separately
3) Is there any way to use gcl as a stand-alone compiler, making object
files which can be linked with fortran and C object files into the
final executable? It seems as though the way to use gcl to make a
stand-alone program such as maxima is rather by dumping its memory
image or some such after loading the maxima lisp source.
Take care,
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Fri Jul 20 14:46:26 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6KJkQX06728
for <[email protected]>; Fri, 20 Jul 2001 14:46:26 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id OAA09167
for <[email protected]>; Fri, 20 Jul 2001 14:46:26 -0500
Received: (from wfs@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id OAA31648;
Fri, 20 Jul 2001 14:46:23 -0500
Date: Fri, 20 Jul 2001 14:46:23 -0500
Message-Id: <[email protected]>
Reply-to: [email protected]
From: William Schelter <[email protected]>
To: [email protected]
CC: [email protected]
In-reply-to: <[email protected]> (message from Camm
Maguire on 19 Jul 2001 18:12:22 -0400)
Subject: Re: [Maxima] maxima performance
Reply-to: [email protected]
References: <[email protected]>
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
1) Could maxima realistically benefit from using optimized blas
routines, as does octave?
Maxima does not have much numerical code, for such computations octave
is better and it is also covered by the GNU license. It might be
good to add code to invoke the fortran routines: I once made a file
( src/fortdef.lisp) which set up calls to a subsidiary fortran program
using xdr data exchange. I am afraid I dont know if this still works,
see the example at the end of that file.
2) Could maxima realistically benefit from using MPI and running over
a cluster?
I think it will in the long run, and I will be making gcl have multiprocessor
abilities, sometime in the coming year. Then we will have to find appropriate
places to use this in maxima.
3) Is there any way to use gcl as a stand-alone compiler, making object
files which can be linked with fortran and C object files into the
final executable? It seems as though the way to use gcl to make a ..
You can of course compile lisp files and load them with 'load'. If you
want these to reference some external C or fortran then that C or fortran
has to be linked into the base image (by adding it to the list of files
at link time when gcl/maxima is built). You can compile lisp files and
link them together: that is how gcl is built, all the .c files in the lsp and
cmpnew directories are compiled from .lsp files, and then compiled with gcc
and then linked into the image. Any program that is going to run however
will need things like the garbage collector, storage allocation, bignum routines
etc linked in ... ie basically the files of gcl.
Hope this answers the questions at least somewhat.
william
From [email protected] Sun Jul 22 08:21:50 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6MDLoX22133
for <[email protected]>; Sun, 22 Jul 2001 08:21:50 -0500
Received: from xena.urbi.com.br (IDENT:[email protected] [200.185.120.2])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id IAA02128
for <[email protected]>; Sun, 22 Jul 2001 08:21:49 -0500
Received: from [200.185.121.81] (foo17.urbi.com.br [200.185.121.81])
by xena.urbi.com.br (8.9.3/8.9.3) with ESMTP id KAA01976;
Sun, 22 Jul 2001 10:21:09 -0300
Message-Id: <[email protected]>
X-Mailer: Microsoft Outlook Express Macintosh Edition - 4.5 (0410)
Date: Sat, 21 Jul 2001 22:55:01 -0300
From: "Lizardo H. C. M. Nunes" <[email protected]>
To: [email protected]
CC: [email protected]
Mime-version: 1.0
X-Priority: 3
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
Subject: [Maxima] Plotting with Maxima?
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I used CLISP to get Maxima working for Darwin. It works fine, except for the
fact that I can't use plotting features.
For instance,
(C1) plot2d(sin(x), [x,-5,5]);
zsh: command not found: omplotdata
(D1)
I wonder what I have to do in order to get it working. I have XFree 4.0.2
and tclsh8.3
Thanks in advance,
Lizardo.
--
From [email protected] Sun Jul 22 19:59:55 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6N0xtX02129
for <[email protected]>; Sun, 22 Jul 2001 19:59:55 -0500
Received: from relay.EECS.Berkeley.EDU (relay.EECS.Berkeley.EDU [169.229.34.228])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id TAA10567
for <[email protected]>; Sun, 22 Jul 2001 19:59:55 -0500
Received: from cs.berkeley.edu (as3-1-140.HIP.Berkeley.EDU [136.152.194.62])
by relay.EECS.Berkeley.EDU (8.9.3/8.9.3) with ESMTP id RAA00863;
Sun, 22 Jul 2001 17:59:49 -0700 (PDT)
Message-ID: <[email protected]>
Date: Sun, 22 Jul 2001 17:54:14 -0700
From: Richard Fateman <[email protected]>
Organization: computer science division, UC Berkeley
X-Mailer: Mozilla 4.73 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: [email protected]
CC: [email protected], [email protected]
Subject: Re: [Maxima] maxima performance
References: <[email protected]> <[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Maxima does run in Allegro, which now has various multiprocessing
capabilities.
The search for appropriate places to use parallelism
in computer algebra has been going on for at least 30 years, with
very limited success. There are some opportunities for conversion
of symbolic questions into questions in linear algebra where parallel
algorithms have been deployed (numerical routines), so maybe there
will be some hope for the future. There are parallel Grobner
basis fans, but even best-case linear speedup of an exponential cost
algorithm
tends to have limits.
RJF
William Schelter wrote:
>
> 1) Could maxima realistically benefit from using optimized blas
> routines, as does octave?
>
> Maxima does not have much numerical code, for such computations octave
> is better and it is also covered by the GNU license. It might be
> good to add code to invoke the fortran routines: I once made a file
> ( src/fortdef.lisp) which set up calls to a subsidiary fortran program
> using xdr data exchange. I am afraid I dont know if this still works,
> see the example at the end of that file.
>
> 2) Could maxima realistically benefit from using MPI and running over
> a cluster?
>
> I think it will in the long run, and I will be making gcl have multiprocessor
> abilities, sometime in the coming year. Then we will have to find appropriate
> places to use this in maxima.
>
> 3) Is there any way to use gcl as a stand-alone compiler, making object
> files which can be linked with fortran and C object files into the
> final executable? It seems as though the way to use gcl to make a ..
>
> You can of course compile lisp files and load them with 'load'. If you
> want these to reference some external C or fortran then that C or fortran
> has to be linked into the base image (by adding it to the list of files
> at link time when gcl/maxima is built). You can compile lisp files and
> link them together: that is how gcl is built, all the .c files in the lsp and
> cmpnew directories are compiled from .lsp files, and then compiled with gcc
> and then linked into the image. Any program that is going to run however
> will need things like the garbage collector, storage allocation, bignum routines
> etc linked in ... ie basically the files of gcl.
>
> Hope this answers the questions at least somewhat.
>
> william
>
>
>
> _______________________________________________
> Maxima mailing list
> [email protected]
> http://www.math.utexas.edu/mailman/listinfo/maxima
From [email protected] Mon Jul 23 09:34:05 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6NEY4X19317
for <[email protected]>; Mon, 23 Jul 2001 09:34:04 -0500
Received: from relay.EECS.Berkeley.EDU (relay.EECS.Berkeley.EDU [169.229.34.228])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id JAA27218
for <[email protected]>; Mon, 23 Jul 2001 09:34:03 -0500
Received: from cs.berkeley.edu (as3-1-60.HIP.Berkeley.EDU [136.152.193.238])
by relay.EECS.Berkeley.EDU (8.9.3/8.9.3) with ESMTP id HAA03325;
Mon, 23 Jul 2001 07:33:44 -0700 (PDT)
Message-ID: <[email protected]>
Date: Mon, 23 Jul 2001 07:28:06 -0700
From: Richard Fateman <[email protected]>
Organization: computer science division, UC Berkeley
X-Mailer: Mozilla 4.73 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Daniel Martins <[email protected]>
CC: Maxima list <[email protected]>
Subject: Re: [Maxima] Latex x Tex function
References: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
So far as I know, all TeX commands related to equations work identically
in LaTex. I don't understand the error message about the } ... I cut
and pasted the answer into emacs and found the {} to be balanced.
There is a possibility of improving the appearance by adding small
spaces; the source code would certainly allow the replacements
of 1\over2 etc by \frac{1}{2}, but this would break the code
for users of TeX. A command latex in addition to tex could
be set up, if the alternatives are important.
RJF
Daniel Martins wrote:
>
> Just a suggestion. Possibly most people use Latex rather than Tex. I
> am not suggesting anything like that Latex is worst or better than
> pure Tex. Possibly pure Tex is really better than Latex but I started
> with latex ...
>
> In this case the tex function could be improved or maybe created a
> latex version in a not so near future.
>
> Firstly I must refrain that my migration from Mathematica is being
> incredibly smooth and also that the Tex output from Maxima is
> ABSOLUTELY better than the equivalent Mathematica function.
>
> I will present a Maxima session as an example
>
> C83) mat:MATRIX([X+3*COS(X)^2-SIN(X)^2,0],[X+3*COS(X)^3-SIN(X),1]);
> [ 2 2 ]
> [ - SIN (X) + 3 COS (X) + X 0 ]
> (D83) [ ]
> [ 3 ]
> [ - SIN(X) + 3 COS (X) + X 1 ]
> (C84) trigreduce(%);
> [ COS(2 X) COS(2 X) 1 1 ]
> [ -------- + 3 (-------- + -) + X - - 0 ]
> [ 2 2 2 2 ]
> (D84) [ ]
> [ COS(3 X) 3 COS(X) ]
> [ 3 (-------- + --------) - SIN(X) + X 1 ]
> [ 4 4 ]
>
> >>>> Here I obtain the Tex output
>
> (C85) tex(%);
> $$\pmatrix{{{\cos 2\>X}\over{2}}+3\>\left({{\cos 2\>X}\over{2}}+
> \mathchoice {{1}\over{2}}{{1}\over{2}}{1//2}{1//2}\right)+X-
> \mathchoice {{1}\over{2}}{{1}\over{2}}{1//2}{1//2}&0\cr 3\>\left({{
> \cos 3\>X}\over{4}}+{{3\>\left(\cos X\right)}\over{4}}\right)-\sin X
> +X&1\cr }$$
> (D85) FALSE
> (C86)
>
> >>>> Here is the output of latex when I include the equation above
>
> This is TeX, Version 3.14159 (Web2C 7.3.1)
> (teste.tex
> LaTeX2e <1999/12/01> patch level 1
> (...)
> ! Missing } inserted.
> <inserted text>
> }
> l.38 ...ce {{1}\over{2}}{{1}\over{2}}{1//2}{1//2}&
> 0\cr 3\>\left({{
> ?
>
> >>>> Then a suggestion that really works on latex. pmatrix is
> >>>> substituted by an
> \left(
> \begin{array}[c]{cc}
> \end{array}
> \right)
>
> >>>> The result is
>
> $$
> \left(
> \begin{array}[c]{cc}
> {{\cos 2\>X}\over{2}}+3\>\left({{\cos 2\>X}\over{2}}+
> \mathchoice {{1}\over{2}}{{1}\over{2}}{1//2}{1//2}\right)+X-
> \mathchoice {{1}\over{2}}{{1}\over{2}}{1//2}{1//2}&0\cr 3\>\left({{
> \cos 3\>X}\over{4}}+{{3\>\left(\cos X\right)}\over{4}}\right)-\sin X
> +X&1\cr
> $$
>
> >>>> And this works fine on latex. Just complain a little bit about the
> >>>> use of {1}\over{2} instead of \frac{1}{2} which the most used
> >>>> command in Latex. But this is really not a crucial problem
>
> _______________________________________________
> Maxima mailing list
> [email protected]
> http://www.math.utexas.edu/mailman/listinfo/maxima
From [email protected] Mon Jul 23 14:53:55 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6NJrtX30877
for <[email protected]>; Mon, 23 Jul 2001 14:53:55 -0500
Received: from arquimedes.utp.edu.co (IDENT:root@[200.21.91.198])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id OAA01306
for <[email protected]>; Mon, 23 Jul 2001 14:53:51 -0500
Received: from arquimedes (IDENT:[email protected] [127.0.0.1])
by arquimedes.utp.edu.co (8.11.2/8.11.2) with SMTP id f6NJnB118974
for <[email protected]>; Mon, 23 Jul 2001 14:49:12 -0500
Date: Mon, 23 Jul 2001 14:49:10 -0500
From: mono <[email protected]>
To: lista maxima <[email protected]>
Message-Id: <[email protected]>
X-Mailer: Sylpheed version 0.4.66 (GTK+ 1.2.9; i586-pc-linux-gnu)
Organization: desofmat
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Subject: [Maxima] saving plots in maxima
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I'm new to maxima and i'm finding the manual really confusing!
I want to be able to save a 2d or 3d plot without using interaction (the plot window's menu). What i need is to be able to write a script file that plots a function in to a postscript file (or any other graphical format). How can i make this?, is there a place where i can find other maxima docs?
Thanks for your help.
--
Jaime Alberto Silva Colorado
From [email protected] Mon Jul 23 15:37:41 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6NKbfX32336
for <[email protected]>; Mon, 23 Jul 2001 15:37:41 -0500
Received: from mail1.smarttech.com (h64-42-196-232.gtconnect.net [64.42.196.232])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id PAA02453
for <[email protected]>; Mon, 23 Jul 2001 15:37:41 -0500
Received: by mail.smarttech.com with Internet Mail Service (5.5.2653.19)
id <3V8XCPRM>; Mon, 23 Jul 2001 14:37:17 -0600
Message-ID: <[email protected]>
From: David Holmgren <[email protected]>
To: "'mono'" <[email protected]>
Cc: "'[email protected]'" <[email protected]>
Subject: RE: [Maxima] saving plots in maxima
Date: Mon, 23 Jul 2001 14:37:16 -0600
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hi - You can use plot2dps in the same way as plot2d, and you can also put
all of your Maxima commands into a text file which you can run in the
following way: batch("c:\blah.mc"); where blah.mc is the text file. You
also have to use the closeps command to initialize and terminate the
plot(s). I hope this helps...
Dave Holmgren
Dr. David E. Holmgren,
Imaging Scientitst,
SMART Technologies, Inc.
Calgary, AB, Canada
http://www.smarttech.com
[403]-235-1452, ext. 251
[email protected]
> -----Original Message-----
> From: mono [SMTP:[email protected]]
> Sent: Monday, July 23, 2001 1:49 PM
> To: lista maxima
> Subject: [Maxima] saving plots in maxima
>
> I'm new to maxima and i'm finding the manual really confusing!
> I want to be able to save a 2d or 3d plot without using interaction (the
> plot window's menu). What i need is to be able to write a script file that
> plots a function in to a postscript file (or any other graphical format).
> How can i make this?, is there a place where i can find other maxima docs?
>
> Thanks for your help.
>
> --
> Jaime Alberto Silva Colorado
> _______________________________________________
> Maxima mailing list
> [email protected]
> http://www.math.utexas.edu/mailman/listinfo/maxima
From [email protected] Tue Jul 24 06:49:23 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6OBnNX22446
for <[email protected]>; Tue, 24 Jul 2001 06:49:23 -0500
Received: from www.freestream.com.au ([email protected] [139.130.213.125])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id GAA19549
for <[email protected]>; Tue, 24 Jul 2001 06:49:21 -0500
Received: from there (adamski [192.168.0.21])
by www.freestream.com.au (Postfix) with SMTP id 0A689EF75
for <[email protected]>; Tue, 24 Jul 2001 22:41:53 +1000 (EST)
Content-Type: text/plain;
charset="iso-8859-1"
From: Adam Brown <[email protected]>
Reply-To: [email protected]
Organization: Freestream
To: [email protected]
Date: Tue, 24 Jul 2001 21:50:21 +1000
X-Mailer: KMail [version 1.2.9]
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Message-Id: <[email protected]>
Subject: [Maxima] Assigning results of solutions
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hi,
I'm learning my way around Maxima.
I would like to assign the results of the solution of a simultaneous equation
to variables for later use. Is there a more elegant way than this:
r:linsolve( [B2*du + A2* dv = dx, c2*du + D2 * dv = 0], [du,dv] );
du:rhs( first( r ) );
dv:rhs( last( r ) );
thanks,
Adam
From [email protected] Tue Jul 24 09:17:23 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6OEHNX25923
for <[email protected]>; Tue, 24 Jul 2001 09:17:23 -0500
Received: from relay.EECS.Berkeley.EDU (relay.EECS.Berkeley.EDU [169.229.34.228])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id JAA22175
for <[email protected]>; Tue, 24 Jul 2001 09:17:23 -0500
Received: from cs.berkeley.edu (as3-2-167.HIP.Berkeley.EDU [136.152.195.25])
by relay.EECS.Berkeley.EDU (8.9.3/8.9.3) with ESMTP id HAA22983;
Tue, 24 Jul 2001 07:17:14 -0700 (PDT)
Message-ID: <[email protected]>
Date: Tue, 24 Jul 2001 07:11:36 -0700
From: Richard Fateman <[email protected]>
Organization: computer science division, UC Berkeley
X-Mailer: Mozilla 4.73 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: [email protected]
CC: [email protected]
Subject: Re: [Maxima] Assigning results of solutions
References: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Try
globalsolve:true
and the results of linsolve will be set.
RJF
Adam Brown wrote:
>
> Hi,
>
> I'm learning my way around Maxima.
>
> I would like to assign the results of the solution of a simultaneous equation
> to variables for later use. Is there a more elegant way than this:
> r:linsolve( [B2*du + A2* dv = dx, c2*du + D2 * dv = 0], [du,dv] );
> du:rhs( first( r ) );
> dv:rhs( last( r ) );
>
> thanks,
>
> Adam
>
> _______________________________________________
> Maxima mailing list
> [email protected]
> http://www.math.utexas.edu/mailman/listinfo/maxima
From [email protected] Thu Jul 26 15:19:36 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6QKJaX21575
for <[email protected]>; Thu, 26 Jul 2001 15:19:36 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id PAA06444
for <[email protected]>; Thu, 26 Jul 2001 15:19:36 -0500
Received: (from wfs@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id PAA28733;
Thu, 26 Jul 2001 15:19:31 -0500
Date: Thu, 26 Jul 2001 15:19:31 -0500
Message-Id: <[email protected]>
Reply-to: [email protected]
From: William Schelter <[email protected]>
To: [email protected]
CC: [email protected]
In-reply-to: <[email protected]> ([email protected])
Reply-to: [email protected]
References: <[email protected]>
Subject: [Maxima] Re: Plotting with Maxima?
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
(C1) plot2d(sin(x), [x,-5,5]);
zsh: command not found: omplotdata
the file omplotdata does not reference 'zsh' but rather is invoked
using '/bin/sh'
Perhaps on your machine that references 'zsh' In any event change
the bin/omplotdata to point to a working 'sh' like shell, eg bash
From [email protected] Thu Jul 26 16:56:49 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6QLunX24703
for <[email protected]>; Thu, 26 Jul 2001 16:56:49 -0500
Received: from vwall.LF.net (vwall.LF.net [212.9.160.26])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id QAA08512
for <[email protected]>; Thu, 26 Jul 2001 16:56:48 -0500
Received: by vwall.LF.net (Outb Smail3.2.0.111/vwall.LF.net)
via LF.net GmbH Internet Services (virus checked)
via remotehost vwall.LF.net with esmtp
for www.ma.utexas.edu
id m15Pt7e-001rc1C; Thu, 26 Jul 2001 23:56:46 +0200 (CEST)
Received: by vwall.LF.net (Inb Smail3.2.0.111/vwall.LF.net)
via LF.net GmbH Internet Services
via remoteip 212.9.184.26
via remotehost firewall.neuearbeit.de with esmtp
for www.ma.utexas.edu
id m15Pt7d-001hI1C; Thu, 26 Jul 2001 23:56:45 +0200 (CEST)
Received: from linuxsexi.neuearbeit.de (root@linuxsexi [172.16.1.21])
by firewall.neuearbeit.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id XAA08584
for <[email protected]>; Thu, 26 Jul 2001 23:56:45 +0200
Received: (from quest@localhost)
by linuxsexi.neuearbeit.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id XAA02160;
Thu, 26 Jul 2001 23:56:46 +0200
From: Marko Riedel <[email protected]>
Date: Thu, 26 Jul 2001 23:56:45 +0200 (CEST)
To: [email protected]
X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid
Message-ID: <[email protected]>
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
Subject: [Maxima] Linsolve.
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings.
The code that I am about to refer to is included at the end of this
message. I am running MAXIMA on a SuSE Linux 7.1 system. I installed
it from
maxima-5.4-1.i386.rpm.
What does the following output from linsolve mean?
(C79) vvs : LINSOLVE(L, vs)
Dependent equations eliminated: (4 7 63 79 94 108 121 133 144 64 80 95 109 122 134 65 81 96 110 123 66
82 97 111 67 83 98 2 6 84 85 86 115)
Inconsistent equations: $ERREXP1
-- an error. Quitting. To debug this try DEBUGMODE(TRUE);)
(C80) PRINT(ERREXP1);
Error: Caught fatal error [memory may be damaged]
Fast links are on: do (si::use-fast-links nil) for debugging
Error signalled by CATCH.
Broken at MACSYMA-TOP-LEVEL. Type :H for Help.
Why doesn't it display the inconsistent equations by number as is
usually the case? What should I make of ERREXP1 and the error message
that appears when I try to access it?
Thanks in advance for your help,
Marko Riedel
----------------------------------------------------------------------
f : z*u/(1-z)/(1-z*u);
r : 1/(1-z);
r1 : z^2/(1-z)^4;
r2 : 8*z^3/(1-z)^6;
ru : SUBST(z*u, z, r);
ru1 : SUBST(z*u, z, r1);
ru2 : SUBST(z*u, z, r2);
G : -1/3*u*z^3*(u^3*z^3 + u^2*z^3 -6*u^2*z^2 +
3*u^2*z + 3*u*z - u^2 - 1)
/(1-z)^4/(1-z*u)^4;
t1 : u*ru2*f;
t2 : 2*u*ru1*G;
t3 : u*ru*G1;
t4 : u*ru2*r;
t5 : 2*u*ru1*r1;
t6 : u*ru*r2;
t7 : r2*f;
t8 : 2*r1*G;
t9 : r*G1;
rhs1 : FACTOR(t1+t2+t4+t5+t6+t7+t8);
rhs2 : FACTOR(RAT(t3+t9));
count : 0;
s : 0;
vs : [];
t : 0;
FOR I:0 WHILE I<=1 DO
(t : t + CONCAT('v, count)*u^I,
vs : CONS(CONCAT('v, count), vs),
count : count+1);
s : s + t/(1-z);
t : 0;
FOR I:0 WHILE I<=2 DO
(t : t + CONCAT('v, count)*u^I,
vs : CONS(CONCAT('v, count), vs),
count : count+1);
s : s + t/(1-z)^2;
t : 0;
FOR I:0 WHILE I<=3 DO
(t : t + CONCAT('v, count)*u^I,
vs : CONS(CONCAT('v, count), vs),
count : count+1);
s : s + t/(1-z)^3;
t : 0;
FOR I:0 WHILE I<=4 DO
(t : t + CONCAT('v, count)*u^I,
vs : CONS(CONCAT('v, count), vs),
count : count+1);
s : s + t/(1-z)^4;
t : 0;
FOR I:0 WHILE I<=5 DO
(t : t + CONCAT('v, count)*u^I,
vs : CONS(CONCAT('v, count), vs),
count : count+1);
s : s + t/(1-z)^5;
t : 0;
FOR I:0 WHILE I<=6 DO
(t : t + CONCAT('v, count)*u^I,
vs : CONS(CONCAT('v, count), vs),
count : count+1);
s : s + t/(1-z)^6;
t : 0;
FOR I:0 WHILE I<=7 DO
(t : t + CONCAT('v, count)*u^I,
vs : CONS(CONCAT('v, count), vs),
count : count+1);
s : s + t/(1-z)^7;
t : 0;
FOR I:0 WHILE I<=1 DO
(t : t + CONCAT('v, count)*u^I,
vs : CONS(CONCAT('v, count), vs),
count : count+1);
s : s + t/(1-z*u);
t : 0;
FOR I:0 WHILE I<=2 DO
(t : t + CONCAT('v, count)*u^I,
vs : CONS(CONCAT('v, count), vs),
count : count+1);
s : s + t/(1-z*u)^2;
t : 0;
FOR I:0 WHILE I<=3 DO
(t : t + CONCAT('v, count)*u^I,
vs : CONS(CONCAT('v, count), vs),
count : count+1);
s : s + t/(1-z*u)^3;
t : 0;
FOR I:0 WHILE I<=4 DO
(t : t + CONCAT('v, count)*u^I,
vs : CONS(CONCAT('v, count), vs),
count : count+1);
s : s + t/(1-z*u)^4;
t : 0;
FOR I:0 WHILE I<=5 DO
(t : t + CONCAT('v, count)*u^I,
vs : CONS(CONCAT('v, count), vs),
count : count+1);
s : s + t/(1-z*u)^5;
t : 0;
FOR I:0 WHILE I<=6 DO
(t : t + CONCAT('v, count)*u^I,
vs : CONS(CONCAT('v, count), vs),
count : count+1);
s : s + t/(1-z*u)^6;
t : 0;
FOR I:0 WHILE I<=7 DO
(t : t + CONCAT('v, count)*u^I,
vs : CONS(CONCAT('v, count), vs),
count : count+1);
s : s + t/(1-z*u)^7;
scale : 8;
f : (1-z)^scale*(1-z*u)^scale;
MULT(T) := RAT(T*f);
lhs : MAP(MULT, DIFF(s, z));
rhs1a : MAP(MULT, rhs1);
rhs2a : SUBST(MAP(MULT, s), G1, rhs2);
eq : EXPAND(lhs - rhs1a - rhs2a);
L : [];
coeffs : 16;
FOR I:0 WHILE I<=coeffs DO
Z[I] : COEFF(eq, z, I);
FOR I:0 WHILE I<=coeffs DO
FOR J:0 WHILE J<=coeffs DO
(C : COEFF(Z[I], u, J),
IF C#0 THEN L : CONS(C=0, L));
F : [];
FOR I:1 WHILE I<=coeffs*coeffs DO
F : CONS(CONCAT('%R, I)=0, F);
vvs : LINSOLVE(L, vs);
From [email protected] Mon Jul 30 15:20:10 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6UKK9X17461
for <[email protected]>; Mon, 30 Jul 2001 15:20:09 -0500
Received: from angola.grante.ufsc.br (mail@[150.162.22.231])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id PAA11589
for <[email protected]>; Mon, 30 Jul 2001 15:20:05 -0500
Received: from daniel by angola.grante.ufsc.br with local (Exim 3.12 #1 (Debian))
id 15RJWY-0000UD-00; Mon, 30 Jul 2001 17:20:22 -0300
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <[email protected]>
Date: Mon, 30 Jul 2001 17:20:21 -0300
To: [email protected]
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
X-Mailer: VM 6.94 under Emacs 20.7.2
From: Daniel Martins <[email protected]>
Reply-to: Daniel Martins <[email protected]>
CC: [email protected]
Subject: [Maxima] TRig simplifications failing
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I am having some trouble when I try to simplify certain trigonometic
expressions
For instance: after a loop using rotation matrices I obtain a matrix
like
From [email protected] Mon Jul 30 15:34:01 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f6UKY1X17893
for <[email protected]>; Mon, 30 Jul 2001 15:34:01 -0500
Received: from angola.grante.ufsc.br (mail@[150.162.22.231])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id PAA11838
for <[email protected]>; Mon, 30 Jul 2001 15:33:59 -0500
Received: from daniel by angola.grante.ufsc.br with local (Exim 3.12 #1 (Debian))
id 15RJkL-0000Ug-00; Mon, 30 Jul 2001 17:34:37 -0300
Message-ID: <[email protected]>
Date: Mon, 30 Jul 2001 17:34:35 -0300
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: [email protected]
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
X-Mailer: VM 6.94 under Emacs 20.7.2
From: Daniel Martins <[email protected]>
Reply-to: Daniel Martins <[email protected]>
CC: [email protected]
Subject: [Maxima] TRig simplifications failing
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I am having some trouble when I try to simplify certain trigonometic
expressions
For instance: after a loop using rotation matrices I obtain a matrix
with elements like
[ COS(q4 + q3 + q2 + q1) + COS(q4 + q3 + q2 - q1) ]
[ ----------------------------------------------- ]
[ 2 ]
[ ]
(D46) Col 1 = [ SIN(q4 + q3 + q2 + q1) - SIN(q4 + q3 + q2 - q1) ]
[ ----------------------------------------------- ]
[ 2 ]
[ ]
[ SIN(q4 + q3 + q2) ]
but I could not obtain a simpler expression like
[ cos(q4+q3+q2)*cos(q1)]
[ sin(q4+q3+q2)*cos(q1)]
[ sin(q4+q3+q2) ]
which I intend to make another substitution like
[c234*c1]
[s234*c1]
[s234 ]
as the process fails at the first time the result becomes incredibly
large.
From [email protected] Wed Aug 1 03:51:29 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f718pTX11680
for <[email protected]>; Wed, 1 Aug 2001 03:51:29 -0500
Received: from dialup.nacamar.de (authsrv.nacamar.de [194.162.162.197])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with SMTP id DAA32496
for <[email protected]>; Wed, 1 Aug 2001 03:51:29 -0500
Received: (qmail 12837 invoked from network); 1 Aug 2001 08:51:24 -0000
Received: from unknown (HELO Majestix.magnum.de) (195.185.102.165)
by authsrv.nacamar.de with SMTP; 1 Aug 2001 08:51:24 -0000
Received: from magnum.de ([192.168.1.80])
by Majestix.magnum.de (8.9.3/8.8.7) with ESMTP id KAA05095
for <[email protected]>; Wed, 1 Aug 2001 10:50:55 +0200
Message-ID: <[email protected]>
Date: Wed, 01 Aug 2001 10:59:02 +0200
From: Harald Swidersky <[email protected]>
X-Mailer: Mozilla 4.5 [de] (WinNT; I)
X-Accept-Language: de
MIME-Version: 1.0
To: [email protected]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Subject: [Maxima] Generating C-Code
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hi,
I'm still working on a system of differntial equations for describing
fluid phenomenas. MAXIMA is a good help for solving these. Is there
any LISP module for output into C instead of FORTRAN ?
Thanks, Harald
From [email protected] Wed Aug 1 11:32:35 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f71GWZX23905
for <[email protected]>; Wed, 1 Aug 2001 11:32:35 -0500
Received: from UNKmail.unk.edu (UNKmail.UNK.edu [144.216.2.9])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id LAA14859
for <[email protected]>; Wed, 1 Aug 2001 11:32:35 -0500
From: [email protected]
To: [email protected]
Date: Wed, 1 Aug 2001 11:32:42 -0500
Message-ID: <[email protected]>
X-MIMETrack: Serialize by Router on UNKmail.unk.edu/Servers/UNEBR(Release 5.0.6a |January
17, 2001) at 08/01/2001 11:32:44 AM
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Subject: [Maxima] tex bugs
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
These examples were generated using maxima 5.5 under NT and using the
mactex.lisp
version 1.6 from the CVS.
(C4) depends(f,x);
(D4) [f(x)]
tex(diff(f,x)) is okay:
(C5) tex(diff(f,x));
$${{d}\over{d\,x}}\,f$$
(D5) FALSE
But tex((diff(f,x)^2) isn't:
(C6) tex((diff(f,x))^2);
$$%DERIVATIVE^2\left(\left(f,x,1\right)\right)$$
Worse, (a and x are unbound) tex has problems with simple powers:
(C12) tex(diff(f,x)^a);
$$
Error: |$a| is not of type (OR RATIONAL LISP:FLOAT).
Fast links are on: do (si::use-fast-links nil) for debugging
Error signalled by <.
Broken at <. Type :H for Help.
MAXIMA>>
(C18) tex(x^x);
$$
Error: |$x| is not of type (OR RATIONAL LISP:FLOAT).
Fast links are on: do (si::use-fast-links nil) for debugging
Error signalled by <.
Broken at <. Type :H for Help.
MAXIMA>>
blw
From [email protected] Thu Aug 2 09:04:25 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f72E4PX28086
for <[email protected]>; Thu, 2 Aug 2001 09:04:25 -0500
Received: from herald.cc.purdue.edu (herald.cc.purdue.edu [128.210.11.29])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id JAA16106
for <[email protected]>; Thu, 2 Aug 2001 09:04:24 -0500
Received: from purdue.edu (dial-c-02-80.resnet.purdue.edu [128.211.132.186])
by herald.cc.purdue.edu (8.11.3/8.11.3/herald) with ESMTP id f72E4Nh28282
for <[email protected]>; Thu, 2 Aug 2001 09:04:23 -0500 (EST)
Message-ID: <[email protected]>
Date: Thu, 02 Aug 2001 08:59:07 -0500
From: Nels Tomlinson <[email protected]>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2+) Gecko/20010731
X-Accept-Language: en, zh
MIME-Version: 1.0
To: [email protected]
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: [Maxima] problem with is();
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hello again,
First a question: I am trying to test some complicated inequalities.
Since they don't seem to be true in general, I need to figure out the
conditions on k, ka and kc which make them true. I'm wondering if there
is some easier way to do this than assume() and is() and lots of
intervention? Do we have something like a whenis() function, which
would return a set of conditions under which an inequality holds?
Second, I think that I may have found a problem with Maxima's reasoning:
I wonder if this is a bug, or whether I'm expecting too much of Maxima.
C28 is true, as it should be. I think C29 should be true, too, by
transitivity and C31. I added curly-braces in D30; they should line up
vertically, for in case the formatting gets messed up.
(C28) is(3*k-1<kc);
(D28) TRUE
(C29) is(3*k-1<2*kc);
MACSYMA was unable to evaluate the predicate:
ERREXP1
-- an error. Quitting. To debug this try DEBUGMODE(TRUE);)
(C30) facts(initial);
{2 - ka } {kc + 1 } { 3 k }
(D30) [kc + ka - 1 > 0, 1 > ka, 1 > kc, k > {------}, {------} > k,{
---} > kc,
{ 3 } { 3 } { 2 }
ka + 3 k - 2 > 0, kc - 3 k + 1 > 0, kc > 0]
(C31) is(kc<2*kc);
(D31) TRUE
(C32) is(3*k-1<2*kc);
MACSYMA was unable to evaluate the predicate:
ERREXP1
-- an error. Quitting. To debug this try DEBUGMODE(TRUE);)
(C33)
By the way, this is Maxima 5.6 on gcl 2.4 on Redhat 7.1.
Thanks,
Nels
From [email protected] Mon Aug 6 13:54:21 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f76IsKX03321
for <[email protected]>; Mon, 6 Aug 2001 13:54:21 -0500
Received: from pcrm.win.tue.nl ([email protected] [131.155.69.41])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id NAA32637
for <[email protected]>; Mon, 6 Aug 2001 13:54:20 -0500
From: [email protected]
Received: (from stephan@localhost)
by pcrm.win.tue.nl (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id XAA19422
for [email protected]; Mon, 6 Aug 2001 23:54:37 +0200
Date: Mon, 6 Aug 2001 23:54:37 +0200
To: [email protected]
Message-ID: <[email protected]>
Reply-To: [email protected]
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
Subject: [Maxima] expand_wrt
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hello list,
I would like to use the function expand_wrt.
According to the docs, I should do a LOAD(STOPEX); .
So I do that, but this gives me:
Error: ((MLIST SIMP) $GNAUTO $FASL ...) cannot be coerced to a namestring.
Fast links are on: do (si::use-fast-links nil) for debugging
Error signalled by MACSYMA-TOP-LEVEL.
Broken at MEVAL. Type :H for Help.
I'm really not a Lisp wizard, and I have no idea what's going wrong.
Maxima version is the following:
GCL (GNU Common Lisp) Version(2.3.8) Wed Apr 11 16:57:10 CEST 2001
Maxima 5.5 Wed Apr 11 16:56:48 CEST 2001 (with enhancements by W. Schelter).
Any ideas what's going wrong?
Greetings,
Stephan
--
ir. Stephan H.M.J. Houben
tel. +31-40-2475518 / +31-40-2743497
e-mail: [email protected]
From [email protected] Tue Aug 7 04:49:00 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f779n0X27062
for <[email protected]>; Tue, 7 Aug 2001 04:49:00 -0500
Received: from maild.telia.com ([email protected] [194.22.190.101])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id EAA15229
for <[email protected]>; Tue, 7 Aug 2001 04:48:58 -0500
Received: from d1o49.telia.com (d1o49.telia.com [195.198.194.241])
by maild.telia.com (8.11.2/8.11.0) with ESMTP id f779muI13137
for <[email protected]>; Tue, 7 Aug 2001 11:48:56 +0200 (CEST)
Received: from martens.pp.se (t6o49p6.telia.com [195.198.195.66])
by d1o49.telia.com (8.10.2/8.10.1) with ESMTP id f779mtk14398
for <[email protected]>; Tue, 7 Aug 2001 11:48:55 +0200 (CEST)
Message-ID: <[email protected]>
Date: Tue, 07 Aug 2001 11:39:52 +0200
From: Raoul Martens <[email protected]>
X-Mailer: Mozilla 4.73 [en] (Win95; I)
X-Accept-Language: en-GB
MIME-Version: 1.0
To: [email protected]
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Subject: [Maxima] hyperbola
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Dear List-members,
Acc. to an article in Fibonacci Quarterly Vol.37.2, May 1991,
the geometry of the Fibonacciseries is a hyperbola with asymp-
totes x = -2 and x + y = 1. I would very much like to know the
equations and the excentricity of this hyperbola.
I would also like to know the solutions to the following two
equations hopefully giving the reason for their differnce:
a. x^2 + 2x + y^2 = -2 {ؠ(Empty Set)}
b. x^2 + 2x + y^2 = -1 {point (-1,0)}
Sincerely
Raoul Martens
From [email protected] Tue Aug 7 07:42:04 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f77Cg4X30326
for <[email protected]>; Tue, 7 Aug 2001 07:42:04 -0500
Received: from vwall.LF.net (vwall.LF.net [212.9.160.26])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id HAA18114
for <[email protected]>; Tue, 7 Aug 2001 07:42:03 -0500
Received: by vwall.LF.net (Outb Smail3.2.0.111/vwall.LF.net)
via LF.net GmbH Internet Services (virus checked)
via remotehost vwall.LF.net with esmtp
for www.ma.utexas.edu
id m15U6BN-001rc1C; Tue, 7 Aug 2001 14:42:01 +0200 (CEST)
Received: by vwall.LF.net (Inb Smail3.2.0.111/vwall.LF.net)
via LF.net GmbH Internet Services
via remoteip 212.9.184.26
via remotehost firewall.neuearbeit.de with esmtp
for www.ma.utexas.edu
id m15U6BN-001hI1C; Tue, 7 Aug 2001 14:42:01 +0200 (CEST)
Received: from linuxsexi.neuearbeit.de (root@linuxsexi [172.16.1.21])
by firewall.neuearbeit.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id OAA00355
for <[email protected]>; Tue, 7 Aug 2001 14:42:01 +0200
Received: (from quest@localhost)
by linuxsexi.neuearbeit.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id OAA00554;
Tue, 7 Aug 2001 14:42:02 +0200
From: Marko Riedel <[email protected]>
Date: Tue, 7 Aug 2001 14:42:02 +0200 (CEST)
To: [email protected]
Subject: [Maxima] hyperbola
In-Reply-To: <[email protected]>
References: <[email protected]>
X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid
Message-ID: <[email protected]>
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings.
Rewrite these two equations as
(x+1)^2 + y^2 = -1
(x+1)^2 + y^2 = 0.
Real squares are positive, so the first one cannot be solved. The
second one implies that x+1=y=0.
Best regards,
Marko Riedel
From [email protected] Thu Aug 16 05:25:28 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f7GAPSX23209
for <[email protected]>; Thu, 16 Aug 2001 05:25:28 -0500
Received: from smtp3.cern.ch (smtp3.cern.ch [137.138.131.164])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id FAA10673
for <[email protected]>; Thu, 16 Aug 2001 05:25:28 -0500
Received: from lxplus034.cern.ch (IDENT:[email protected] [137.138.161.101])
by smtp3.cern.ch (8.11.3/8.11.3) with ESMTP id f7GAOuo13077
for <[email protected]>; Thu, 16 Aug 2001 12:24:56 +0200 (MET DST)
Received: (from mrohne@localhost)
by lxplus034.cern.ch (8.9.3/8.9.3) id MAA17599;
Thu, 16 Aug 2001 12:24:57 +0200
X-Authentication-Warning: lxplus034.cern.ch: mrohne set sender to [email protected] using -f
From: Ole Rohne <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <[email protected]>
Date: Thu, 16 Aug 2001 12:24:57 +0200
To: [email protected]
X-Mailer: VM 6.76 under Emacs 20.4.1
Subject: [Maxima] maxima-5.6 and cmucl 18c x86
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings,
First, thanks a lot to whoever adopted maxima to run under
cmucl. There were however still a few quirks I had to bypass for it to
actually run correctly, this made me wonder if I should look for newer
cmucl specific patches? I didn't have much luck with the CVS
version. Anyway, bypassing the quirks, maxima passes all the tests in
doc/tests.lisp, and blazingly fast:-)
Here is a summary of my fixes, intermixed with relevant diffs:
* *QUO is declared to be inline and ftype (function (* *) *), while
actually being ftype (function (number number) (values number
&optional integer)) This combination caused cmucl 18c x86f to
generate incorrect code, assuming the function would never be
called with integer arguments. The symptom of this was the COMPPI
function never returning. Putting a PROGN around the TRUNCATE to
explicitly get rid of the extra return value solves the problem
diff -rU 4 maxima-5.6/src/compat.lisp ../src/maxima-5.6/src/compat.lisp
--- maxima-5.6/src/compat.lisp Mon May 8 08:09:41 2000
+++ ../src/maxima-5.6/src/compat.lisp Wed Aug 8 00:14:24 2001
@@ -39,11 +39,11 @@
(proclaim '(inline *quo *dif))
#+cl
(DEFun *QUO (X Y)
(cond ((and (integerp x) (integerp y))
- (truncate x y))
+ (progn (truncate x y)))
(t (/ X Y))))
#+cl
(DEFun *DIF (X Y) (- X Y))
* My next point doesn't have a diff but is related to the build
process. When running (COMPILE-MAXIMA) followed by (SAVE-MAXIMA)
during one lisp session, some DEFMACROs in hyp.lisp (notably MABS)
remains defined in the restarted image. This is apparently not the
intention, see EVAL-WHEN in hyp.lisp. The symptom here is simple
expressions like x:0.1; abs(x^2-10); throwing a lisp error. I guess
it would be possible to explicitly undefine macros before saving the
image. A simpler solution is to quit cmucl after (COMPILE-MAXIMA),
then restart cmucl, run (COMPILE-MAXIMA) (This loads the already
compiled hyp.x86f respecting the intention of its EVAL-WHEN) and
finally (SAVE-MAXIMA)
* cmucl doesn't have EVALHOOK, thus :lisp from the maxima prompt
fails. This fix is probably not complete wrt *break-env* and
friends.
diff -rU 4 maxima-5.6/src/mdebug.lisp ../src/maxima-5.6/src/mdebug.lisp
--- maxima-5.6/src/mdebug.lisp Thu Apr 19 06:44:41 2001
+++ ../src/maxima-5.6/src/mdebug.lisp Mon Aug 6 21:45:07 2001
@@ -99,9 +99,10 @@
(setf (symbol-function gen) fun) (setf (get key prop) gen)
(setq fun gen)))
(cond (fun
(setq args (cons fun args))
- (evalhook args nil nil *break-env*)
+ #-cmu(evalhook args nil nil *break-env*)
+ #+cmu(eval args)
)
(t (format *debug-io* "~&~S is undefined break command.~%" key)))
)
* Not having the regex library installed, load-foreign fails during
image restart, but with an error other than FILE-ERROR. Fix is
obvious.
diff -rU 4 maxima-5.6/src/compile-cmulisp.lisp ../src/maxima-5.6/src/compile-cmulisp.lisp
--- maxima-5.6/src/compile-cmulisp.lisp Fri Apr 27 18:11:16 2001
+++ ../src/maxima-5.6/src/compile-cmulisp.lisp Sat Aug 4 21:41:34 2001
@@ -115,9 +115,11 @@
(ext:load-foreign *regex-lib*)
(load (maxima-path "src" "cmulisp-regex") :if-source-newer :compile)
(load (maxima-path "src" "cl-info") :if-source-newer :compile))
- (file-error ()
+ (error ()
(format t "~&Regex support files not found. Skipping regexp stuff for describe~%")))
))
(defvar *maxima-directory* nil)
Regards, Ole Myren Rohne
From [email protected] Thu Aug 16 11:43:22 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f7GGhMX05093
for <[email protected]>; Thu, 16 Aug 2001 11:43:22 -0500
Received: from imr1.ericy.com (imr1.ericy.com [208.237.135.240])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id LAA20290
for <[email protected]>; Thu, 16 Aug 2001 11:43:21 -0500
Received: from mr6.exu.ericsson.se (mr6u3.ericy.com [208.237.135.123])
by imr1.ericy.com (8.11.3/8.11.3) with ESMTP id f7GGhLp26274
for <[email protected]>; Thu, 16 Aug 2001 11:43:21 -0500 (CDT)
Received: from eamrcnt747.exu.ericsson.se (eamrcnt747.exu.ericsson.se [138.85.133.37])
by mr6.exu.ericsson.se (8.11.3/8.11.3) with SMTP id f7GGhKK01753
for <[email protected]>; Thu, 16 Aug 2001 11:43:20 -0500 (CDT)
Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt747.exu.ericsson.se ; Thu Aug 16 11:43:18 2001 -0500
Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.123.225]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id MAA29910; Thu, 16 Aug 2001 12:44:10 -0400 (EDT)
Received: (from toy@localhost)
by edgedsp4.rtp.ericsson.se (8.9.3+Sun/8.9.1) id MAA13108;
Thu, 16 Aug 2001 12:43:15 -0400 (EDT)
X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to [email protected] using -f
To: Ole Rohne <[email protected]>
Cc: [email protected]
Subject: Re: [Maxima] maxima-5.6 and cmucl 18c x86
References: <[email protected]>
From: Raymond Toy <[email protected]>
Date: 16 Aug 2001 12:43:15 -0400
In-Reply-To: <[email protected]>
Message-ID: <[email protected]>
Lines: 32
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (artichoke)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
>>>>> "Ole" == Ole Rohne <[email protected]> writes:
Ole> actually run correctly, this made me wonder if I should look for newer
Ole> cmucl specific patches? I didn't have much luck with the CVS
I have a few patches but they have to do with plotting. They're not
quite ready yet.
Ole> Here is a summary of my fixes, intermixed with relevant diffs:
Ole> (proclaim '(inline *quo *dif))
Ole> #+cl
Ole> (DEFun *QUO (X Y)
Ole> (cond ((and (integerp x) (integerp y))
Ole> - (truncate x y))
Ole> + (progn (truncate x y)))
Ole> (t (/ X Y))))
This progn shouldn't change anything. Don't you mean (values
(truncate x y)) so that returns exactly one value?
Ole> * My next point doesn't have a diff but is related to the build
Ole> process. When running (COMPILE-MAXIMA) followed by (SAVE-MAXIMA)
Ole> during one lisp session, some DEFMACROs in hyp.lisp (notably MABS)
Ole> remains defined in the restarted image. This is apparently not the
Ole> intention, see EVAL-WHEN in hyp.lisp. The symptom here is simple
Doesn't that mean that the eval-when is either wrong or CMUCL is not
doing the right thing with the eval-when? The current CVS versions of
CMUCL has an ANSI compliant eval-when implementation now.
Ray
From [email protected] Fri Aug 17 02:02:24 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f7H72NX01436
for <[email protected]>; Fri, 17 Aug 2001 02:02:23 -0500
Received: from smtp3.cern.ch (smtp3.cern.ch [137.138.131.164])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id CAA09565
for <[email protected]>; Fri, 17 Aug 2001 02:02:23 -0500
Received: from lxplus009.cern.ch (IDENT:[email protected] [137.138.161.118])
by smtp3.cern.ch (8.11.3/8.11.3) with ESMTP id f7H71po09974;
Fri, 17 Aug 2001 09:01:51 +0200 (MET DST)
Received: (from mrohne@localhost)
by lxplus009.cern.ch (8.9.3/8.9.3) id JAA18239;
Fri, 17 Aug 2001 09:01:51 +0200
X-Authentication-Warning: lxplus009.cern.ch: mrohne set sender to [email protected] using -f
From: Ole Rohne <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <[email protected]>
Date: Fri, 17 Aug 2001 09:01:50 +0200
To: Raymond Toy <[email protected]>
Cc: [email protected]
Subject: Re: [Maxima] maxima-5.6 and cmucl 18c x86
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
X-Mailer: VM 6.76 under Emacs 20.4.1
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Raymond Toy writes:
> I have a few patches but they have to do with plotting. They're not
> quite ready yet.
So you got the basics to work without the problems I had? IIRC, you're
on sparc and run cmucl from CVS, that could be the reason.
> Ole> (proclaim '(inline *quo *dif))
> Ole> #+cl
> Ole> (DEFun *QUO (X Y)
> Ole> (cond ((and (integerp x) (integerp y))
> Ole> - (truncate x y))
> Ole> + (progn (truncate x y)))
> Ole> (t (/ X Y))))
>
> This progn shouldn't change anything. Don't you mean (values
> (truncate x y)) so that returns exactly one value?
I had (if (...) (prog1 (truncate x y)) (/ x y)). Trying to
hand edit for a minimal diff I accidentally changed PROG1 -> PROGN
:-(Shame on me)-:
BTW: (prog1 form) works like (values form), is that a bug?
> Doesn't that mean that the eval-when is either wrong or CMUCL is not
> doing the right thing with the eval-when? The current CVS versions of
> CMUCL has an ANSI compliant eval-when implementation now.
I'm wondering: If I compile a file containing,
(eval-when (eval compile) (defmacro foo ...) ...),
is it correct for FOO to be defined as a macro in the lisp image where
the compilation takes place? Or should the DEFMACRO only have effect
for the compilation unit? I saw something relating to this in the
hyperspec, but I didn't really understand it.
Here is what happens to me: I compile hyp.lisp, MABS gets defined as a
macro in that image. I dump and restart maxima.core, MABS is still
defined as a macro in my image. On the other hand, if I start a fresh
lisp and load hyp.x86f, MABS is not defined as a macro because of the
EVAL-WHEN. It would be interesting to know if the CVS version behaves
differently from my stock 18c. I am not, however, a CMUCL compiling
person.
Regards, Ole
From [email protected] Fri Aug 17 11:23:10 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f7HGNAX17287
for <[email protected]>; Fri, 17 Aug 2001 11:23:10 -0500
Received: from hostbureau.hostbureau.net (hostbureau.hostbureau.net [209.150.128.194] (may be forged))
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id LAA25538
for <[email protected]>; Fri, 17 Aug 2001 11:23:10 -0500
Received: from [151.10.64.170] (acad.utdt.edu [200.41.62.131])
by hostbureau.hostbureau.net (8.8.5/8.8.5) with ESMTP id LAA21399
for <[email protected]>; Fri, 17 Aug 2001 11:21:38 -0500
Date: Fri, 17 Aug 2001 13:24:25 -0300 (ART)
From: Federico Echenique <[email protected]>
X-X-Sender: <[email protected]>
To: <[email protected]>
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Subject: [Maxima] (no subject)
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hello,
I'm new with this and finding it hard to learn how to use
Maxima with the info page and manual. Do you know of any
introductory manuals or tutorials? Also, has anyone posted
maxima code on varied (simple) problems so one can learn from
looking at it? If not is anyone willing to do this?
Thanks,
Federico
From [email protected] Fri Aug 17 11:33:22 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f7HGXMX17646
for <[email protected]>; Fri, 17 Aug 2001 11:33:22 -0500
Received: from s-inf-pc24.oulu.fi (s-inf-pc24.oulu.fi [130.231.50.154])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id LAA25998
for <[email protected]>; Fri, 17 Aug 2001 11:33:21 -0500
Received: from localhost (tuukkat@localhost)
by s-inf-pc24.oulu.fi (8.9.3/8.9.3) with ESMTP id TAA18433;
Fri, 17 Aug 2001 19:33:15 +0300
X-Authentication-Warning: s-inf-pc24.oulu.fi: tuukkat owned process doing -bs
Date: Fri, 17 Aug 2001 19:33:15 +0300 (EEST)
From: Tuukka Toivonen <[email protected]>
X-Sender: [email protected]
To: Federico Echenique <[email protected]>
cc: [email protected]
Subject: Re: [Maxima] (no subject)
In-Reply-To: <[email protected]>
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
On Fri, 17 Aug 2001, Federico Echenique wrote:
> Maxima with the info page and manual. Do you know of any
> introductory manuals or tutorials? Also, has anyone posted
Unfortunately not, except what comes along Maxima (be sure to
get the most recent Maxima manual, it seems to improve fast in
the direction of having a tutorial in the beginning)
There is this book:
MACSYMA FOR STATISTICIANS
Barbara Heller
Wiley Series in Probability and Mathematical Statistics
ISBN 0-471-62590-6
I think it's very good for beginners, try to find it (eg. from library).
From [email protected] Tue Aug 21 13:04:07 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f7LI47X03536
for <[email protected]>; Tue, 21 Aug 2001 13:04:07 -0500
Received: from imr1.ericy.com (imr1.ericy.com [208.237.135.240])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id NAA31579
for <[email protected]>; Tue, 21 Aug 2001 13:04:02 -0500
Received: from mr7.exu.ericsson.se (mr7u3.ericy.com [208.237.135.122])
by imr1.ericy.com (8.11.3/8.11.3) with ESMTP id f7LI41p29626
for <[email protected]>; Tue, 21 Aug 2001 13:04:01 -0500 (CDT)
Received: from eamrcnt747.exu.ericsson.se (eamrcnt747.exu.ericsson.se [138.85.133.37])
by mr7.exu.ericsson.se (8.11.3/8.11.3) with SMTP id f7LI41J08602
for <[email protected]>; Tue, 21 Aug 2001 13:04:01 -0500 (CDT)
Received: FROM netmanager7.rtp.ericsson.se BY eamrcnt747.exu.ericsson.se ; Tue Aug 21 13:03:43 2001 -0500
Received: from edgedsp4.rtp.ericsson.se (edgedsp4.rtp.ericsson.se [147.117.122.19]) by netmanager7.rtp.ericsson.se (8.8.8+Sun/8.6.4) with ESMTP id OAA24216; Tue, 21 Aug 2001 14:04:36 -0400 (EDT)
Received: (from toy@localhost)
by edgedsp4.rtp.ericsson.se (8.9.3+Sun/8.9.1) id OAA02131;
Tue, 21 Aug 2001 14:03:40 -0400 (EDT)
X-Authentication-Warning: edgedsp4.rtp.ericsson.se: toy set sender to [email protected] using -f
To: Ole Rohne <[email protected]>
Cc: [email protected]
Subject: Re: [Maxima] maxima-5.6 and cmucl 18c x86
References: <[email protected]>
<[email protected]>
<[email protected]>
From: Raymond Toy <[email protected]>
Date: 21 Aug 2001 14:03:38 -0400
In-Reply-To: <[email protected]>
Message-ID: <[email protected]>
Lines: 27
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (artichoke)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
>>>>> "Ole" == Ole Rohne <[email protected]> writes:
Ole> I'm wondering: If I compile a file containing,
Ole> (eval-when (eval compile) (defmacro foo ...) ...),
Ole> is it correct for FOO to be defined as a macro in the lisp image where
Ole> the compilation takes place? Or should the DEFMACRO only have effect
Ole> for the compilation unit? I saw something relating to this in the
Ole> hyperspec, but I didn't really understand it.
Ole> Here is what happens to me: I compile hyp.lisp, MABS gets defined as a
Ole> macro in that image. I dump and restart maxima.core, MABS is still
Ole> defined as a macro in my image. On the other hand, if I start a fresh
Ole> lisp and load hyp.x86f, MABS is not defined as a macro because of the
Ole> EVAL-WHEN. It would be interesting to know if the CVS version behaves
Ole> differently from my stock 18c. I am not, however, a CMUCL compiling
Ole> person.
I see the same behavior with my CVS version, but I don't know exactly
what version that is.
Also, I just replaced (eval-when (eval compile)...) with just
(eval-when (compile)...) in hyp.lisp. It solves your immediate
problem about MABS et al being defined. That is, if I save a core
file without exiting, MABS is not defined, and your test example works
as expected.
Ray
From [email protected] Tue Aug 21 13:20:40 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f7LIKeX04330
for <[email protected]>; Tue, 21 Aug 2001 13:20:40 -0500
Received: from relay.EECS.Berkeley.EDU (relay.EECS.Berkeley.EDU [169.229.34.228])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id NAA32012
for <[email protected]>; Tue, 21 Aug 2001 13:20:40 -0500
Received: from cs.berkeley.edu (windsome.CS.Berkeley.EDU [128.32.131.134])
by relay.EECS.Berkeley.EDU (8.9.3/8.9.3) with ESMTP id LAA17624
for <[email protected]>; Tue, 21 Aug 2001 11:20:39 -0700 (PDT)
Message-ID: <[email protected]>
Date: Tue, 21 Aug 2001 11:20:39 -0700
From: Richard Fateman <[email protected]>
Organization: University of California, Berkeley
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: [email protected]
References: <[email protected]>
<[email protected]>
<[email protected]> <[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Subject: [Maxima] sad news
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Friends:
Maxima/GCL users:
I heard from a colleague, and then
confirmed via Prof Robert Boyer at UTexas, that
Bill Schelter died. The last message I saw,
sent from Russia, was dated July 26.
Here is the note I received from Bob Boyer...
....................
It is so very sad but true, Bill Schelter has died.
Bill went to Moscow, this summer, got married, and died of a heart
attack at
the end of July. He was buried in Canada a few weeks ago.
His wife is named Olga Vodianikova, but I don't have an address for her.
His daughter can be reached at
Mike and Karen Schelter Lewis
1705 Autumn Fire Drive
Cedar Park, TX 78613
His son Johh, a med student, can also be reached at that address.
>From what little I know, Prof. Michael Artin, [email protected], may be the
person most up-to-date on the details of the story.
Sincerely,
Bob Boyer
..............
Richard Fateman
From [email protected] Tue Aug 21 17:09:32 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f7LM9WX17387
for <[email protected]>; Tue, 21 Aug 2001 17:09:32 -0500
Received: from UNKmail.unk.edu (UNKmail.UNK.edu [144.216.2.9])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id RAA16055
for <[email protected]>; Tue, 21 Aug 2001 17:09:32 -0500
From: [email protected]
To: [email protected]
Date: Tue, 21 Aug 2001 17:09:21 -0500
Message-ID: <[email protected]>
X-MIMETrack: Serialize by Router on UNKmail.unk.edu/Servers/UNEBR(Release 5.0.6a |January
17, 2001) at 08/21/2001 05:09:22 PM
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Subject: [Maxima] Re: sad news
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
This is very sad news indeed.
I never meet Bill Schelter, but he answered my questions about maxima
accurately, quickly, and respectfully. I'll remember him for that. The
enormous effort he put into gcc, gcl, and especially maxima was a great
gift to the computing world. He will be missed.
Regards,
Barton Willis
Associate Professor of Mathematics and Statistics, University of Nebraska
at Kearney
From [email protected] Wed Aug 22 12:26:11 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f7MHQBX22993
for <[email protected]>; Wed, 22 Aug 2001 12:26:11 -0500
Received: from deimos.netherhall.org.uk (IDENT:[email protected] [195.82.120.110])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id MAA06823
for <[email protected]>; Wed, 22 Aug 2001 12:26:08 -0500
Received: from medusa.nh.netherhall.org.uk (IDENT:[email protected] [192.168.1.10])
by deimos.netherhall.org.uk (8.9.3/8.9.3/Netherhall/1.11/ORBS) with ESMTP id SAA17670;
Wed, 22 Aug 2001 18:26:04 +0100
Received: from fozzie.nh.netherhall.org.uk ([email protected] [192.168.10.23])
by medusa.nh.netherhall.org.uk (8.9.3/8.9.3/Netherhall/1.4) with SMTP id SAA15592;
Wed, 22 Aug 2001 18:26:03 +0100
Received: by fozzie.nh.netherhall.org.uk (sSMTP sendmail emulation); Wed, 22 Aug 2001 18:26:02 +0100
From: Pedro Fortuny <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <[email protected]>
Date: Wed, 22 Aug 2001 18:26:02 +0100 (BST)
To: [email protected]
In-Reply-To: <[email protected]>
References: <[email protected]>
X-Mailer: VM 6.75 under Emacs 20.5.2
Reply-To: [email protected]
Subject: [Maxima] Re: sad news.
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Thanks to Richard Fateman for spreading the news.
May Bill rest in peace.
Pedro Fortuny.
Too impressed to say anything else.
--
Pedro Fortuny Ayuso --------> www.geocities.com/pedro_fortuny
School of Mathematical Sciences. Queen Mary & Westfield College.
Mile End Road, London E1 4NS, UK ------> www.qmw.ac.uk
Tfn. Nr. 44 20 7882 5440
From [email protected] Fri Aug 24 10:55:07 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f7OFt7X29549
for <[email protected]>; Fri, 24 Aug 2001 10:55:07 -0500
Received: from intech19.enhanced.com (enhanced.ppp.eticomm.net [206.228.183.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id KAA08861
for <[email protected]>; Fri, 24 Aug 2001 10:55:05 -0500
Received: from camm by intech19.enhanced.com with local (Exim 3.12 #1 (Debian))
id 15aJIG-0005uc-00; Fri, 24 Aug 2001 11:54:48 -0400
To: [email protected]
Cc: [email protected]
Subject: Re: [Maxima] Re: sad news.
References: <[email protected]> <[email protected]>
From: Camm Maguire <[email protected]>
Date: 24 Aug 2001 11:54:48 -0400
In-Reply-To: Pedro Fortuny's message of "Wed, 22 Aug 2001 18:26:02 +0100 (BST)"
Message-ID: <[email protected]>
Lines: 15
X-Mailer: Gnus v5.7/Emacs 20.7
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I just read this news yesterday, and have been deeply saddened by it
ever since. I never had the honor of meeting Dr. Schelter in person,
but I knew him via email as an extremely helpful, outstandingly
knowledgeable, persevering and diligent servant to the mathematical
education and empowerment of the public. To say that he will be
missed doesn't begin to do justice to our loss. In him resided a
confluence of skills and will which, quite honestly, I haven't even
the slightest vision of how they can be replaced. And this is indeed
tragic, as I feel he would be most gratified to know that his gift to
humanity would live beyond him. Perhaps, in time, a small army might
be found to attempt to fill his shoes, however inadequately.
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Fri Aug 24 15:36:23 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f7OKaNX11058
for <[email protected]>; Fri, 24 Aug 2001 15:36:23 -0500
Received: from vh213601.truman.edu (vh213601.truman.edu [150.243.160.32])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id PAA16462
for <[email protected]>; Fri, 24 Aug 2001 15:36:23 -0500
Received: (from jay@localhost)
by vh213601.truman.edu (8.9.3/8.9.3) id PAA00921;
Fri, 24 Aug 2001 15:12:22 -0500
X-Authentication-Warning: vh213601.truman.edu: jay set sender to [email protected] using -f
To: [email protected]
Subject: Re: [Maxima] sad news
References: <[email protected]>
<[email protected]>
<[email protected]>
<[email protected]> <[email protected]>
From: Jay Belanger <[email protected]>
Reply-To: [email protected]
CC: [email protected]
Date: 24 Aug 2001 15:12:22 -0500
In-Reply-To: <[email protected]>
Message-ID: <[email protected]>
Lines: 18
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.0.104
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Richard Fateman <[email protected]> writes:
> Friends:
> Maxima/GCL users:
>
> I heard from a colleague, and then
> confirmed via Prof Robert Boyer at UTexas, that
> Bill Schelter died.
Let me add my voice to those deeply saddened by this news.
The work he did on GCL and Maxima was impressive.
I only corresponded with him a few times, through email, but he was
always helpful and respectful.
He will be missed.
Jay
From [email protected] Sat Aug 25 00:43:57 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f7P5hvX25884
for <[email protected]>; Sat, 25 Aug 2001 00:43:57 -0500
Received: from qiclab.scn.rain.com ([email protected] [205.238.26.97])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id AAA30149
for <[email protected]>; Sat, 25 Aug 2001 00:43:57 -0500
Received: by qiclab.scn.rain.com (Postfix, from userid 177)
id 6CB3F24DE6B; Fri, 24 Aug 2001 22:44:03 -0700 (PDT)
>Received: by joseph.doink.com (Postfix, from userid 11334)
id D7E5B2FEAC; Fri, 24 Aug 2001 22:29:49 -0700 (PDT)
Received: from dOink.COM (localhost [127.0.0.1])
by joseph.doink.com (Postfix) with ESMTP id 997F52FEA8
for <[email protected]>; Fri, 24 Aug 2001 22:29:49 -0700 (PDT)
To: Maxima List <[email protected]>
X-Face: $S_5Dk?gS2uKc;9h;"5[qwQ#/d>.cbKoUjQXLC2-C;%m~vYbaPX;vHtf^&zzt
Uy$[}_TRXT7CA,NSUW{f\IX/&}u2WhC2!(8S5}Rd_yhh6ndRh&cpD#&V!S-|,
Qs/AeX>f^tqL[6p>!Gyjd'0=5l{~[]l9}x1$,J5'hhXjA~a4ks-m>T*[J>bJ"
O]dpXRCOwhqCASJg{lFrSm>:x6obXnCrV&*UkQOc-r'pvOx4i(>|h|W"O"Bky
>/I6u)GjG%i^Nnm<+cNK7^(TV;egsj$$0($PtNMYt:=g#0X?nH<l>:O'A']GP
=XG^O8wK1V6:ru(b)=xSNW!vvI."a?I
Date: Fri, 24 Aug 2001 22:29:47 -0700
From: Kevin Cosgrove <[email protected]>
Message-Id: <[email protected]>
Content-Type: text
Subject: [Maxima] make test errors
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Are these errors from "make test" normal for maxima 5.6 with gcl
2.4.0? Sorry if this is a FAQ, but I didn't find the answer in
the mailing list archives and I'm completely new to Maxima.
The number of differences found was 21 in problems: (27 25 24 23 22 21
20 19 18 17 16 15
14 13 12 11 10 9 8
7 6)
Error Summary: [BROKE, (QUOTE, rtest3), BROKE, (QUOTE, rtest5), rtest6.mac, 4,
BROKE, (QUOTE, rtest13), rtest14.mac, 27, 25, 24, 23, 22, 21, 20, 19, 18, 17,
16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6]
Thanks....
From [email protected] Sat Aug 25 23:24:37 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f7Q4OaX19402
for <[email protected]>; Sat, 25 Aug 2001 23:24:36 -0500
Received: from intech19.enhanced.com (enhanced.ppp.eticomm.net [206.228.183.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05300
for <[email protected]>; Sat, 25 Aug 2001 23:24:34 -0500
Received: from camm by intech19.enhanced.com with local (Exim 3.12 #1 (Debian))
id 15arSo-0004mh-00; Sun, 26 Aug 2001 00:23:58 -0400
To: Kevin Cosgrove <[email protected]>
Cc: Maxima List <[email protected]>
Subject: Re: [Maxima] make test errors
References: <[email protected]>
From: Camm Maguire <[email protected]>
Date: 26 Aug 2001 00:23:58 -0400
In-Reply-To: Kevin Cosgrove's message of "Fri, 24 Aug 2001 22:29:47 -0700"
Message-ID: <[email protected]>
Lines: 38
X-Mailer: Gnus v5.7/Emacs 20.7
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I don't believe this is normal. On the Debian builds, the number of
differences reported is always 0.
Take care,
Kevin Cosgrove <[email protected]> writes:
> Are these errors from "make test" normal for maxima 5.6 with gcl
> 2.4.0? Sorry if this is a FAQ, but I didn't find the answer in
> the mailing list archives and I'm completely new to Maxima.
>
>
> The number of differences found was 21 in problems: (27 25 24 23 22 21
> 20 19 18 17 16 15
> 14 13 12 11 10 9 8
> 7 6)
> Error Summary: [BROKE, (QUOTE, rtest3), BROKE, (QUOTE, rtest5), rtest6.mac, 4,
>
> BROKE, (QUOTE, rtest13), rtest14.mac, 27, 25, 24, 23, 22, 21, 20, 19, 18, 17,
>
> 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6]
>
>
>
> Thanks....
>
>
> _______________________________________________
> Maxima mailing list
> [email protected]
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
>
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Sun Aug 26 14:01:43 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f7QJ1hX05211
for <[email protected]>; Sun, 26 Aug 2001 14:01:43 -0500
Received: from UNKmail.unk.edu (UNKmail.UNK.edu [144.216.2.9])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id OAA23059
for <[email protected]>; Sun, 26 Aug 2001 14:01:43 -0500
From: [email protected]
Subject: Re: [Maxima] make test errors
To: [email protected]
Date: Sun, 26 Aug 2001 14:01:26 -0500
Message-ID: <[email protected]>
X-MIMETrack: Serialize by Router on UNKmail.unk.edu/Servers/UNEBR(Release 5.0.6a |January
17, 2001) at 08/26/2001 02:01:28 PM
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
1. For no errors under RedHat 6.2, I had to add at least one kill(all)
statement to the
rtest*.mac files (in particular to rtest4.mac). With more RAM, this might
not be needed.
2. Some maxima-5.6 RPMs you find on the web are broken; try building
maxima
from the latest development sources (there are several maxima-5.6
versions).
Regards
blw
From [email protected] Sun Aug 26 14:10:47 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f7QJAlX05407
for <[email protected]>; Sun, 26 Aug 2001 14:10:47 -0500
Received: from herald.cc.purdue.edu (herald.cc.purdue.edu [128.210.11.29])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id OAA23224
for <[email protected]>; Sun, 26 Aug 2001 14:10:47 -0500
Received: from purdue.edu (dial-e-02-09.resnet.purdue.edu [128.211.136.115])
by herald.cc.purdue.edu (8.11.4/8.11.4/herald) with ESMTP id f7QJAOt09366
for <[email protected]>; Sun, 26 Aug 2001 14:10:24 -0500 (EST)
Message-ID: <[email protected]>
Date: Sun, 26 Aug 2001 14:02:13 -0500
From: Nels Tomlinson <[email protected]>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2+) Gecko/20010731
X-Accept-Language: en, zh-tw, zh
MIME-Version: 1.0
To: [email protected]
References: <[email protected]>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: [Maxima] Re: Maxima digest, Vol 1 #82 - 1 msg
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
For what it's worth, I've been getting similar errors (about 20 of them)
when running the checks. Seems to be mostly in the integration
routines, but I haven't had time to dig into it, since I don't need it
right now. I've had this problem with Mandrake 8.1, and Redhat 7.1,
with Maxima 5.6.
Hope this helps,
Nels
[email protected] wrote:
>Send Maxima mailing list submissions to
> [email protected]
>
>To subscribe or unsubscribe via the World Wide Web, visit
> http://www.math.utexas.edu/mailman/listinfo/maxima
>or, via email, send a message with subject or body 'help' to
> [email protected]
>
>You can reach the person managing the list at
> [email protected]
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Maxima digest..."
>
>
>Today's Topics:
>
> 1. Re: make test errors (Camm Maguire)
>
>--__--__--
>
>Message: 1
>To: Kevin Cosgrove <[email protected]>
>Cc: Maxima List <[email protected]>
>Subject: Re: [Maxima] make test errors
>From: Camm Maguire <[email protected]>
>Date: 26 Aug 2001 00:23:58 -0400
>
>I don't believe this is normal. On the Debian builds, the number of
>differences reported is always 0.
>
>Take care,
>
>Kevin Cosgrove <[email protected]> writes:
>
>>Are these errors from "make test" normal for maxima 5.6 with gcl
>>2.4.0? Sorry if this is a FAQ, but I didn't find the answer in
>>the mailing list archives and I'm completely new to Maxima.
>>
>>
>>The number of differences found was 21 in problems: (27 25 24 23 22 21
>> 20 19 18 17 16 15
>> 14 13 12 11 10 9 8
>> 7 6)
>>Error Summary: [BROKE, (QUOTE, rtest3), BROKE, (QUOTE, rtest5), rtest6.mac, 4,
>>
>>BROKE, (QUOTE, rtest13), rtest14.mac, 27, 25, 24, 23, 22, 21, 20, 19, 18, 17,
>>
>>16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6]
>>
>>
>>
>>Thanks....
>>
>>
>>_______________________________________________
>>Maxima mailing list
>>[email protected]
>>http://www.math.utexas.edu/mailman/listinfo/maxima
>>
>>
>
From [email protected] Sun Aug 26 21:14:04 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f7R2E4X13280
for <[email protected]>; Sun, 26 Aug 2001 21:14:04 -0500
Received: from qiclab.scn.rain.com ([email protected] [205.238.26.97])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id VAA30993
for <[email protected]>; Sun, 26 Aug 2001 21:14:03 -0500
Received: by qiclab.scn.rain.com (Postfix, from userid 177)
id 6ACA524DE39; Sun, 26 Aug 2001 19:14:05 -0700 (PDT)
>Received: from joseph.adsl-gte-212.ens.tek.com (localhost.cse.tek.com [127.0.0.1])
by joseph.doink.com (Postfix) with SMTP id 781582FEA4
for <[email protected]>; Sun, 26 Aug 2001 18:50:09 -0700 (PDT)
Date: Sun, 26 Aug 2001 18:50:08 -0700
From: Kevin Cosgrove <[email protected]>
To: Maxima List <[email protected]>
Subject: Re: [Maxima] make test errors
Message-Id: <[email protected]>
In-Reply-To: <[email protected]>
References: <[email protected]>
X-Mailer: Sylpheed version 0.5.0 (GTK+ 1.2.10; i586-pc-linux-gnu)
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
OK, I tried the kill(all) suggestion in rtest3.mac. I got
the same results. I tried recompiling from the Maxima most
recent source (from the main Maxima page, which is also where
I got my 5.6 tarball) and got exactly the same 'make test'
results.
Here's one example of a broken test.
/* ********************** Problem 89. *************** */
%Input is
INTEGRATE(EXP, X)
Division by 0
-- an error. Quitting. To debug this try DEBUGMODE(TRUE);)
Caused a error break: rtest3.mac
Error Summary: [BROKE, (QUOTE, rtest3)]
Since the error output said to try DEBUGMODE(TRUE), I added
debugmode(true);
done;
in rtest3.mac just before the failing test. Rerunning the
test produced (just the bad parts):
/* ********************** Problem 90. *************** */
%Input is
INTEGRATE(EXP, X)
Division by 0
-- an error. Entering the Maxima Debugger dbm
(dbm:1)
FALSE
(dbm:1)
FALSE
(dbm:1)
FALSE
The (dbm:1) FALSE pattern continues seemingly forever.
Any ideas people? Many thanks....
On Sun, 26 Aug 2001 14:01:26 -0500 [email protected] wrote:
> 1. For no errors under RedHat 6.2, I had to add at least one
> kill(all) statement to the rtest*.mac files (in particular
> to rtest4.mac). With more RAM, this might not be needed.
>
> 2. Some maxima-5.6 RPMs you find on the web are broken; try
> building maxima from the latest development sources (there
> are several maxima-5.6 versions).
From [email protected] Mon Aug 27 20:14:40 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f7S1EeX24508
for <[email protected]>; Mon, 27 Aug 2001 20:14:40 -0500
Received: from qiclab.scn.rain.com ([email protected] [205.238.26.97])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id UAA04257
for <[email protected]>; Mon, 27 Aug 2001 20:14:38 -0500
Received: by qiclab.scn.rain.com (Postfix, from userid 177)
id 16B2124DE39; Mon, 27 Aug 2001 18:14:38 -0700 (PDT)
>Received: from joseph.adsl-gte-212.ens.tek.com (localhost.cse.tek.com [127.0.0.1])
by joseph.doink.com (Postfix) with SMTP id 036A52FEA4
for <[email protected]>; Mon, 27 Aug 2001 17:46:03 -0700 (PDT)
Date: Mon, 27 Aug 2001 17:46:02 -0700
From: Kevin Cosgrove <[email protected]>
To: Maxima List <[email protected]>
Subject: Re: [Maxima] make test errors - SOLUTION
Message-Id: <[email protected]>
In-Reply-To: <[email protected]>
References: <[email protected]>
X-Mailer: Sylpheed version 0.5.0 (GTK+ 1.2.10; i586-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: multipart/mixed;
boundary="Multipart_Mon__27_Aug_2001_17:46:02_-0700_081bea08"
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
This is a multi-part message in MIME format.
--Multipart_Mon__27_Aug_2001_17:46:02_-0700_081bea08
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
I've solved the problem of compiling gcl and maxima on Mandrake
8.0 and getting all the self-tests to pass. Forgive me while
I waste some bandwidth in order to get this solution into the
mailing list archive. I hope that will help someone in the
future and maybe even prevent future bandwidth wasting. ;-)
A half-dozen or so folks contacted me off list. All indicated
that gcl & maxima should compile on Linux and that "make test"
should pass all tests. No one had a specific solution. Some
assumed that I'm running Redhat and mentioned that gcc-2.96
can cause some tests to fail. I run Mandrake 8.0 which, like
Redhat, uses the "controversial" gcc-2.96 compiler. Luckily
the kernel needs a working compiler. On Mandrake 8, this is in
/usr/bin/kgcc and is "gcc version egcs-2.91.66". I took all this
advice and read all about Redhat in h/386-linux.defs.
What I needed to do (leaving out a few details) is:
- configure gcl with CC=kgcc
- hand craft the gcl-2.2.2_rh50linux.patch to work with
gcl-2.4.0.
- patch 386-linux.defs to make sure that "-static" is turned on
in the "LDCC=${CC} -static" line.
- make gcl with GCC=kgcc and OFLAG=-g
- configure maxima with CC=kgcc
- make maxima with GCC=kgcc
As for those few details, I've attached my RPM spec files for
gcl and maxima and the small patch files they reference.
Cheerio...
--Multipart_Mon__27_Aug_2001_17:46:02_-0700_081bea08
Content-Type: text/plain;
name="gcl.spec"
Content-Disposition: attachment;
filename="gcl.spec"
Content-Transfer-Encoding: base64
U3VtbWFyeTogR05VIENvbW1vbiBMaXNwCiVkZWZpbmUgbmFtZSAgICBnY2wKJWRlZmluZSB2ZXJz
aW9uCTIuNC4wCiVkZWZpbmUgcmVsZWFzZQkxXzRrYwoKJWlmb3MgTGludXgKICAgICVkZWZpbmUg
bXlwcmVmaXggL3VzcgogICAgJWRlZmluZSBnb3duIHJvb3QKICAgICVkZWZpbmUgdW93biByb290
CiAgICAlZGVmaW5lIHNiaW5kaXIgL3NiaW4KICAgICVkZWZpbmUgbXljYyBrZ2NjCiVlbHNlCiAg
ICAlZGVmaW5lIG15cHJlZml4IC9sb2dpbi9rZXZpbmMKICAgICVkZWZpbmUgZ293biBoZmQKICAg
ICVkZWZpbmUgdW93biBrZXZpbmMKICAgICVkZWZpbmUgc2JpbmRpciAle215cHJlZml4fS9zYmlu
CiAgICAlZGVmaW5lIG15Y2MgL3Rvb2xzL2djYy9iaW4vZ2NjCiVlbmRpZgoKUHJlZml4OiAle215
cHJlZml4fQpCdWlsZFJvb3Q6ICV7X3RtcHBhdGh9LyV7bmFtZX0tYnVpbGQKRG9jZGlyOiAle215
cHJlZml4fS9zaGFyZS9kb2MKCk5hbWU6ICV7bmFtZX0KVmVyc2lvbjogJXt2ZXJzaW9ufQpSZWxl
YXNlOiAle3JlbGVhc2V9CkNvcHlyaWdodDogR1BMCkdyb3VwOiBEZXZlbG9wbWVudC9MYW5ndWFn
ZXMKU291cmNlMDogZnRwOi8vZnRwLm1hLnV0ZXhhcy5lZHUvcHViL2djbC9nY2wtJXt2ZXJzaW9u
fS50Z3oKUGF0Y2gwOiBnY2wtMi4yLjJfcmg1MGxpbnV4LnBhdGNoClBhdGNoMTogZ2NsLTIuNC4w
X21kazgwbGludXgucGF0Y2gKUGF0Y2gzOiBnY2wtMi40LjBfbWRrODBsaW51eC4zLnBhdGNoClBy
ZVJlcTogJXtzYmluZGlyfS9pbnN0YWxsLWluZm8KCiVkZXNjcmlwdGlvbgpHTlUgQ29tbW9uIExp
c3AKCiVwYWNrYWdlIG1heGltYS1lbGlzcApTdW1tYXJ5OiBlbGlzcCBmaWxlcyBmb3IgTWF4aW1h
IHN1cHBvcnQKR3JvdXA6IERldmVsb3BtZW50L0xhbmd1YWdlcwpSZXF1aXJlczogZ2NsCgolZGVz
Y3JpcHRpb24gbWF4aW1hLWVsaXNwClByb3ZpZGVzIGVsaXNwIGZpbGVzIGZvciBNYXhpbWEgc3Vw
cG9ydAoKJXByZXAKJXNldHVwIC1xCiNwYXRjaDAgLXAxCiVwYXRjaDEgLXAxIC1iIC5tZGsKJXBh
dGNoMyAtcDEgLWIgLm1kazMKCiVidWlsZApDQz0le215Y2N9IC4vY29uZmlndXJlIC0tcHJlZml4
PSV7cHJlZml4fQptYWtlIFwKICAgIHByZWZpeD0le3ByZWZpeH0gXAogICAgRU1BQ1NfREVGQVVM
VF9FTD0le19kYXRhZGlyfS9lbWFjcy9zaXRlLWxpc3AvZGVmYXVsdC5lbCBcCiAgICBFTUFDU19T
SVRFX0xJU1A9JXtfZGF0YWRpcn0vZW1hY3Mvc2l0ZS1saXNwIFwKICAgIEdDQz0le215Y2N9IFwK
ICAgIElORk9fRElSPSV7X2luZm9kaXJ9IFwKICAgIE9GTEFHPS1nIFwKICAgIExCSU5ESVI9JXtf
YmluZGlyfQoKJWluc3RhbGwKWyAiJXtidWlsZHJvb3R9IiAhPSAiLyIgXSAmJiBbIC1kICV7YnVp
bGRyb290fSBdICYmIHJtIC1yZiAle2J1aWxkcm9vdH07Cm1rZGlyIC1wICV7YnVpbGRyb290fSV7
X2JpbmRpcn0vIFwKCSAle2J1aWxkcm9vdH0le19kYXRhZGlyfS9lbWFjcy9zaXRlLWxpc3AvbWF4
aW1hIFwKICAgIAkgJXtidWlsZHJvb3R9JXtfaW5mb2Rpcn0vCm1ha2UgXAogICAgcHJlZml4PSV7
YnVpbGRyb290fSV7cHJlZml4fSBcCiAgICBFTUFDU19ERUZBVUxUX0VMPSV7YnVpbGRyb290fSV7
X2RhdGFkaXJ9L2VtYWNzL3NpdGUtbGlzcC9kZWZhdWx0LmVsIFwKICAgIEVNQUNTX1NJVEVfTElT
UD0le2J1aWxkcm9vdH0le19kYXRhZGlyfS9lbWFjcy9zaXRlLWxpc3AgXAogICAgR0NDPSV7bXlj
Y30gXAogICAgSU5GT19ESVI9JXtidWlsZHJvb3R9JXtfaW5mb2Rpcn0gXAogICAgT0ZMQUc9LWcg
XAogICAgTEJJTkRJUj0le2J1aWxkcm9vdH0le19iaW5kaXJ9IFwKICAgIGluc3RhbGwKCnJtIC1m
ICV7YnVpbGRyb290fSV7X2luZm9kaXJ9L2djbC10ay5pbmZvKi5negpybSAtZiAle2J1aWxkcm9v
dH0le19saWJkaXJ9L2djbC0le3ZlcnNpb259L2luZm8vZ2NsLXRrLmluZm8qLmd6Cmluc3RhbGwg
LW02NDQgJXtidWlsZHJvb3R9JXtfbGliZGlyfS9nY2wtJXt2ZXJzaW9ufS9pbmZvL2djbC1zaS5p
bmZvKiBcCgkgICAgICAle2J1aWxkcm9vdH0le19saWJkaXJ9L2djbC0le3ZlcnNpb259L2luZm8v
Z2NsLXRrLmluZm8qIFwKICAgICAgICAgICAgICAle2J1aWxkcm9vdH0le19pbmZvZGlyfS8KCiMg
SW4gc3VwcG9ydCBvZiBNYXhpbWEKaW5zdGFsbCAtbTY0NCBlbGlzcC8qLmVsICV7YnVpbGRyb290
fSV7X2RhdGFkaXJ9L2VtYWNzL3NpdGUtbGlzcAoKZmluZCAle2J1aWxkcm9vdH0gXCEgLXR5cGUg
ZCAtcHJpbnQgXAogICAgfCBzZWQgInNAXiV7YnVpbGRyb290fUBAZyIgXAogICAgPiAle25hbWV9
LSV7dmVyc2lvbn0tZmlsZWxpc3QKCiVjbGVhbgpbICIle2J1aWxkcm9vdH0iICE9ICIvIiBdICYm
IFsgLWQgJXtidWlsZHJvb3R9IF0gJiYgcm0gLXJmICV7YnVpbGRyb290fTsKCiVwb3N0CiV7c2Jp
bmRpcn0vaW5zdGFsbC1pbmZvICV7X2luZm9kaXJ9L2djbC1zaS5pbmZvICV7X2luZm9kaXJ9L2Rp
cgole3NiaW5kaXJ9L2luc3RhbGwtaW5mbyAle19pbmZvZGlyfS9nY2wtdGsuaW5mbyAle19pbmZv
ZGlyfS9kaXIKCiVwcmV1bgppZiBbICIkMSIgPSAwIF07IHRoZW4KICAgICV7c2JpbmRpcn0vaW5z
dGFsbC1pbmZvIC0tZGVsZXRlICV7X2luZm9kaXJ9L2djbC1zaS5pbmZvICV7X2luZm9kaXJ9L2Rp
cgogICAgJXtzYmluZGlyfS9pbnN0YWxsLWluZm8gLS1kZWxldGUgJXtfaW5mb2Rpcn0vZ2NsLXRr
LmluZm8gJXtfaW5mb2Rpcn0vZGlyCmZpCgolZmlsZXMKJWRlZmF0dHIoLSwle3Vvd259LCV7Z293
bn0sLSkKJWRvYyByZWFkbWUgZmFxIENoYW5nZUxvZwole19pbmZvZGlyfS9nY2wtc2kuaW5mbyoK
JXtfaW5mb2Rpcn0vZ2NsLXRrLmluZm8qCiV7X2JpbmRpcn0vZ2NsKgole19saWJkaXJ9L2djbC0l
e3ZlcnNpb259CgolZmlsZXMgbWF4aW1hLWVsaXNwCiVkZWZhdHRyKC0sJXt1b3dufSwle2dvd259
LC0pCiV7X2RhdGFkaXJ9L2VtYWNzL3NpdGUtbGlzcAoKJWNoYW5nZWxvZwoqIE1vbiBBdWcgMjcg
MjAwMSBLZXZpbiBFIENvc2dyb3ZlIDxrZXZpbmNAZE9pbmsuQ09NPgotIFJld29ya2VkIDIuMi4y
IFJlZGhhdCA1LjAgcGF0Y2ggZm9yIE1hbmRyYWtlIDguMC4KLSBTaG91bGQgZ2NsIGJlIHN0YXRp
Y2x5IGxpbmtlZD8gIDM4Ni1saW51eC5kZWZzIG1ha2VzIG1lbnRpb24gb2YgdGhpcy4KICBTdGF0
aWMgbGlua2luZyB3b3JrcywgYnV0IG1pZ2h0IG5vdCBiZSBzdHJpY3RseSByZXF1aXJlZC4KLSBn
Y2MgMi45NiBjYXVzZXMgTWF4aW1hJ3MgIm1ha2UgdGVzdCIgdG8gZmFpbC4KICBVc2Uga2djYyAi
Z2NjIHZlcnNpb24gZWdjcy0yLjkxLjY2IiBpbiBjb25maWd1cmUncyBDQyBhbmQgbWFrZSdzIEdD
Qy4KCiogRnJpIEF1ZyAyNCAyMDAxIEtldmluIEUgQ29zZ3JvdmUgPGtldmluY0BkT2luay5DT00+
Ci0gQWRkZWQgTWF4aW1hIGVsaXNwIHN1cHBvcnQgcGFja2FnZS4KLSBBZGRlZCBpbmZvIGZpbGVz
IHRvIGluZm9kaXIuCgoqIFRodSBBdWcgMjMgMjAwMSBLZXZpbiBFIENvc2dyb3ZlIDxrZXZpbmNA
ZE9pbmsuQ09NPgotIE1hbmRyYWtlIDguMCBidWlsZC4KCg==
--Multipart_Mon__27_Aug_2001_17:46:02_-0700_081bea08
Content-Type: text/plain;
name="maxima.spec"
Content-Disposition: attachment;
filename="maxima.spec"
Content-Transfer-Encoding: base64
U3VtbWFyeTogTWF4aW1hIFN5bWJvbGljIENvbXB1dGF0aW9uIFByb2dyYW0KJWRlZmluZSBuYW1l
ICAgIG1heGltYQolZGVmaW5lIHZlcnNpb24JNS42CiVkZWZpbmUgcmVsZWFzZQkwbWRrXzVrYwoK
JWRlZmluZSBnY2x2ZXJzIDIuNC4wCgolaWZvcyBMaW51eAogICAgJWRlZmluZSBteXByZWZpeCAv
dXNyCiAgICAlZGVmaW5lIGdvd24gcm9vdAogICAgJWRlZmluZSB1b3duIHJvb3QKICAgICVkZWZp
bmUgc2JpbmRpciAvc2JpbgogICAgJWRlZmluZSBteWNjIGtnY2MKJWVsc2UKICAgICVkZWZpbmUg
bXlwcmVmaXggL2xvZ2luL2tldmluYwogICAgJWRlZmluZSBnb3duIGhmZAogICAgJWRlZmluZSB1
b3duIGtldmluYwogICAgJWRlZmluZSBzYmluZGlyICV7bXlwcmVmaXh9L3NiaW4KICAgICVkZWZp
bmUgbXljYyAvdG9vbHMvZ2NjL2Jpbi9nY2MKJWVuZGlmCgpQcmVmaXg6ICV7bXlwcmVmaXh9CkJ1
aWxkUm9vdDogJXtfdG1wcGF0aH0vJXtuYW1lfS1idWlsZApEb2NkaXI6ICV7bXlwcmVmaXh9L3No
YXJlL2RvYwoKTmFtZTogJXtuYW1lfQpWZXJzaW9uOiAle3ZlcnNpb259ClJlbGVhc2U6ICV7cmVs
ZWFzZX0KU291cmNlMDogZnRwOi8vZnRwLm1hLnV0ZXhhcy5lZHUvcHViLyV7bmFtZX0vJXtuYW1l
fS0le3ZlcnNpb259LnRnegpTb3VyY2UxOiBmdHA6Ly9mdHAubWEudXRleGFzLmVkdS9wdWIvZ2Ns
L2djbC0le2djbHZlcnN9LnRnegpTb3VyY2UyOiBnY2wtMi40LjBfbWRrODBsaW51eC5wYXRjaApT
b3VyY2UzOiBnY2wtMi40LjBfbWRrODBsaW51eC4zLnBhdGNoCiMgU291cmNlMDogaHR0cDovL3d3
dy5tYS51dGV4YXMuZWR1L3VzZXJzL3dmcy9tYXhpbWEtc3JjLXNuYXBzaG90LnRnegojIFNvdXJj
ZTE6IGh0dHA6Ly93d3cubWEudXRleGFzLmVkdS91c2Vycy93ZnMvZ2NsLXNyYy1zbmFwc2hvdC50
Z3oKQ29weXJpZ2h0OiBHUEwKR3JvdXA6IFNjaWVuY2VzL01hdGhlbWF0aWNzClVSTDogaHR0cDov
L3d3dy5tYS51dGV4YXMuZWR1L21heGltYS5odG1sClByZVJlcTogJXtzYmluZGlyfS9pbnN0YWxs
LWluZm8KUmVxdWlyZXM6IGdjbAoKJWRlc2NyaXB0aW9uCk1heGltYSBpcyBhIGZ1bGwgc3ltYm9s
aWMgY29tcHV0YXRpb24gcHJvZ3JhbS4gIEl0IGlzIGZ1bGwgZmVhdHVyZWQKZG9pbmcgc3ltYm9s
aWMgbWFuaXB1bGF0aW9uIG9mIHBvbHlub21pYWxzLCBtYXRyaWNlcywgcmF0aW9uYWwKZnVuY3Rp
b25zLCBpbnRlZ3JhdGlvbiwgVG9kZC1jb3hldGVyLCBncmFwaGluZywgYmlnZmxvYXRzLiAgSXQg
aGFzIGEKc3ltYm9saWMgZGVidWdnZXIgc291cmNlIGxldmVsIGRlYnVnZ2VyIGZvciBtYXhpbWEg
Y29kZS4gIE1heGltYSBpcwpiYXNlZCBvbiB0aGUgb3JpZ2luYWwgTWFjc3ltYSBkZXZlbG9wZWQg
YXQgTUlUIGluIHRoZSAxOTcwJ3MuICBJdCBpcwpxdWl0ZSByZWxpYWJsZSwgYW5kIGhhcyBnb29k
IGdhcmJhZ2UgY29sbGVjdGlvbiwgYW5kIG5vIG1lbW9yeSBsZWFrcy4KSXQgY29tZXMgd2l0aCBo
dW5kcmVkcyBvZiBzZWxmIHRlc3RzLiAgV2lsbGlhbSBTY2hlbHRlciBhdCBVbml2ZXJzaXR5Cm9m
IFRleGFzLCBoYXMgYmVlbiByZXNwb25zaWJsZSBmb3IgZGV2ZWxvcG1lbnQgc2luY2UgdGhlIG1p
ZCAxOTgwJ3MuClNlZSBodHRwOi8vd3d3Lm1hLnV0ZXhhcy5lZHUvbWF4aW1hLmh0bWwgZm9yIG1v
cmUgaW5mb3JtYXRpb24uICBIZSBoYXMKcmVjZW50bHkgYmVlbiBhYmxlIHRvIGdldCBET0UgdG8g
YWxsb3cgaGltIHRvIGRpc3RyaWJ1dGUgTWF4aW1hIHVuZGVyCnRoZSBHUEwuCgolcHJlcAolc2V0
dXAgLXEKIyBybSAtcmYgJXtfYnVpbGRkaXJ9L2djbC0le2djbHZlcnN9CiNzZXR1cCAtcSAtRCAt
YiAxCiMgKCBjZCAle19idWlsZGRpcn0vZ2NsLSV7Z2NsdmVyc30gOyBwYXRjaCAtcDEgLWIgLS1z
dWZmaXggLm1kayAtcyA8ICV7U09VUkNFMn0gKQojICggY2QgJXtfYnVpbGRkaXJ9L2djbC0le2dj
bHZlcnN9IDsgcGF0Y2ggLXAxIC1iIC0tc3VmZml4IC5tZGszIC1zIDwgJXtTT1VSQ0UzfSApCmZv
ciBmaWxlIGluIGNvbmZpZ3VyZQpkbwogICAgcGVybCAtcCAtaSAtZSAnc0BeRU1BQ1NfU0lURV9M
SVNQLiokQEVNQUNTX1NJVEVfTElTUD0le19kYXRhZGlyfS9lbWFjcy9zaXRlLWxpc3AvJXtuYW1l
fUAnICRmaWxlCiAgICBwZXJsIC1wIC1pIC1lICdzQF5HQ0xESVIuKiRAR0NMRElSPSV7X2J1aWxk
ZGlyfS8le25hbWV9LSV7dmVyc2lvbn0vLi4vZ2NsLSV7Z2NsdmVyc31AJyAkZmlsZQogICAgcGVy
bCAtcCAtaSAtZSAnc0BeSU5GT19ESVIuKiRASU5GT19ESVI9JXtfaW5mb2Rpcn1AJyAkZmlsZQog
ICAgcGVybCAtcCAtaSAtZSAnc0BeTUFOX0RJUi4qJEBNQU5fRElSPSV7X21hbmRpcn0vbWFuMUAn
ICRmaWxlCiAgICBwZXJsIC1wIC1pIC1lICdzQF5NQVhESVIuKiRATUFYRElSPSV7X2J1aWxkZGly
fS8le25hbWV9LSV7dmVyc2lvbn1AJyAkZmlsZQogICAgcGVybCAtcCAtaSAtZSAnc0BeUFJFRklY
X0RJUi4qJEBQUkVGSVhfRElSPSV7cHJlZml4fUAnICRmaWxlCmRvbmUKCiVidWlsZAojICggY2Qg
JXtfYnVpbGRkaXJ9L2djbC0le2djbHZlcnN9IDsgXAojICAgQ0M9JXtteWNjfSAuL2NvbmZpZ3Vy
ZSAtLXByZWZpeD0le3ByZWZpeH0gOyBcCiMgICBtYWtlIFwKIyAgICAgcHJlZml4PSV7cHJlZml4
fSBcCiMgICAgIEVNQUNTX0RFRkFVTFRfRUw9JXtfZGF0YWRpcn0vZW1hY3Mvc2l0ZS1saXNwL2Rl
ZmF1bHQuZWwgXAojICAgICBFTUFDU19TSVRFX0xJU1A9JXtfZGF0YWRpcn0vZW1hY3Mvc2l0ZS1s
aXNwIFwKIyAgICAgR0NDPSV7bXljY30gXAojICAgICBJTkZPX0RJUj0le19pbmZvZGlyfSBcCiMg
ICAgIExCSU5ESVI9JXtfYmluZGlyfSBcCiMgICAgIE9GTEFHPS1nIDsgXAojICkKCkNDPSV7bXlj
Y30gLi9jb25maWd1cmUgLS1wcmVmaXg9JXtwcmVmaXh9Cm1ha2UgXAogICAgRU1BQ1NfREVGQVVM
VF9FTD0le19kYXRhZGlyfS9lbWFjcy9zaXRlLWxpc3AvZGVmYXVsdC5lbCBcCiAgICBFTUFDU19T
SVRFX0xJU1A9JXtfZGF0YWRpcn0vZW1hY3Mvc2l0ZS1saXNwIFwKICAgIEdDQz0le215Y2N9IFwK
ICAgIEdDTERJUj0le19idWlsZGRpcn0vJXtuYW1lfS0le3ZlcnNpb259Ly4uL2djbC0le2djbHZl
cnN9IFwKICAgIElORk9fRElSPSV7X2luZm9kaXJ9IFwKICAgIExCSU5ESVI9JXtfYmluZGlyfSBc
CiAgICBNQU5fRElSPSV7X21hbmRpcn0vbWFuMSBcCiAgICBNQVhESVI9JXtfYnVpbGRkaXJ9LyV7
bmFtZX0tJXt2ZXJzaW9ufSBcCiAgICBQUkVGSVhfRElSPSV7cHJlZml4fSBcCiAgICBwcmVmaXg9
JXtwcmVmaXh9CgptYWtlIFwKICAgIEVNQUNTX0RFRkFVTFRfRUw9JXtfZGF0YWRpcn0vZW1hY3Mv
c2l0ZS1saXNwL2RlZmF1bHQuZWwgXAogICAgRU1BQ1NfU0lURV9MSVNQPSV7X2RhdGFkaXJ9L2Vt
YWNzL3NpdGUtbGlzcCBcCiAgICBHQ0M9JXtteWNjfSBcCiAgICBHQ0xESVI9JXtfYnVpbGRkaXJ9
LyV7bmFtZX0tJXt2ZXJzaW9ufS8uLi9nY2wtJXtnY2x2ZXJzfSBcCiAgICBJTkZPX0RJUj0le19p
bmZvZGlyfSBcCiAgICBMQklORElSPSV7X2JpbmRpcn0gXAogICAgTUFOX0RJUj0le19tYW5kaXJ9
L21hbjEgXAogICAgTUFYRElSPSV7X2J1aWxkZGlyfS8le25hbWV9LSV7dmVyc2lvbn0gXAogICAg
UFJFRklYX0RJUj0le3ByZWZpeH0gXAogICAgcHJlZml4PSV7cHJlZml4fSBcCiAgICB0ZXN0Cgol
aW5zdGFsbApbICIle2J1aWxkcm9vdH0iICE9ICIvIiBdICYmIFsgLWQgJXtidWlsZHJvb3R9IF0g
JiYgcm0gLXJmICV7YnVpbGRyb290fTsKCm1rZGlyIC1wICV7YnVpbGRyb290fSV7X2RhdGFkaXJ9
L2VtYWNzL3NpdGUtbGlzcCBcCiAgICAgICAgICV7YnVpbGRyb290fSV7X21hbmRpcn0vbWFuMQoK
bWFrZSBcCiAgICBFTUFDU19ERUZBVUxUX0VMPSV7YnVpbGRyb290fSV7X2RhdGFkaXJ9L2VtYWNz
L3NpdGUtbGlzcC9kZWZhdWx0LmVsIFwKICAgIEVNQUNTX1NJVEVfTElTUD0le2J1aWxkcm9vdH0l
e19kYXRhZGlyfS9lbWFjcy9zaXRlLWxpc3AgXAogICAgR0NDPSV7bXljY30gXAogICAgR0NMRElS
PSV7X2J1aWxkZGlyfS8le25hbWV9LSV7dmVyc2lvbn0vLi4vZ2NsLSV7Z2NsdmVyc30gXAogICAg
SU5GT19ESVI9JXtidWlsZHJvb3R9JXtfaW5mb2Rpcn0gXAogICAgTEJJTkRJUj0le2J1aWxkcm9v
dH0le19iaW5kaXJ9IFwKICAgIE1BTl9ESVI9JXtidWlsZHJvb3R9JXtfbWFuZGlyfS9tYW4xIFwK
ICAgIE1BWERJUj0le19idWlsZGRpcn0vJXtuYW1lfS0le3ZlcnNpb259IFwKICAgIFBSRUZJWF9E
SVI9JXtidWlsZHJvb3R9JXtwcmVmaXh9IFwKICAgIHByZWZpeD0le2J1aWxkcm9vdH0le3ByZWZp
eH0gXAogICAgaW5zdGFsbAoKZm9yIGZpbGUgaW4gbWF4aW1hIHhtYXhpbWEKZG8KICAgIHBlcmwg
LXAgLWkgLWUgJ3NAJXtidWlsZHJvb3R9QEBnJyAle2J1aWxkcm9vdH0le3ByZWZpeH0vYmluLyRm
aWxlCmRvbmUKCiMjIyMgTm93IGRvbmUgaW4gR0NMIG1heGltYS1lbGlzcCBwYWNrYWdlLgojIGNv
cHkgLmVsIGZpbGVzIGZyb20gZ2NsIGFsc28sIHRoZXkgYXJlIG5lZWRlZAojIChjZCAke0dDTH0v
ZWxpc3AgOyB0YXIgY2YgLSAqLmVsKSB8IChjZCAke0VNQUNTX1NJVEVfTElTUH0gOyB0YXIgeHZm
IC0gKQoKJWlmb3MgTGludXgKI2luc3RhbGwgbWVudQppbnN0YWxsIC1kICV7YnVpbGRyb290fSV7
X21lbnVkaXJ9CmNhdCA8PCBFT0YgPiAle2J1aWxkcm9vdH0le19tZW51ZGlyfS8le25hbWV9Cj9w
YWNrYWdlKCV7bmFtZX0pOiBcCm5lZWRzPSJYMTEiIFwKaWNvbj0iJXtuYW1lfS54cG0iIFwKc2Vj
dGlvbj0iQXBwbGljYXRpb25zL1NjaWVuY2VzL01hdGhlbWF0aWNzIiBcCnRpdGxlPSJNYXhpbWEi
IFwKbG9uZ3RpdGxlPSJNYXhpbWEgU3ltYm9saWMgQ29tcHV0YXRpb24gUHJvZ3JhbSIgXApjb21t
YW5kPSIle19iaW5kaXJ9L3htYXhpbWEiCkVPRgolZW5kaWYKCmZpbmQgJXtidWlsZHJvb3R9IFwh
IC10eXBlIGQgLXByaW50IFwKICAgIHwgc2VkICJzQF4le2J1aWxkcm9vdH1AQGciIFwKICAgID4g
JXtuYW1lfS0le3ZlcnNpb259LWZpbGVsaXN0CgolY2xlYW4KWyAiJXtidWlsZHJvb3R9IiAhPSAi
LyIgXSAmJiBbIC1kICV7YnVpbGRyb290fSBdICYmIHJtIC1yZiAle2J1aWxkcm9vdH07CgolcG9z
dAojIGFkZCB0aGUgcGF0aCB3aGVyZSB3ZSBwdXQgdGhlIG1heGltYSAuZWwgZmlsZXMsIGFuZCBh
ZGQgYXV0b2xvYWRzClNUQVJUPSV7X3N5c2NvbmZkaXJ9L2VtYWNzL3NpdGUtc3RhcnQuZWwKaWYg
ZmdyZXAgbWF4aW1hICR7U1RBUlR9ID4gL2Rldi9udWxsIDsKIHRoZW4gdHJ1ZSA7IGVsc2UKIGNh
dCAle19kYXRhZGlyfS9lbWFjcy9zaXRlLWxpc3AvYWRkLWRlZmF1bHRzLmVsID4+ICR7U1RBUlR9
CiBlY2hvICIoc2V0cSBsb2FkLXBhdGggKGNvbnMgXCIke0VNQUNTX1NJVEVfTElTUH1cIiBsb2Fk
LXBhdGgpKSIgPj4gJHtTVEFSVH0KZmkKJXtzYmluZGlyfS9pbnN0YWxsLWluZm8gJXtfaW5mb2Rp
cn0vJXtuYW1lfS5pbmZvICV7X2luZm9kaXJ9L2RpcgoldXBkYXRlX21lbnVzCgolcG9zdHVuCmNh
dCAle19zeXNjb25mZGlyfS9lbWFjcy9zaXRlLXN0YXJ0LmVsIFwKICAgIHwgc2VkIC1lICcvOzs7
QkVHSU4gbWF4aW1hLywvRU5EIG1heGltYSBhZGRpdGlvbi9kJyBcCiAgICA+IHNpdGUtc3RhcnQu
ZWwtZWRpdGVkCmNwIHNpdGUtc3RhcnQuZWwtZWRpdGVkICV7X3N5c2NvbmZkaXJ9L2VtYWNzL3Np
dGUtc3RhcnQuZWwKcm0gLWYgc2l0ZS1zdGFydC5lbC1lZGl0ZWQKJXtzYmluZGlyfS9pbnN0YWxs
LWluZm8gLS1kZWxldGUgJXtfaW5mb2Rpcn0vJXtuYW1lfS5pbmZvICV7X2luZm9kaXJ9L2Rpcgol
Y2xlYW5fbWVudXMKCiVmaWxlcwolZGVmYXR0cigtLCV7dW93bn0sJXtnb3dufSwtKQolZG9jIFJF
QURNRSBDT1BZSU5HCiV7X2RhdGFkaXJ9L2VtYWNzL3NpdGUtbGlzcAole19saWJkaXJ9L21heGlt
YS0le3ZlcnNpb259CiV7X2luZm9kaXJ9L21heGltYSoKJXtfbWFuZGlyfS9tYW4xL21heGltYS4x
Kgole19iaW5kaXJ9L21heGltYQole19iaW5kaXJ9L3htYXhpbWEKJWlmb3MgTGludXgKJXtfbWVu
dWRpcn0vJXtuYW1lfQolZW5kaWYKCiVjaGFuZ2Vsb2cKKiBNb24gQXVnIDI3IDIwMDEgS2V2aW4g
RSBDb3Nncm92ZSA8a2V2aW5jQGRPaW5rLkNPTT4KLSBpbnN0YWxsLWluZm8uCi0gUmV3b3JrZWQg
Mi4yLjIgUmVkaGF0IDUuMCBwYXRjaCBmb3IgTWFuZHJha2UgOC4wLgotIFNob3VsZCBnY2wgYmUg
c3RhdGljbHkgbGlua2VkPyAgMzg2LWxpbnV4LmRlZnMgbWFrZXMgbWVudGlvbiBvZiB0aGlzLgog
IFN0YXRpYyBsaW5raW5nIHdvcmtzLCBidXQgbWlnaHQgbm90IGJlIHN0cmljdGx5IHJlcXVpcmVk
LgotIGdjYyAyLjk2IGNhdXNlcyBNYXhpbWEncyAibWFrZSB0ZXN0IiB0byBmYWlsLgogIFVzZSBr
Z2NjICJnY2MgdmVyc2lvbiBlZ2NzLTIuOTEuNjYiIGluIGNvbmZpZ3VyZSdzIENDIGFuZCBtYWtl
J3MgR0NDLgotIG1ha2UgdGVzdCBwYXNzZXMhCgoqIEZyaSBBdWcgMjQgMjAwMSBLZXZpbiBFIENv
c2dyb3ZlIDxrZXZpbmNAZE9pbmsuQ09NPgotIEFkZGVkIG1lbnUgaXRlbXMuCi0gRml4ZWQgcG9z
dC4KLSBNYW5kcmFrZSA4LjAgYnVpbGQuCi0gUGFja2FnZWQgaW50byByZWxvY2F0YWJsZSBzb3Vy
Y2UgUlBNLgotIEdpdmUgaW50byByZWZlcmVuY2luZyBycG0ncyBpbnRlcm5hbCBwcml2YXRlIG1h
Y3Jvcy4KLSBtYWtlIHRlc3QgaGFzIGVycm9yczoKICBUaGUgbnVtYmVyIG9mIGRpZmZlcmVuY2Vz
IGZvdW5kIHdhcyAyMSBpbiBwcm9ibGVtczogKDI3IDI1IDI0IDIzIDIyIDIxCiAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAyMCAxOSAxOCAxNyAx
NiAxNQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgMTQgMTMgMTIgMTEgMTAgOSA4CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICA3IDYpCiAgRXJyb3IgU3VtbWFyeTogW0JST0tFLCAoUVVPVEUs
IHJ0ZXN0MyksIEJST0tFLCAoUVVPVEUsIHJ0ZXN0NSksIHJ0ZXN0Ni5tYWMsCiAgNCwgQlJPS0Us
IChRVU9URSwgcnRlc3QxMyksIHJ0ZXN0MTQubWFjLCAyNywgMjUsIDI0LCAyMywgMjIsIDIxLCAy
MCwgMTksIDE4LAogIDE3LCAxNiwgMTUsIDE0LCAxMywgMTIsIDExLCAxMCwgOSwgOCwgNywgNl0K
Cg==
--Multipart_Mon__27_Aug_2001_17:46:02_-0700_081bea08
Content-Type: text/plain;
name="gcl-2.4.0_mdk80linux.patch"
Content-Disposition: attachment;
filename="gcl-2.4.0_mdk80linux.patch"
Content-Transfer-Encoding: base64
ZGlmZiAtdU5yIGdjbC0yLjQuMC1PUklHL2FkZC1kZWZzIGdjbC0yLjQuMC9hZGQtZGVmcwotLS0g
Z2NsLTIuNC4wLU9SSUcvYWRkLWRlZnMJU2F0IE5vdiAxMSAxMjo0MDo0MiAyMDAwCisrKyBnY2wt
Mi40LjAvYWRkLWRlZnMJU3VuIEF1ZyAyNiAyMjozNDozOCAyMDAxCkBAIC00OCw3ICs0OCw3IEBA
CiAKIC4veGJpbi9hZGQtZGlyIHRrQ29uZmlnLnNoICIke1BVQkxJQ30vbGliIC91c3IvbGliIC91
c3IvbG9jYWwvbGliIiAnVEtfQ09ORklHX1BSRUZJWD0iJHYiJwogLi94YmluL2FkZC1kaXIgdGNs
Q29uZmlnLnNoICIke1BVQkxJQ30vbGliIC91c3IvbGliIC91c3IvbG9jYWwvbGliIiAnVENMX0NP
TkZJR19QUkVGSVg9IiR2IicKLS4veGJpbi9hZGQtZGlyIGRpciAiL3Vzci9sb2NhbC9saWIvaW5m
byAke1BVQkxJQ30vbGliL2luZm8gL3Vzci9saWIvaW5mbyIgJ0lORk9fRElSPSIkdiInCisuL3hi
aW4vYWRkLWRpciBkaXIgIiR7UFVCTElDfS9saWIvaW5mbyAvdXNyL3NoYXJlL2luZm8gL3Vzci9p
bmZvIC91c3IvbG9jYWwvaW5mbyIgJ0lORk9fRElSPSIkdiInCiAKIFNPVVJDRT0uCiAke1NPVVJD
RX0gbWFrZWRlZnMKZGlmZiAtdU5yIGdjbC0yLjQuMC1PUklHL2gvMzg2LWxpbnV4LmRlZnMgZ2Ns
LTIuNC4wL2gvMzg2LWxpbnV4LmRlZnMKLS0tIGdjbC0yLjQuMC1PUklHL2gvMzg2LWxpbnV4LmRl
ZnMJTW9uIE1heSAxNSAxOToxMjoyMyAyMDAwCisrKyBnY2wtMi40LjAvaC8zODYtbGludXguZGVm
cwlTdW4gQXVnIDI2IDIyOjM4OjA4IDIwMDEKQEAgLTE5LDcgKzE5LDcgQEAKICMgYW5kIGFsc28g
aW4gdGhlIGNvbXBpbGVyOjoqY2MqIHZhcmlhYmxlIGZvciBsYXRlciBjb21waWxhdGlvbiBvZgog
IyBsaXNwIGZpbGVzLgogIyAodGhlIC1waXBlIGlzIGp1c3Qgc2luY2Ugb3VyIGZpbGUgc3lzdGVt
IGlzIHNsb3cuLikKLUNDID0gJHtHQ0N9IC1waXBlIC1md3JpdGFibGUtc3RyaW5ncyAgLURWT0w9
dm9sYXRpbGUgLUkkKEdDTERJUikvbyAtZnNpZ25lZC1jaGFyCitDQyA9ICR7R0NDfSAtcGlwZSAt
ZndyaXRhYmxlLXN0cmluZ3MgIC1EVk9MPXZvbGF0aWxlIC1EX19MSU5VWF9fIC1JJChHQ0xESVIp
L28gLWZzaWduZWQtY2hhcgogCiAjIHVuZGVyIHJlZGhhdCA2LjEgYW5kIHNsYWNrd2FyZSA3LjAg
d2UgbmVlZGVkIHRvIGhhdmUgdGhpcwogIyBsaW5rIGJlIHN0YXRpYywgYnV0IHNob3VsZCBiZSBv
ayB3aXRoIHRoZSBmaXggdG8gdW5peHBvcnQvcnN5bV9lbGYuYwpkaWZmIC11TnIgZ2NsLTIuNC4w
LU9SSUcvby9zZmFzbGVsZi5jIGdjbC0yLjQuMC9vL3NmYXNsZWxmLmMKLS0tIGdjbC0yLjQuMC1P
UklHL28vc2Zhc2xlbGYuYwlTdW4gQXByIDE1IDE5OjA0OjM4IDIwMDEKKysrIGdjbC0yLjQuMC9v
L3NmYXNsZWxmLmMJU3VuIEF1ZyAyNiAyMjozODo1MSAyMDAxCkBAIC00MzAsMTAgKzQzMCw2IEBA
CiAgICAgICBGRWVycm9yKCJVbnN1cHBvcnRlZCBFTEYgdHlwZSBSXzM4Nl9HT1RQQyIpOwogICAg
ICAgYnJlYWs7CiAKLSAgICBjYXNlICAgICBSXzM4Nl9OVU06Ci0gICAgICBGRWVycm9yKCJVbnN1
cHBvcnRlZCBFTEYgdHlwZSBSXzM4Nl9OVU0iKTsKLSAgICAgIGJyZWFrOwotCiAjZWxzZQogICAg
IGNhc2UgICAgIFJfU1BBUkNfV0RJU1AzMDoKICAgICAgIC8qIHYtZGlzcDMwKi8KZGlmZiAtdU5y
IGdjbC0yLjQuMC1PUklHL28vc2diYy5jIGdjbC0yLjQuMC9vL3NnYmMuYwotLS0gZ2NsLTIuNC4w
LU9SSUcvby9zZ2JjLmMJVHVlIE1heSAgMSAxNDozMDozNyAyMDAxCisrKyBnY2wtMi40LjAvby9z
Z2JjLmMJU3VuIEF1ZyAyNiAyMjozOTozNyAyMDAxCkBAIC0yMSw3ICsyMSwxMSBAQAogaW50IG1w
cm90ZWN0KCk7CiAjZW5kaWYKIAorI2lmZGVmIF9fTElOVVhfXworI2luY2x1ZGUgPGFzbS9zaWdj
b250ZXh0Lmg+CisjZWxzZQogI2luY2x1ZGUgPHNpZ25hbC5oPgorI2VuZGlmCiAKIHZvaWQgc2Vn
bWVudGF0aW9uX2NhdGNoZXIoKTsKIAo=
--Multipart_Mon__27_Aug_2001_17:46:02_-0700_081bea08
Content-Type: text/plain;
name="gcl-2.4.0_mdk80linux.3.patch"
Content-Disposition: attachment;
filename="gcl-2.4.0_mdk80linux.3.patch"
Content-Transfer-Encoding: base64
KioqIGdjbC0yLjQuMC1PUklHL2gvMzg2LWxpbnV4LmRlZnMJTW9uIEF1ZyAyNyAwOTozODo0NSAy
MDAxCi0tLSBnY2wtMi40LjAvaC8zODYtbGludXguZGVmcwlNb24gQXVnIDI3IDE1OjQ0OjI4IDIw
MDEKKioqKioqKioqKioqKioqCioqKiAyNCwzMCAqKioqCiAgIyB1bmRlciByZWRoYXQgNi4xIGFu
ZCBzbGFja3dhcmUgNy4wIHdlIG5lZWRlZCB0byBoYXZlIHRoaXMKICAjIGxpbmsgYmUgc3RhdGlj
LCBidXQgc2hvdWxkIGJlIG9rIHdpdGggdGhlIGZpeCB0byB1bml4cG9ydC9yc3ltX2VsZi5jCiAg
TERDQz0ke0NDfSAtc3RhdGljCi0gTERDQz0ke0NDfQogIAogICMgbm90ZSBmb3IgbGludXhhb3V0
IG9uIGFuIGVsZiBtYWNoaW5lIGFkZCAtYiBpNDg2LWxpbnV4YW91dCAKICAjIENDID0gZ2NjIC1w
aXBlIC1md3JpdGFibGUtc3RyaW5ncyAgLURWT0w9dm9sYXRpbGUgLUkkKEdDTERJUikvbyAtZnNp
Z25lZC1jaGFyIC1iIGk0ODYtbGludXhhb3V0IAotLS0gMjQsMjkgLS0tLQo=
--Multipart_Mon__27_Aug_2001_17:46:02_-0700_081bea08--
From [email protected] Tue Aug 28 10:08:51 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f7SF8oX13790
for <[email protected]>; Tue, 28 Aug 2001 10:08:50 -0500
Received: from intech19.enhanced.com (enhanced.ppp.eticomm.net [206.228.183.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id KAA30000
for <[email protected]>; Tue, 28 Aug 2001 10:08:49 -0500
Received: from camm by intech19.enhanced.com with local (Exim 3.12 #1 (Debian))
id 15bkTo-0004yD-00; Tue, 28 Aug 2001 11:08:40 -0400
To: Kevin Cosgrove <[email protected]>
Cc: Maxima List <[email protected]>
Subject: Re: [Maxima] make test errors - SOLUTION
References: <[email protected]> <[email protected]>
From: Camm Maguire <[email protected]>
Date: 28 Aug 2001 11:08:40 -0400
In-Reply-To: Kevin Cosgrove's message of "Mon, 27 Aug 2001 17:46:02 -0700"
Message-ID: <[email protected]>
Lines: 29
X-Mailer: Gnus v5.7/Emacs 20.7
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings, and thanks for posting this! I'm glad you got it working,
but it seems that what you had to do is quite sad. You basically had
to turn off all optimization, and make a static binary. I maintain
the maxima package for Debian, and Dr. Schelter had helped me address
most of these issues a long time ago. The package currently produces
a stripped, dynamically linked binary with compiler optimization that
passes all tests using gcc 2.95. I'm only telling you this in case
you might want to pursue this further. You can download the tar.gz
and diff.gz source files for maxima from the Debian website, unpack
the tar file, and apply the diff with the patch program. You could
then examine the differences in the config files from those in
your source tree. In any case, kgcc on your distro is a good idea.
But if you'd like to contribute your rpm to mandrake or otherwise
distribute it, it would be best if it could be optimized, stripped,
and dynamically linked.
P.S. I had thought that all the changes Dr. Schelter had given me
relating to these issues were included in cvs. I'll try to confirm
this when I get a chance.
P.P.S. Does anyone know if the cvs tree for maxima and gcl will remain
at their current locations? As far as I knew, Dr. Schelter was the
only one with write access.
Take care,
--
Camm Maguire [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From [email protected] Tue Aug 28 10:21:13 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f7SFLDX14747
for <[email protected]>; Tue, 28 Aug 2001 10:21:13 -0500
Received: from linux34.ma.utexas.edu ([email protected] [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id KAA30258
for <[email protected]>; Tue, 28 Aug 2001 10:21:13 -0500
Received: (from mzou@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id KAA04643;
Tue, 28 Aug 2001 10:21:12 -0500
X-Authentication-Warning: linux34.ma.utexas.edu: mzou set sender to [email protected] using -f
From: Maorong Zou <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <[email protected]>
Date: Tue, 28 Aug 2001 10:21:12 -0500
To: [email protected], [email protected]
Subject: Re: [Maxima] make test errors - SOLUTION
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
<[email protected]>
X-Mailer: VM 6.76 under Emacs 20.7.2
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
>
> P.P.S. Does anyone know if the cvs tree for maxima and gcl will remain
> at their current locations? As far as I knew, Dr. Schelter was the
> only one with write access.
>
Yes, both maxima and gcl repository will stay in their
current location indefinitely. If someone (or a group)
wants to take over the responsibility of maintaining these
packages, I'll be more than happy to help making the repository
accessible.
Maorong Zou
System Admin, UT Math
[email protected]
From [email protected] Tue Aug 28 16:14:16 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f7SLEGX31272
for <[email protected]>; Tue, 28 Aug 2001 16:14:16 -0500
Received: from qiclab.scn.rain.com ([email protected] [205.238.26.97])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id QAA07503
for <[email protected]>; Tue, 28 Aug 2001 16:14:16 -0500
Received: by qiclab.scn.rain.com (Postfix, from userid 177)
id 73A2624DE72; Tue, 28 Aug 2001 14:14:19 -0700 (PDT)
>Received: by joseph.doink.com (Postfix, from userid 11334)
id EFE8B2FEA8; Tue, 28 Aug 2001 14:06:38 -0700 (PDT)
Received: from dOink.COM (localhost [127.0.0.1])
by joseph.doink.com (Postfix) with ESMTP id ACB012FEA4
for <[email protected]>; Tue, 28 Aug 2001 14:06:38 -0700 (PDT)
To: Maxima List <[email protected]>
Subject: Re: [Maxima] make test errors - SOLUTION
In-reply-to: <[email protected]>
Date: Tue, 28 Aug 2001 14:06:36 -0700
From: Kevin Cosgrove <[email protected]>
Message-Id: <[email protected]>
Content-Type: text
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
OK, I think I've got a better solution. I turned the
optimization and dynamic linking back on and everything
still passes "make test". The main problems seems to be
that gcc 2.96 doesn't produce good code. My solution for
that is to use /usr/bin/kgcc. If anyone wants my RPM
spec files for gcl and/or maxima, please write and I'll
send them to you. If there are too many requests, then
I'll send them to the list again.
Cheers....
On 28 August 2001 at 11:08, Camm Maguire <[email protected]> wrote:
Greetings, and thanks for posting this! I'm glad you got it working,
but it seems that what you had to do is quite sad. You basically had
to turn off all optimization, and make a static binary.
From [email protected] Wed Aug 29 13:06:33 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f7TI6XX08434
for <[email protected]>; Wed, 29 Aug 2001 13:06:33 -0500
Received: from deimos.netherhall.org.uk (IDENT:[email protected] [195.82.120.110])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id NAA10616
for <[email protected]>; Wed, 29 Aug 2001 13:06:30 -0500
Received: from medusa.nh.netherhall.org.uk (IDENT:[email protected] [192.168.1.10])
by deimos.netherhall.org.uk (8.9.3/8.9.3/Netherhall/1.11/ORBS) with ESMTP id TAA32489;
Wed, 29 Aug 2001 19:06:21 +0100
Received: from fozzie.nh.netherhall.org.uk ([email protected] [192.168.10.23])
by medusa.nh.netherhall.org.uk (8.9.3/8.9.3/Netherhall/1.4) with SMTP id TAA14182;
Wed, 29 Aug 2001 19:06:19 +0100
Received: by fozzie.nh.netherhall.org.uk (sSMTP sendmail emulation); Wed, 29 Aug 2001 19:06:18 +0100
From: Pedro Fortuny <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <[email protected]>
Date: Wed, 29 Aug 2001 19:06:18 +0100 (BST)
To: [email protected]
Subject: Re: [Maxima] make test errors - SOLUTION
X-Mailer: VM 6.75 under Emacs 20.5.2
Reply-To: [email protected]
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
> (Kevin Cosgrove):
> OK, I think I've got a better solution. I turned the
> optimization and dynamic linking back on and everything
> still passes "make test". The main problems seems to be
> that gcc 2.96 doesn't produce good code. My solution for
> that is to use /usr/bin/kgcc. If anyone wants my RPM
> spec files for gcl and/or maxima, please write and I'll
> send them to you. If there are too many requests, then
> I'll send them to the list again.
This sounds bit of strange to me... I have had no problems with
Slackware 7.1 + maxima 5.6 (I think the last cvs tree I downloaded
was more or less in july, but sorry not to remember) + gcl 2.4.0
(also not remember the date)... egcs-1.1.2 Pentium III 933Mhz + 128Mb
runs all the tests OK.
Hope this may help to enlighten things a bit.
Regards,
Pedro.
>On 28 August 2001 at 11:08, Camm Maguire <[email protected]> wrote:
>Greetings, and thanks for posting this! I'm glad you got it working,
>but it seems that what you had to do is quite sad. You basically had
>to turn off all optimization, and make a static binary.
--
Pedro Fortuny Ayuso --------> www.geocities.com/pedro_fortuny
School of Mathematical Sciences. Queen Mary & Westfield College.
Mile End Road, London E1 4NS, UK ------> www.qmw.ac.uk
Tfn. Nr. 44 20 7882 5440
From [email protected] Wed Aug 29 13:44:31 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f7TIiVX10023
for <[email protected]>; Wed, 29 Aug 2001 13:44:31 -0500
Received: from qiclab.scn.rain.com ([email protected] [205.238.26.97])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id NAA12533
for <[email protected]>; Wed, 29 Aug 2001 13:44:31 -0500
Received: by qiclab.scn.rain.com (Postfix, from userid 177)
id BE76224DE7E; Wed, 29 Aug 2001 11:44:34 -0700 (PDT)
>Received: by joseph.doink.com (Postfix, from userid 11334)
id 676662FEA8; Wed, 29 Aug 2001 11:15:21 -0700 (PDT)
Received: from dOink.COM (localhost [127.0.0.1])
by joseph.doink.com (Postfix) with ESMTP id 3B1132FEA4
for <[email protected]>; Wed, 29 Aug 2001 11:15:21 -0700 (PDT)
To: [email protected]
Subject: Re: [Maxima] make test errors - SOLUTION
In-reply-to: <[email protected]>
Date: Wed, 29 Aug 2001 11:15:19 -0700
From: Kevin Cosgrove <[email protected]>
Message-Id: <[email protected]>
Content-Type: text
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
The fact that you used egcs-1.1.2 to compile would make me
think everything would test fine. I believe the problem is
with gcc-2.96 specificly. If I avoid that version of the
compiler, then I have no problems.
Cheers...
On 29 August 2001 at 19:06, Pedro Fortuny <[email protected]> wrote:
This sounds bit of strange to me... I have had no problems with
Slackware 7.1 + maxima 5.6 (I think the last cvs tree I downloaded
was more or less in july, but sorry not to remember) + gcl 2.4.0
(also not remember the date)... egcs-1.1.2 Pentium III 933Mhz + 128Mb
runs all the tests OK.
From [email protected] Wed Sep 5 13:53:37 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f85IrbU18745
for <[email protected]>; Wed, 5 Sep 2001 13:53:37 -0500
Received: from web12205.mail.yahoo.com (web12205.mail.yahoo.com [216.136.173.89])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with SMTP id NAA25117
for <[email protected]>; Wed, 5 Sep 2001 13:53:37 -0500
Message-ID: <[email protected]>
Received: from [129.119.200.40] by web12205.mail.yahoo.com via HTTP; Wed, 05 Sep 2001 11:53:36 PDT
Date: Wed, 5 Sep 2001 11:53:36 -0700 (PDT)
From: C Y <[email protected]>
To: Maxima list <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: [Maxima] Grad and Curl
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Sorry to be asking such a doofus question, but can
anyone show me how to take the grad and curl in
maxima? I know about the load(vect); thing but beyond
that I'm lost. Any help appreciated.
Thanks,
CY
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com
From [email protected] Thu Sep 6 09:36:29 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f86EaTU30262
for <[email protected]>; Thu, 6 Sep 2001 09:36:29 -0500
Received: from UNKmail.unk.edu (UNKmail.UNK.edu [144.216.2.9])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id JAA10876
for <[email protected]>; Thu, 6 Sep 2001 09:36:29 -0500
From: [email protected]
Subject: Re: [Maxima] Grad and Curl
To: [email protected]
Cc: C Y <[email protected]>
Date: Thu, 6 Sep 2001 09:36:02 -0500
Message-ID: <[email protected]>
X-MIMETrack: Serialize by Router on UNKmail.unk.edu/Servers/UNEBR(Release 5.0.6a |January
17, 2001) at 09/06/2001 09:36:03 AM
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
1. Load vect.mc from the share directory; vector.mc in the share2
directory is broken.
2. In vect.mc, I had to change the two define_variable statements from
DEFINE_VARIABLE(sfprod,1,any)$
DEFINE_VARIABLE(sf,[1,1,1],list)$
to
DEFINE_VARIABLE(SFPROD,1,any)$
DEFINE_VARIABLE(SF,[1,1,1],list)$
(I don't understand why SF and SFPROD must be uppercase here; with my
maxima, they do need to be.)
3. Try the following:
(C1) load("vect.mc");
Warning - you are redefining the MACSYMA function TRIGSIMP
Warning - you are redefining the MACSYMA function IMPROVE
Warning - you are redefining the MACSYMA function UPDATE
(D1) vect.mc
/* By default, the coordinate system is cartesian with coordinates
X,Y, and Z (upper case, not lower case) */
(C2) grad(X^2 + Y^2);
2 2
(D2) GRAD (Y + X )
(C3) express(%);
d 2 2 d 2 2 d 2 2
(D3) [-- (Y + X ), -- (Y + X ), -- (Y + X )]
dX dY dZ
(C4) ev(%,diff);
(D4) [2 X, 2 Y, 0]
(C5)
4. There is some documentation in vect.usg; compared to the rest of maxima, the
vector code isn't as well tested. I'd be careful about trusting it for much more
than homework.
blw
From [email protected] Sun Sep 9 21:48:20 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f8A2mKU21032
for <[email protected]>; Sun, 9 Sep 2001 21:48:20 -0500
Received: from mail7.wlv.netzero.net (mail7.wlv.netzero.net [209.247.163.57])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with SMTP id VAA08655
for <[email protected]>; Sun, 9 Sep 2001 21:48:19 -0500
Received: (qmail 11767 invoked from network); 10 Sep 2001 02:45:55 -0000
Received: from dialup-63.215.216.197.dial1.tampa1.level3.net (HELO default) (63.215.216.197)
by mail7.wlv.netzero.net with SMTP; 10 Sep 2001 02:45:55 -0000
Message-ID: <000901c139a2$329b2c80$c5d8d73f@default>
From: "marino201" <[email protected]>
To: <[email protected]>
Date: Sun, 9 Sep 2001 22:42:12 -0400
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0006_01C13980.AA9E9040"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Subject: [Maxima] Anyone out here
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
This is a multi-part message in MIME format.
------=_NextPart_000_0006_01C13980.AA9E9040
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I don't know if this is working, just a test. Don't flip out on me =
fella's....especially you Doug.
Aaron
------=_NextPart_000_0006_01C13980.AA9E9040
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment