C Y | 1 Apr 2005 01:04
Picon
Favicon

Re: Maple Units package


--- Eike Welk <eike.welk <at> post.rwth-aachen.de> wrote:
>
> I want to use m, l, s ... as variable names (formula symbols). 
> Otherwise I'd have to use something like: var_m, var_l, var_s. I 
> think it would be quite confusing when many commonly used symbols 
> would suddenly have a special meaning as unit names. 

Hmm.  OK.  For me this would be bad practice, since my brain would see
m in a unit context and make the obvious assumption, but I can see how
other people would be different.

> An easy workaround would be using a common prefix like: unit_m, 
> unit_l, unit_s.

I guess what I could do is assign a unit prefix which can be appended
to the unit definition arrays.  E.g. the program could go through and
stick unit_ on all current unit names.  Something like :

setunitprefix("unit_");

> Yes, chemical reactions are always present as ratios in mol/mol or 
> g/g. As mol(O2)/mol(H2) the units are much more usefull. 
> 
> I consider this an advanced feature, which can wait. In Maple, the
> way  I use it seems not to be documented.

I think this would make more sense as part of a chemistry package which
makes use of the units package.  I could add all interesting periodic
table information while I'm at it :-). 
(Continue reading)

Vadim V. Zhytnikov | 1 Apr 2005 07:41
Picon

Re: Spanish Traslation

C Y writes:
> --- Juan Pablo Romero Bernal <jpromerobx <at> linuxmail.org> wrote:
> 
>>Hi, 
>>
>>I have traslated to Spainsh several files of Maxima documentation.
>>But I don't want send it to the mailing list, because the files
>>package is of 630 Kb. Is possible to get up this files to CVS 
>>server???, in order to do revisions and maintenance of documentation
>>respect the original doc in the CVS. 
> 
> 
> Hmm.  Robert, how did you want to handle translations?  Maximabook can
> just store 'em (when it becomes worth translating) but for the Manual
> we need some way to tell describe which language to use, as well as
> some naming convention for the files so it knows where to look. 
> Thoughts?
> 
> CY
> 
> 

Please, see:
http://www.math.utexas.edu/pipermail/maxima/2005/009216.html

1. Maxima CVS - keep each translation in separate
../info/≤language> directory.

2. Install translation into
   ../info/≤language>.<encoding>
(Continue reading)

Vadim V. Zhytnikov | 1 Apr 2005 09:05
Picon

Re: describe bug, was: Re: First step toward a 5.9.2 release

Robert Dodier writes:
> --- "Vadim V. Zhytnikov" <vvzhy <at> mail.ru> wrote:
> 
> 
>>Try ? for limit , lim, tlim, tlimit.
>>Describe gives correct list of options but if
>>we select one it shows wrong piece of text -
>>it can't properly locate its beginning and ending.
>>Clearly due to  <at> defun/ <at> defvar ->  <at> deffn/ <at> defvr
>>replacement.
> 
> 
> Selecting an item in the list shown by "? limit",
> I get the text of just that item. Likewise for
> "? lim", "? tlim", "? tlimit". Running gcl on linux,
> rebuilt Maxima from cvs yesterday. Clisp on linux,
> Maxima cvs from a couple of weeks ago is also OK.
> 
> Grepping the info files I see atrig1 and ntrig are
> marked by  <at> defvr. "? trig" gives a list and if I 
> select some item or items I see just those.
> 
> What exactly do you see when you select an item?
> Do you see the same thing for any item on the list?
> What version of Lisp on which OS are you running?
> Do all  <at> defun/ <at> defvar items work OK and all  <at> deffn/ <at> defvr
> items fail?
> 
> All the best,
> Robert Dodier
(Continue reading)

Robert Dodier | 1 Apr 2005 09:07
Picon
Favicon

Re: describe bug, was: Re: First step toward a 5.9.2 release

--- "Vadim V. Zhytnikov" <vvzhy <at> mail.ru> wrote:

> Wolfgang just committed the fix into Maxima CVS.
> The problem was not with new Maxima info layout
> but with new texinfo version.  Robert, could you
> verify after this fix describe well for you?
> The also should not forget to switch to Maxima's
> describe for gcl at least temporary.

I have updated the source code on my machine and rebuilt
with gcl and clisp. I find that the clisp version works
correctly -- "? limit", then choosing 2 gives just item 2.
Likewise for some other cases I tried.

As you know the gcl version uses the built-in gcl info
system when *PROMPT-PREFIX* and *PROMPT-SUFFIX* are empty,
and otherwise falls back on src/cl-info.lisp. 
I find that the "? limit", then choose 2, yields a mess
of irrelevant text when the built-in gcl info system is
used. Setting *PROMPT-PREFIX* to "FOO" (to cause Maxima
to use cl-info.lisp), then "? limit" and choose 2, yields
the correct output (but much more slowly).

