Chris Sangwin | 31 Mar 15:33 2015
Picon

Plot2d problems in Maxima 5.35.2.1 on Windows (Lisp: SBCL 1.2.7) (wxMaxima 14.12.1)

I think there may be a bug in plot2d on Maxima 5.35.2.1. 

 

set_plot_option([gnuplot_out_file, "C:\\tmp\\"]);

 

[[gnuplot_out_file,"C:\tmp\"],[plot_format,gnuplot],[grid,30,30],[run_viewer,

true],[axes,true],[nticks,29],[adapt_depth,5],[color,blue,red,green,magenta,

black,cyan],[point_type,bullet,box,triangle,plus,times,asterisk],[palette,[

gradient,green,cyan,blue,violet],[gradient,magenta,violet,blue,cyan,green,yellow,

orange,red,brown,black]],[gnuplot_preamble,],[gnuplot_term,default]]

 

plot2d(x^2,[x,-1,1]);

 

Maxima encountered a Lisp error:

error opening #P"C:/Users/macjs/C:/tmp/":

   The filename, directory name, or volume label syntax is incorrect.

Automatically continuing.

To enable the Lisp debugger set *debugger-hook* to nil.

 

The directory “C:\tmp\” really does exist etc.   Notice that the set_plot_option() has **appended** the new path, not created an absolute path.  I think this is a change in behaviour, but I also think it is a bug!  Have I missed something?

 

Thanks

Chris

 

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Maxima-discuss mailing list
Maxima-discuss <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/maxima-discuss
Antonio Lapira | 31 Mar 09:02 2015
Picon

algsys get only positive solutions

input         algsys([a**2+b**2=24**2, a/b=16/9], [a,b]);
output      [[a=-384/sqrt(337),b=-216/sqrt(337)],[a=384/sqrt(337),b=216/sqrt(337)]]

how to show only positive solutions?
I tried assume (a>0) but doesn't work

thanks
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Maxima-discuss mailing list
Maxima-discuss <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/maxima-discuss
Richard Fateman | 31 Mar 00:28 2015
Picon

who can fix documentation for ratalgdenom and algebraic?

Try

for ratalgdenom in [true, false] do
             (for algebraic in [true,false] do
                    print([ratalgdenom, algebraic, rat(1/sqrt(x))]));

it is apparent that 1/sqrt(x)  becomes "rationalized"  only when BOTH
ratalgdenom and algebraic are true.

Who would have known from the documentation?

RJF

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
Przemek Klosowski | 30 Mar 19:28 2015

Fwd: Re: In built statistical test about random numbers?

On 03/30/2015 01:02 AM, Gunter Königsmann wrote:

This also matches the official reason why gauss distributions are this popular in physics: they predict what happens when a infinite number of infinitesimal small random factors work together. So one way of generating a gauss distribution would be adding an infinite number of infinitely small random numbers and looking at the distribution of the possible results of this operation.
As a physicist, our livelihood depends on a much stronger property of normal distribution---namely that it can be decently approximated  by an embarrassingly small  number of random processes. Conversely, if the individual contributions ARE correlated, they will NOT result in a normal distribution, and violating this assumption sometimes results in global financial crises.

In fact, as few as three random, uncorrelated terms sum up to a normal-looking distribution:

i=1e5; hist(rand(1,i)+rand(1,i)+rand(1,i),100)

(this is Octave code. Can this be done conveniently in Maxima?)




------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Maxima-discuss mailing list
Maxima-discuss <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/maxima-discuss
Robert Dodier | 30 Mar 18:46 2015
Picon

Fwd: Installation of maxima on linux server

Hi Daniel,

Another list member sent me this message about installing Maxima on
Linux. I hope this is useful to you.

best,

Robert

---------- Forwarded message ----------
From: Mixon, Wilson <wmixon <at> berry.edu>
Date: Sun, Mar 29, 2015 at 5:44 PM
Subject: Re: [Maxima-discuss] Installation of maxima on linux server
To: Robert Dodier <robert.dodier <at> gmail.com>

This site has the instructions for installing Maxima and a link to a
similar site for installing wxMaxima:
https://help.ubuntu.com/community/Maxima

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
Richard Fateman | 30 Mar 16:33 2015
Picon

"quotient by zero" narrowed outside gcd


