~peterpall/maxima/+git/maxima.code:rtoy-2-ellipt-use-reader-macro

Last commit made on 2022-04-19
Get this branch:
git clone -b rtoy-2-ellipt-use-reader-macro https://git.launchpad.net/~peterpall/maxima/+git/maxima.code

Branch merges

Branch information

Name:
rtoy-2-ellipt-use-reader-macro
Repository:
lp:~peterpall/maxima/+git/maxima.code

Recent commits

c5349bd... by Raymond Toy <email address hidden>

Experiment to use reader macro to embed maxima expressions in lisp

We implement a reader macro (from Stavros) to allow embedding Maxima
expressions in Lisp code to make it easier to write.

So we can write

  (with-maxima-expr ""sin(?phi) + 2*round(?phi/%pi)*elliptic_ec(?m)")

instead of

(add (ftake '%sin phi)
     (mul 2
   (mul (ftake '%round (div phi '$%pi))
        (ftake '%elliptic_ec m))))

We add this macro to various places in ellipt.lisp for testing.

However some tests fail and this needs to be fixed before we can
generally allow this feature.

a3123da... by Raymond Toy <email address hidden>

Fix typo in docs for zheev

The text says "Like @code{zheev}...", but it should say dgeev, as it
does later on in this section.

f1c1976... by kjak

chmod takes options before modes

-R was treated as a file instead of an option

f1ccc67... by kjak

Fix bug #608: taylor(x^a,[x],0,1) unsimplified

Also bug #545: multivar taylor gives 1^2

This is an ancient bug that was present in Macsyma.

SETUP-MULTIVAR-DISREP gives genvars that are associated with multivars
the DISREP property so they disrep to 1. These genvars raised to powers
could be visible as unsimplified 1s raised to powers in output:

(%i1) taylor(x^a,[x],0,1);
(%o1) +1^2*x^a

(%i2) taylor((x*y)^a,[x,y],0,1);
(%o2) +1^4*(x*y)^a

(%i3) taylor(x^a+y^a,[x,y],0,1);
(%o3) +(1^2*y^a+1^2*x^a)

Prior to commit 38d4b2fd the internal genvars themselves could be made
visible by using taytorat:

(%i1) taylor(x^a,[x],0,1);
(%o1) +1^2*x^a

(%i2) taytorat(%);
(%o2) (g137^a)^2*x^a

Now we add to PDISREP! the knowledge that 1^x is equal to 1 for any x,
which prevents the construction of factors like 1^2 above. (PDISREP!
already knows that x^0 is equal to 1 and x^1 is equal to x for any x.)

No problems with the test suite or share test suite. New tests have
been added to rtest_taylor.

4522f7d... by PeterPall

Corrected the permissions for the documentation images in the tmp_html folder

If the example images for the documentation are copied using "cp" if the source tree is write-protected
the images will be, too, and cannot be deleted afterwards due to being write-protected.

the "make distcheck" target tests if all temporary files can be deleted, though, and works on a
write-protected source tree.

On my computer this would repair the "make dist" target if there were no test failures.

2892618... by PeterPall

Building the docu: Hide my debug message when not in debug mode.

I added a message to the ./build_html script that tells
the user which path which file is taken from.

If the script isn't run in debug mode we should hide
that message.

0412918... by PeterPall

Building the docu: Don't enable the "debug" flag by default.

0ef4be7... by PeterPall

Depending on where the build dir was "make dist" forgot to package the lisp files

6cf6a4a... by Wolfgang Dautermann <email address hidden>

Fix a syntax error after the changes in the doc build system.

5b69d07... by PeterPall

Simplified the documentation build system by >2000 lines

Part of what made the documentation build system hard to
maintain was that each manual translation used slightly different methods for doing the same thing: Compiling a
manual. Additionally there are many historical left-overs
of which one (the Microsoft HTML Help workshop version)
definitely no was is in use.

After this change the manuals should all build in
more-or-less similar ways and using a smaller number
of unnecessary steps.