gcl version is 2.6.6, makeinfo is 4.5, clisp is 2.31.

Hope this helps,
Robert Dodier

		
__________________________________ 
(Continue reading)

Andrey G. Grozin | 1 Apr 2005 11:01
Picon
Favicon

gnuplot questions

Hello *,

I have gnuplot-4.0 installed on my Gentoo Linux box, and a recent cvs 
maxima. When I run gnuplot interactively, I can rotate and rescale 3d 
plots by the mouse. When the plot is produced by maxima, I can't.
[gnuplot_preamble,"set mouse"] does not help. How can I make 
maxima-produced plots "live"?

How can I ask gnuplot to eliminate hidden lines? I could not find such an 
option.

Besr wishes,
Andrey
maxio | 1 Apr 2005 12:33
Favicon

How can I calculate the matrix's exponential?


By using   
   a:Matrix([b,c],[0,d]);
   e^a;

I cannot get the wanted result, Please tell me how to get its result?  
Andrej Vodopivec | 1 Apr 2005 12:48
Picon

Re: wxmaxima and locale

On čet, 2005-03-31 at 15:54 +0200, Thomas Baruchel wrote:
> I, I compiled wxMaxima and found it great. My single trouble is
> for using the accents (ex: for the 'print' function). Though
> everything seems to
> be well configured, I can use the accents in the input line, but when
> they are printed
> again in the output part of the frame, they are changed to odd
> symbols.
> Is there a french user of wxMaxima who could help me to fix that ?

This is a bug in wxMaxima. The next version should have better support
for characters in non-english encodings.

Andrej
go_furuya | 1 Apr 2005 15:52
Picon
Favicon

Re: [Maxima] How can I calculate the matrix's exponential?

hi maxio

you can use diag package.

(%i1) load("diag.mac");
Warning - you are redefining the MACSYMA function EIGENVALUES
Warning - you are redefining the MACSYMA function EIGENVECTORS
(%o1)                              diag.mac
(%i2) a:Matrix([b,c],[0,d])$
(%i3) mat_function(exp,a);
                            [          d     b   ]
                            [   b  c %E    %E  c ]
                            [ %E   ----- - ----- ]
(%o3)                       [      d - b   d - b ]
                            [                    ]
                            [             d      ]
                            [  0        %E       ]
 gosei

> By using   
>    a:Matrix([b,c],[0,d]);
>    e^a;
> 
> I cannot get the wanted result, Please tell me how to get its result?  
> 
> _______________________________________________
> Maxima mailing list
> Maxima <at> www.math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
> 
(Continue reading)

Barton Willis | 1 Apr 2005 16:06
Favicon

Re: How can I calculate the matrix's exponential?

maxima-admin <at> math.utexas.edu wrote on 04/01/2005 04:33:53 AM:

> By using 
>    a:Matrix([b,c],[0,d]);
>    e^a;
> 
> I cannot get the wanted result, Please tell me how to get its result? 

There are at least three packages for matrix exponentiation.
I'll describe the one I wrote. Get the file 'matrixexp-1.0.tar.gz' from 
http://www.unk.edu/acad/math/people/willisb/ and unpack it.

(%i1) load("l:/matrixexp-1.0/matrixexp");
(%O1) l:/matrixexp-1.0/matrixexp.lisp
(%i2) m : matrix([b,c],[0,d])$

To exponentiate a matrix, use 'matrixexp.' 
(%i3) matrixexp(m);
Proviso: assuming d-b # 0
(%O3) matrix([%e^B,(C*%e^D-%e^B*C)/(D-B)],[0,%e^D])

The proviso message tells us that d-b = 0 is a special
case.  Let's substitute d -> b 

(%i4) subst(d=b,m);
(%O4) matrix([B,C],[0,B])
(%i5) matrixexp(%);
(%O5) matrix([%e^B,%e^B*C],[0,%e^B])

To compute exp(m z), where z is a scalar, use an
(Continue reading)

Robert Dodier | 1 Apr 2005 17:51
Picon
Favicon

Re: First step toward a 5.9.2 release

>> 7) Finish first sweep of Maxima documentation revision.
>> Replace all defun/defvar with deffn/defvr everywhere.
>
> Robert's on that, IIRC - how close is that Robert?  
> If that can be completed in time I'll add an item to
> generate new html files for the web pages.

There are just a few more files that need to be processed
to complete the first pass over the texi files.

Pass 1 has been a mix of format and content changes.
I see pass 2 as another round of content changes, 
and pass 3 as a reorganization. Naturally that's all
subject to change.

For what it's worth,
Robert Dodier

		
__________________________________ 
Yahoo! Messenger 
Show us what our next emoticon should look like. Join the fun. 
http://www.advision.webevents.yahoo.com/emoticontest

Gmane