for gcd in [subres,spmod] do 
print(errcatch(integrate(sqrt(4*x^2+4),x,0,1)))$

is a good test case.

the first test with gcd=subres   fails  with "quotient by zero", the 
second returns
asinh(1)+sqrt(2).

ratalgdenom: false$

makes them both succeed.

So the problem is in the program that uses the ratalgdenom flag.

I  believe that none of the gcd programs consult this flag directly.
There is probably a place where the ratalgdenom program asks which
gcd program is being used as a proxy for some other indication, like
is the gcd being computed over a finite field  (spmod, ez) or not (red, 
subres).

Is there any one familiar with ratalgdenom?

RJF

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
Isaac | 30 Mar 01:28 2015
Picon

In built statistical test about random numbers?

Hello people,
I have a list of integers and I'd like to know the probability for them 
to be truly random, i.e. generated by a true random number generator. I 
was wondering whether there's an in built test for example in the stats 
package/library or elsewhere where I could easily perform such a test.
I've read about test_normality() and it returned the output:
matrix(["SHAPIRO − WILK 
TEST"],[statistic=0.9962527532861564],[p_value=0.2889027490390151])
So that if I understand well the output, there's a high chance that the 
numbers follow a Gaussian distribution since the p-value is greater than 
0.01 or 0.05 and the "statistic" value returned is close to 1.
I'm not even sure whether it's possible that truly random numbers can 
follow a Gaussian distribution, I guess that yes but I haven't taken any 
stats course so far.
Thanks for any pointer.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Maxima-discuss mailing list
Maxima-discuss <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/maxima-discuss
Daniel Volinski | 29 Mar 13:41 2015
Picon
Picon

Re: Visualization with VTK

Hi Jaime,

Using Maxima 5.35.1.2 on Windows 8.1 x64

I downloaded VTK from http://www.vtk.org/download/

The executable installed is called vtkpython.exe
I put that executable in my %PATH%

I don't know if I have the Tcl bindings for VTK, how can I check?

From where can I download the Tcl bindings for VTK for Windows64?

Thanks,

Daniel




El Sábado 28 de marzo de 2015 22:52, Jaime Villate <villate <at> fe.up.pt> escribió:


On 28-03-2015 17:30, Daniel Volinski wrote:
Is Visualization with VTK working?

It works fine for me in Linux.


I downloaded the kit for windows64, I installed it, put it in my %PATH% and issued the following command in wxMaxima(XMaxima):

scene(cone,[background,"#9980e5"]);

I get one empty tcl window titled maxout(plotfr), and an error tcl window saying

VTK is not installed, which is required for Scene
can't find package vtk
    while executing
"package require vtk"

That means that Wish is not finding the Tcl bindings for the VTK library. Did you install that additional part of VTK? I don't know if they come in the kit you installed or in a separate package.
Regards,
Jaime




------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Maxima-discuss mailing list
Maxima-discuss <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/maxima-discuss
wong daniel | 28 Mar 05:03 2015
Picon

Installation of maxima on linux server

Hi,

I would like to enquire about the steps to install maxima onto my server in order run the stacks plugin. This is meant for use in moodle. 

Thank you for the help! 

Best Regards,
Daniel
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Maxima-discuss mailing list
Maxima-discuss <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/maxima-discuss
Sergey Litvinov | 28 Mar 22:46 2015
Picon

collect terms with non-commutative multiplication


I cannot find a way to collect terms in expressions with non-commutative
multiplication. Here is an example

(%i2) nc_factor(b.x + a.x);
(%o2)                             (b + a) . x
(%i3) nc_factor(x.b + a.b);
(%o3)                             x . (b + a)
(%i7) nc_factor(b.x + x.a);
(%o7)                            x . a + b . x

Can "share/affine/affine.lisp" or "share/tensor/atensor.mac" packages be
helpful? I see that NCAlgebra [1] can do it in Mma.

[1] http://www.math.ucsd.edu/~ncalg

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
Antonio Lapira | 28 Mar 18:46 2015
Picon

sin(%pi/2) to number

in wxmaxima:
(%i2)     sin (%pi/2);
(%o2)    sin(%pi/2)


while in maxima:
(%i2) sin (%pi/2);
(%o2)                                  1



how to get the result a s number in wxmaxima?

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Maxima-discuss mailing list
Maxima-discuss <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/maxima-discuss

Gmane