You can subscribe to this list here.
2014 
_{Jan}

_{Feb}
(232) 
_{Mar}
(323) 
_{Apr}
(383) 
_{May}
(359) 
_{Jun}
(435) 
_{Jul}
(252) 
_{Aug}
(172) 
_{Sep}
(265) 
_{Oct}
(263) 
_{Nov}
(350) 
_{Dec}
(359) 

2015 
_{Jan}
(267) 
_{Feb}
(220) 
_{Mar}
(300) 
_{Apr}

_{May}

_{Jun}

_{Jul}

_{Aug}

_{Sep}

_{Oct}

_{Nov}

_{Dec}

From: Stavros Macrakis (Σταῦρος Μακράκης) <macrakis@al...>  20150322 02:19:17

20*log(x) The multiplication sign is necessary. On Mar 21, 2015 9:30 PM, "本田康晃" <yasuaki.honda@...> wrote: > Dear Maxima developers, > > I have received a bug report for Maxima on Android. The report says: > > (%i1) 20log(x); > > parser: incomplete number; missing exponent? >  an error. To debug this try: debugmode(true); > (%i1) (%o1) g(x) > > (%i2) > This is actually reproduced on maxima on PCs. I have created a ticket for > this (#2922). Taking a look at nparse.lisp, I have identified that > #'scandigits, when encounters a syntax error in the exponent part, calls > #'merror instead of #'mreadsynerr. > My understanding is that on parsing error should #'mreadsynerr be > called, while on run time error, #'merror should be called. This is the > former case. > > The following is a patch I have created for fixing this. Unless I see any > discussion, I will commit the patch within a couple of days. > > Thanks and best regards, > Yasuaki Honda, Chiba, Japan > > diff git a/src/nparse.lisp b/src/nparse.lisp > > index 5a48b08..634a7a3 100644 > >  a/src/nparse.lisp > > +++ b/src/nparse.lisp > > @@ 411,7 +411,7 @@ > > ;; We're trying to parse the exponent part of a number, > > ;; and we didn't get a value after the exponent marker. > > ;; That's an error. > >  (merror (intl:gettext "parser: incomplete number; missing > exponent?"))) > > + (mreadsynerr "parser: incomplete number; missing exponent?")) > > (t > > (makenumber (cons (nreverse l) data))))) > > (parsetyi))) > > >  > 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/ > _______________________________________________ > Maximadiscuss mailing list > Maximadiscuss@... > https://lists.sourceforge.net/lists/listinfo/maximadiscuss > > 
From: 本田康晃 <yasuaki.honda@gm...>  20150322 01:30:28

Dear Maxima developers, I have received a bug report for Maxima on Android. The report says: (%i1) 20log(x); parser: incomplete number; missing exponent?  an error. To debug this try: debugmode(true); (%i1) (%o1) g(x) (%i2) This is actually reproduced on maxima on PCs. I have created a ticket for this (#2922). Taking a look at nparse.lisp, I have identified that #'scandigits, when encounters a syntax error in the exponent part, calls #'merror instead of #'mreadsynerr. My understanding is that on parsing error should #'mreadsynerr be called, while on run time error, #'merror should be called. This is the former case. The following is a patch I have created for fixing this. Unless I see any discussion, I will commit the patch within a couple of days. Thanks and best regards, Yasuaki Honda, Chiba, Japan diff git a/src/nparse.lisp b/src/nparse.lisp index 5a48b08..634a7a3 100644  a/src/nparse.lisp +++ b/src/nparse.lisp @@ 411,7 +411,7 @@ ;; We're trying to parse the exponent part of a number, ;; and we didn't get a value after the exponent marker. ;; That's an error.  (merror (intl:gettext "parser: incomplete number; missing exponent?"))) + (mreadsynerr "parser: incomplete number; missing exponent?")) (t (makenumber (cons (nreverse l) data))))) (parsetyi))) 
From: Gunter Königsmann <gunter@pe...>  20150321 06:29:22

The undo function for the deletion of whole cells is still an outstanding feature request for wxMaxima. But the current git version of wxMaxima has many usability improvements in respect to the last release and if you enable maxima/Panes/History you nearly get a undo for cell deletes. I don't know if it matches your needs now, though and wxMaxima as a pure frontend still doesn't incorporate python's scripting abilities. Kind regards, Gunter. 
From: Richard Fateman <fateman@be...>  20150320 23:42:30

On 3/20/2015 1:14 PM, Wilfried Hortschitz wrote: > Hallo, > > I am a researcher, a technical engineer and I used maxima for some > symbolic calculations years ago. I was impressed what it is able to and > I recommended it to friends also mathteachers who still use it a lot. > > I myself do now much more numerics and was not so pleased by the > interface I used at that time. It was wxmaxima and I still remember how > difficult it was to sometimes have no undo/back or copy/past. Maybe it > was because of some bugs but simply frustrating even for me who usually > loves to play with beta versions. > > Today I use a lot of python (ipython) for my numerics. I love the > interface of 'ipython notebook' 3.0! I read that the developers of > ipython notebook want to somehow share the idea of the notebook to other > scientific languages (Julia, R,..) in a new project called jupyter > (http://jupyter.org/) > > Now the question.... Do you think it is possible to integrate/use maxima > in such a environment? I assume it is possible. Maxima has been used as a backend in many systems, xmaxima, mactex, wxmaxima. It can be used as a web engine, or downloaded into windows, unix, mac, android. (There are alternative syntax packages in the Macsyma system  now unavailable  that provided Matlab syntax. That could be revived I think. ) And as you mention, it is used by Sage. I don't have enough experience with Sage or its web system  but what is it that you see as lacking and that Jupyter could do? 
From: Wilfried Hortschitz <wilfried@ho...>  20150320 20:30:01

Hallo, I am a researcher, a technical engineer and I used maxima for some symbolic calculations years ago. I was impressed what it is able to and I recommended it to friends also mathteachers who still use it a lot. I myself do now much more numerics and was not so pleased by the interface I used at that time. It was wxmaxima and I still remember how difficult it was to sometimes have no undo/back or copy/past. Maybe it was because of some bugs but simply frustrating even for me who usually loves to play with beta versions. Today I use a lot of python (ipython) for my numerics. I love the interface of 'ipython notebook' 3.0! I read that the developers of ipython notebook want to somehow share the idea of the notebook to other scientific languages (Julia, R,..) in a new project called jupyter (http://jupyter.org/) Now the question.... Do you think it is possible to integrate/use maxima in such a environment? Did anyone consider something like this. It would combine the strength and stability of maxima's math with the usability of the ipython/jupyter notebook interface, somehow similar as it was done in sage but much more flexible! BR, Wilfried 
From: Raymond Toy <toy.raymond@gm...>  20150320 20:10:14

>>>>> "Dimiter" == Dimiter Prodanov <dimiterpp@...> writes: Dimiter> Thanks a lot for the suggestions. Dimiter> The first comment from Raymond opens an interesting discussion. Dimiter> The unique advantage of Maxima is the ability to handle Dimiter> rational and algebraic numbers. Dimiter> This is very helpful for porting algorithms from one Dimiter> numerical language to another: for example from Matlab to Dimiter> Java. Dimiter> So what I usually do is to make a limited reference Dimiter> implementation in Maxima, optimize the computations Dimiter> through symbolic simplifications and then port this to Dimiter> Java (image processing applications). Why a limited reference? Is maxima not capable of doing a full reference implementation? Is it too slow or missing some functionality? In any case, I do this too sometimes. Being able to manipulate things symbolically is a huge win. I don't finish the implementation in maxima because it's not needed or too much work to have two versions. But I still use maxima to compute the reference values that I need.  Ray 
From: Nijso Beishuizen <nijso@ho...>  20150320 18:25:06

Hello Jan, fx and fy are the velocity components in x and ydirection, so they are connected to the ode's dx/dt=fx and dy/dt=fy. The vector field therefore represents the behavior of solutions of ordinary differential equations of the form dy/dx = fy/fx. So this command: Vectorplot([y,x],[2,2],[2,2],vectorpoints=[10,10],colorpalette=[green,red,blue,black,gold],vectorscale=[0.3,0.3]); shows direction vectors of the ode dy/dx = x/y I hope this description is clear. Best regards, Nijso On Fri, 20150320 at 07:24 +0100, Jan Hendrik Mueller wrote: > Hi Nijso, > what is the meaning of the syntax [fx(x,y),fy(x,y)] compared to a differential equation? An example would be helpful! > Thx in advance > Jan > > > Am 19.03.2015 um 22:02 schrieb Nijso Beishuizen <nijso@...>: > > > > Hello Alejandro, > > > > I have written a vector field code for draw2d, you can find the > > description (and code) here: > > > > https://github.com/bigfooted/maximadraw2dplus/wiki > > > > > > If you want to have equalsized vectors that are colored by value: > > > > Vectorplot([y,x],[2,2],[2,2],vectorpoints=[10,10],colorpalette=[green,red,blue,black,gold],vectorscale=[0.3,0.3]); > > > > or: > > > > Vectorplot([y,x],[2,2],[2,2],vectorpoints=[10,10],colorpalette=PaletteBGR,vectorscale=[0.3,0.3]); > > > > or: > > > > Vectorplot([y,x],[2,2],[2,2],vectorpoints=[10,10],colorpalette=["#fffcf6","#fff7db","#fff4c2","#feecae","#f8ca8c","#f0a848","#c07860","#a86060","#784860","#604860"],vectorscale=[0.3,0.3]); > > > > > > > > vectorscale=[vmin,vmax] rescales the size of the smallest vector and the > > largest vector and setting them equal means all vectors have the same > > size. > > > > > > Best, > > Nijso > > > > > > > > > > > > > >> On Thu, 20150319 at 17:14 +0100, Mario Rodriguez wrote: > >> > >>> El 19/03/15 a las 16:34, Alejandro Rios escribió: > >>> Hello everyone, > >>> > >>> Running wxMaxima 13.04.2, Maxima 5.30, Windows XP > >>> > >>> I'll really appreciate your help on this one: I am developing an algorithm to draw 2D vector fields in Maxima, but having the vectors of the field being drawn with magnitude equal to one unit and varying the intensity of the green color of the vector depending on the magnitude, i.e. the bigger the magnitude of the vector the intensity of the color in increased. > >>> > >>> So far I have been able to create a list like this one: > >>> > >>> ["color="#00FF00"","color="#00E600"","color="#00D200"","color="#00C200"","color="#00B700"","color="#00B400""] > >>> > >>> And another list that contains the vectors > >>> > >>> [vector([5,5],[0.70710671047588,0.70710671047588]),vector([4,5],[0.78086871421514,0.62469497137212]), > >>> vector([3,5],[0.85749279961067,0.5144956797664]),vector([2,5],[0.92847653080311,0.37139061232125]), > >>> vector([1,5],[0.98058048711777,0.19611609742355]),vector([0,5],[0.99999980000006,0.0])] > >>> > >>> I managed to create a list like this one, which I named E, from the first two: > >>> ["color="#00FF00"",vector([5,5],[0.70710671047588,0.70710671047588]), > >>> "color="#00E600"",vector([4,5],[0.78086871421514,0.62469497137212]), > >>> "color="#00D200"",vector([3,5],[0.85749279961067,0.5144956797664]), > >>> "color="#00C200"",vector([2,5],[0.92847653080311,0.37139061232125]), > >>> "color="#00B700"",vector([1,5],[0.98058048711777,0.19611609742355]), > >>> "color="#00B400"",vector([0,5],[0.99999980000006,0.0])] > >>> > >>> The problem I have is that when I run the following command: > >>> > >>> load(draw)$ > >>> draw2d( > >>> head_length=0.1, > >>> head_angle=15, > >>> E[1], > >>> E[2], > >>> E[3], > >>> E[4], > >>> E[5], > >>> E[6] > >>> )$ > >>> > >>> I get this error: > >>> > >>> part: argument must be a nonatomic expression; found "color=\"#00FF00\"" > >>>  an error. To debug this try: debugmode(true); > >>> > >>> Is there any way I could get the color property to be nested in a list so the DRAW package can plot the vector field? > >>> > >>> Thank you in advance > >>> > >> > >> You have to remove some double quotes: > >> > >> E:[color="#00FF00",vector([5,5],[0.70710671047588,0.70710671047588]), > >> color="#00E600",vector([4,5],[0.78086871421514,0.62469497137212]), > >> color="#00D200",vector([3,5],[0.85749279961067,0.5144956797664]), > >> color="#00C200",vector([2,5],[0.92847653080311,0.37139061232125]), > >> color="#00B700",vector([1,5],[0.98058048711777,0.19611609742355]), > >> color="#00B400",vector([0,5],[0.99999980000006,0.0])]; > >> > >>  > >> Mario > >> > >>  > >> 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/ > >> _______________________________________________ > >> Maximadiscuss mailing list > >> Maximadiscuss@... > >> https://lists.sourceforge.net/lists/listinfo/maximadiscuss > >> > > > > > > > >  > > 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/ > > _______________________________________________ > > Maximadiscuss mailing list > > Maximadiscuss@... > > https://lists.sourceforge.net/lists/listinfo/maximadiscuss > 
From: Jan Hendrik Mueller <jan.mueller@ma...>  20150320 06:37:11

Hi Nijso, what is the meaning of the syntax [fx(x,y),fy(x,y)] compared to a differential equation? An example would be helpful! Thx in advance Jan > Am 19.03.2015 um 22:02 schrieb Nijso Beishuizen <nijso@...>: > > Hello Alejandro, > > I have written a vector field code for draw2d, you can find the > description (and code) here: > > https://github.com/bigfooted/maximadraw2dplus/wiki > > > If you want to have equalsized vectors that are colored by value: > > Vectorplot([y,x],[2,2],[2,2],vectorpoints=[10,10],colorpalette=[green,red,blue,black,gold],vectorscale=[0.3,0.3]); > > or: > > Vectorplot([y,x],[2,2],[2,2],vectorpoints=[10,10],colorpalette=PaletteBGR,vectorscale=[0.3,0.3]); > > or: > > Vectorplot([y,x],[2,2],[2,2],vectorpoints=[10,10],colorpalette=["#fffcf6","#fff7db","#fff4c2","#feecae","#f8ca8c","#f0a848","#c07860","#a86060","#784860","#604860"],vectorscale=[0.3,0.3]); > > > > vectorscale=[vmin,vmax] rescales the size of the smallest vector and the > largest vector and setting them equal means all vectors have the same > size. > > > Best, > Nijso > > > > > > >> On Thu, 20150319 at 17:14 +0100, Mario Rodriguez wrote: >> >>> El 19/03/15 a las 16:34, Alejandro Rios escribió: >>> Hello everyone, >>> >>> Running wxMaxima 13.04.2, Maxima 5.30, Windows XP >>> >>> I'll really appreciate your help on this one: I am developing an algorithm to draw 2D vector fields in Maxima, but having the vectors of the field being drawn with magnitude equal to one unit and varying the intensity of the green color of the vector depending on the magnitude, i.e. the bigger the magnitude of the vector the intensity of the color in increased. >>> >>> So far I have been able to create a list like this one: >>> >>> ["color="#00FF00"","color="#00E600"","color="#00D200"","color="#00C200"","color="#00B700"","color="#00B400""] >>> >>> And another list that contains the vectors >>> >>> [vector([5,5],[0.70710671047588,0.70710671047588]),vector([4,5],[0.78086871421514,0.62469497137212]), >>> vector([3,5],[0.85749279961067,0.5144956797664]),vector([2,5],[0.92847653080311,0.37139061232125]), >>> vector([1,5],[0.98058048711777,0.19611609742355]),vector([0,5],[0.99999980000006,0.0])] >>> >>> I managed to create a list like this one, which I named E, from the first two: >>> ["color="#00FF00"",vector([5,5],[0.70710671047588,0.70710671047588]), >>> "color="#00E600"",vector([4,5],[0.78086871421514,0.62469497137212]), >>> "color="#00D200"",vector([3,5],[0.85749279961067,0.5144956797664]), >>> "color="#00C200"",vector([2,5],[0.92847653080311,0.37139061232125]), >>> "color="#00B700"",vector([1,5],[0.98058048711777,0.19611609742355]), >>> "color="#00B400"",vector([0,5],[0.99999980000006,0.0])] >>> >>> The problem I have is that when I run the following command: >>> >>> load(draw)$ >>> draw2d( >>> head_length=0.1, >>> head_angle=15, >>> E[1], >>> E[2], >>> E[3], >>> E[4], >>> E[5], >>> E[6] >>> )$ >>> >>> I get this error: >>> >>> part: argument must be a nonatomic expression; found "color=\"#00FF00\"" >>>  an error. To debug this try: debugmode(true); >>> >>> Is there any way I could get the color property to be nested in a list so the DRAW package can plot the vector field? >>> >>> Thank you in advance >>> >> >> You have to remove some double quotes: >> >> E:[color="#00FF00",vector([5,5],[0.70710671047588,0.70710671047588]), >> color="#00E600",vector([4,5],[0.78086871421514,0.62469497137212]), >> color="#00D200",vector([3,5],[0.85749279961067,0.5144956797664]), >> color="#00C200",vector([2,5],[0.92847653080311,0.37139061232125]), >> color="#00B700",vector([1,5],[0.98058048711777,0.19611609742355]), >> color="#00B400",vector([0,5],[0.99999980000006,0.0])]; >> >>  >> Mario >> >>  >> 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/ >> _______________________________________________ >> Maximadiscuss mailing list >> Maximadiscuss@... >> https://lists.sourceforge.net/lists/listinfo/maximadiscuss >> > > > >  > 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/ > _______________________________________________ > Maximadiscuss mailing list > Maximadiscuss@... > https://lists.sourceforge.net/lists/listinfo/maximadiscuss 
From: Dimiter Prodanov <dimiterpp@gm...>  20150319 21:05:21

Thanks a lot for the suggestions. The first comment from Raymond opens an interesting discussion. The unique advantage of Maxima is the ability to handle rational and algebraic numbers. This is very helpful for porting algorithms from one numerical language to another: for example from Matlab to Java. So what I usually do is to make a limited reference implementation in Maxima, optimize the computations through symbolic simplifications and then port this to Java (image processing applications). So in this particular case I am looking into numerical inversion of Laplace transforms. The advantage would be to replace the clumsy Matlab symbolic computations (its not meant for this) with the power of Maxima. If the produced solution to the problem I am looking is good enough I will finally transfer it to Java for some image processing applications. best regards, Dimiter > >  > > Message: 2 > Date: Thu, 19 Mar 2015 10:34:54 0700 > From: Raymond Toy <toy.raymond@...> > Subject: Re: [Maximadiscuss] range notation > To: maximadiscuss@... > MessageID: <wvmioanosxfl.fsf@...> > ContentType: text/plain; charset=usascii > > >>>>> "Dimiter" == Dimiter Prodanov <dimiterpp@...> writes: > > Dimiter> Hello, > > Dimiter> Is there a way to emulate/ introduce array range notation in > Maxima? > > Dimiter> Something like Matlab's notation will be quite helpful > > Dimiter> For example: > > Dimiter> aa[1..30] or aa[2..2..N] > > Dimiter> I am porting numerical algorithms and I lose a lot of > Dimiter> time just to translate range notations. > > Sorry, I can't help with the notation issue, but I'm curious why > you're porting numerical algorithms to maxima. I assume you already > have them working in Matlab (or Octave or some other package). What > does having them run in Maxima give you that you didn't already have? > >  > Ray > > > > >  > > Message: 3 > Date: Thu, 19 Mar 2015 10:40:53 0700 > From: Richard Fateman <fateman@...> > Subject: Re: [Maximadiscuss] range notation > To: maximadiscuss@... > MessageID: <550B0A25.20501@...> > ContentType: text/plain; charset="windows1252" > > On 3/19/2015 9:09 AM, Dimiter Prodanov wrote: > > Hello, > > > > Is there a way to emulate/ introduce array range notation in Maxima? > > > > Something like Matlab's notation will be quite helpful > > For example: > > > > aa[1..30] or aa[2..2..N] > > > > I am porting numerical algorithms and I lose a lot of time just to > > translate range notations. > > > > > nrange([L]):=block([istep:1], > if length(L)=3 then istep:L[3], > makelist(index,index, L[1],L[2],istep)); > > nrange(1,10,2); is [1,3,5,7,9] > > nrange(1,10) is [1,2,3,4,5,6,7,8,9,10] > > You could put the step size in the middle if you want to. > > now selecting a slice of an array > slice(arr,range):= block([res:[]], for i in range do > res:cons(arr[i],res),reverse(res)); > > so slice(aa,nrange(2,10,2)) is > > [aa[2],aa[4],aa[6],aa[8],aa[10]] > > Perhaps that helps. > > RJF > > > > > best regards, > > > > Dimiter > > > > > > >  > > 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/ > > > > > > _______________________________________________ > > Maximadiscuss mailing list > > Maximadiscuss@... > > https://lists.sourceforge.net/lists/listinfo/maximadiscuss > >  next part  > An HTML attachment was scrubbed... > >  > > 
From: Nijso Beishuizen <nijso@ho...>  20150319 21:02:31

Hello Alejandro, I have written a vector field code for draw2d, you can find the description (and code) here: https://github.com/bigfooted/maximadraw2dplus/wiki If you want to have equalsized vectors that are colored by value: Vectorplot([y,x],[2,2],[2,2],vectorpoints=[10,10],colorpalette=[green,red,blue,black,gold],vectorscale=[0.3,0.3]); or: Vectorplot([y,x],[2,2],[2,2],vectorpoints=[10,10],colorpalette=PaletteBGR,vectorscale=[0.3,0.3]); or: Vectorplot([y,x],[2,2],[2,2],vectorpoints=[10,10],colorpalette=["#fffcf6","#fff7db","#fff4c2","#feecae","#f8ca8c","#f0a848","#c07860","#a86060","#784860","#604860"],vectorscale=[0.3,0.3]); vectorscale=[vmin,vmax] rescales the size of the smallest vector and the largest vector and setting them equal means all vectors have the same size. Best, Nijso On Thu, 20150319 at 17:14 +0100, Mario Rodriguez wrote: > > El 19/03/15 a las 16:34, Alejandro Rios escribió: > > Hello everyone, > > > > Running wxMaxima 13.04.2, Maxima 5.30, Windows XP > > > > I'll really appreciate your help on this one: I am developing an algorithm to draw 2D vector fields in Maxima, but having the vectors of the field being drawn with magnitude equal to one unit and varying the intensity of the green color of the vector depending on the magnitude, i.e. the bigger the magnitude of the vector the intensity of the color in increased. > > > > So far I have been able to create a list like this one: > > > > ["color="#00FF00"","color="#00E600"","color="#00D200"","color="#00C200"","color="#00B700"","color="#00B400""] > > > > And another list that contains the vectors > > > > [vector([5,5],[0.70710671047588,0.70710671047588]),vector([4,5],[0.78086871421514,0.62469497137212]), > > vector([3,5],[0.85749279961067,0.5144956797664]),vector([2,5],[0.92847653080311,0.37139061232125]), > > vector([1,5],[0.98058048711777,0.19611609742355]),vector([0,5],[0.99999980000006,0.0])] > > > > I managed to create a list like this one, which I named E, from the first two: > > ["color="#00FF00"",vector([5,5],[0.70710671047588,0.70710671047588]), > > "color="#00E600"",vector([4,5],[0.78086871421514,0.62469497137212]), > > "color="#00D200"",vector([3,5],[0.85749279961067,0.5144956797664]), > > "color="#00C200"",vector([2,5],[0.92847653080311,0.37139061232125]), > > "color="#00B700"",vector([1,5],[0.98058048711777,0.19611609742355]), > > "color="#00B400"",vector([0,5],[0.99999980000006,0.0])] > > > > The problem I have is that when I run the following command: > > > > load(draw)$ > > draw2d( > > head_length=0.1, > > head_angle=15, > > E[1], > > E[2], > > E[3], > > E[4], > > E[5], > > E[6] > > )$ > > > > I get this error: > > > > part: argument must be a nonatomic expression; found "color=\"#00FF00\"" > >  an error. To debug this try: debugmode(true); > > > > Is there any way I could get the color property to be nested in a list so the DRAW package can plot the vector field? > > > > Thank you in advance > > > > You have to remove some double quotes: > > E:[color="#00FF00",vector([5,5],[0.70710671047588,0.70710671047588]), > color="#00E600",vector([4,5],[0.78086871421514,0.62469497137212]), > color="#00D200",vector([3,5],[0.85749279961067,0.5144956797664]), > color="#00C200",vector([2,5],[0.92847653080311,0.37139061232125]), > color="#00B700",vector([1,5],[0.98058048711777,0.19611609742355]), > color="#00B400",vector([0,5],[0.99999980000006,0.0])]; > >  > Mario > >  > 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/ > _______________________________________________ > Maximadiscuss mailing list > Maximadiscuss@... > https://lists.sourceforge.net/lists/listinfo/maximadiscuss > 
From: Gunter Königsmann <gunter@pe...>  20150319 19:18:05

Thanks a lot! Will do some more testing tomorrow. Kind regards, Gunter. Am 18. März 2015 17:49:14 MEZ, schrieb Robert Dodier <robert.dodier@...>: >On Wed, Mar 18, 2015 at 1:58 AM,   <gunter@...> wrote: > >> load(ezunits); >> >> (1000 ` C+66.0*10^9 ` F*V)*(46*10^3 ` Hz*V)``W; > >Thanks for pointing it out. What is happening there (or >not happening, to be precise) is that "``" doesn't >recognize the left hand side as being a dimensional >expression since it doesn't have "`" as its main operator. >I am working on a rule to recognize products of >dimensional expressions as dimensional for the purpose >of conversion by "``". > >In the meantime, a workaround is to write expand(%); >which expands the left side so "``" can work on it. >When I do that, I get: 4.6000000003036E+7 ` W > >best, > >Robert Dodier  Diese Nachricht wurde von meinem Mobiltelefon mit Kaiten Mail gesendet. 
From: Robert Dodier <robert.dodier@gm...>  20150319 18:27:25

On 20150319, Dimiter Prodanov <dimiterpp@...> wrote: > Is there a way to emulate/ introduce array range notation in Maxima? > > Something like Matlab's notation will be quite helpful > For example: > > aa[1..30] or aa[2..2..N] No. I made a partial attempt at stuff like that in the share package amatrix, but it's unfinished and doesn't include the specific case you mention. For the record, you can look at amatrix.dem to see some examples of what it can do. best, Robert Dodier 
From: Robert Dodier <robert.dodier@gm...>  20150319 17:41:04

Dumaiu <dymaio <at> gmail.com> writes: > Thank you for your suggestions. In particular, thanks to > Mr. Dodier for the fix for that bug in lassociative and rassociative, > though I now feel like a weenie for not producing it myself. Don't worry about, as a knowledgeable user, you are already contributing substantially to the project. Also, bear in mind that even once that bug is fixed, you will probably run into other limitations of the operator declaration & simplification machinery .... > For the record, my interest is in information theory and my > purposes are best served by disjunctive normal form. I choose the > propositionallogic "∧" for my post because I thought it would be > the most universal example for those who might, in the future, be > searching the mailing list for prior answers as I was. OK, that makes sense, but maybe you'll want to take a look at share/logic/logic.lisp as it has an implementation of the perfect conjunctive and disjunctive normal forms. best, Robert Dodier 
From: Richard Fateman <fateman@be...>  20150319 17:41:03

On 3/19/2015 9:09 AM, Dimiter Prodanov wrote: > Hello, > > Is there a way to emulate/ introduce array range notation in Maxima? > > Something like Matlab's notation will be quite helpful > For example: > > aa[1..30] or aa[2..2..N] > > I am porting numerical algorithms and I lose a lot of time just to > translate range notations. > nrange([L]):=block([istep:1], if length(L)=3 then istep:L[3], makelist(index,index, L[1],L[2],istep)); nrange(1,10,2); is [1,3,5,7,9] nrange(1,10) is [1,2,3,4,5,6,7,8,9,10] You could put the step size in the middle if you want to. now selecting a slice of an array slice(arr,range):= block([res:[]], for i in range do res:cons(arr[i],res),reverse(res)); so slice(aa,nrange(2,10,2)) is [aa[2],aa[4],aa[6],aa[8],aa[10]] Perhaps that helps. RJF > best regards, > > Dimiter > > >  > 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/ > > > _______________________________________________ > Maximadiscuss mailing list > Maximadiscuss@... > https://lists.sourceforge.net/lists/listinfo/maximadiscuss 
From: Raymond Toy <toy.raymond@gm...>  20150319 17:35:22

>>>>> "Dimiter" == Dimiter Prodanov <dimiterpp@...> writes: Dimiter> Hello, Dimiter> Is there a way to emulate/ introduce array range notation in Maxima? Dimiter> Something like Matlab's notation will be quite helpful Dimiter> For example: Dimiter> aa[1..30] or aa[2..2..N] Dimiter> I am porting numerical algorithms and I lose a lot of Dimiter> time just to translate range notations. Sorry, I can't help with the notation issue, but I'm curious why you're porting numerical algorithms to maxima. I assume you already have them working in Matlab (or Octave or some other package). What does having them run in Maxima give you that you didn't already have?  Ray 
From: Robert Dodier <robert.dodier@gm...>  20150319 17:32:39

On 20150319, Richard Fateman <fateman@...> wrote: > compar.lisp, asum.lisp Also db.lisp. > This code is possibly the worst documented and most complicated in the > system. Yeah. best, Robert Dodier 
From: Mario Rodriguez <biomates@te...>  20150319 16:14:55

El 19/03/15 a las 16:34, Alejandro Rios escribió: > Hello everyone, > > Running wxMaxima 13.04.2, Maxima 5.30, Windows XP > > I'll really appreciate your help on this one: I am developing an algorithm to draw 2D vector fields in Maxima, but having the vectors of the field being drawn with magnitude equal to one unit and varying the intensity of the green color of the vector depending on the magnitude, i.e. the bigger the magnitude of the vector the intensity of the color in increased. > > So far I have been able to create a list like this one: > > ["color="#00FF00"","color="#00E600"","color="#00D200"","color="#00C200"","color="#00B700"","color="#00B400""] > > And another list that contains the vectors > > [vector([5,5],[0.70710671047588,0.70710671047588]),vector([4,5],[0.78086871421514,0.62469497137212]), > vector([3,5],[0.85749279961067,0.5144956797664]),vector([2,5],[0.92847653080311,0.37139061232125]), > vector([1,5],[0.98058048711777,0.19611609742355]),vector([0,5],[0.99999980000006,0.0])] > > I managed to create a list like this one, which I named E, from the first two: > ["color="#00FF00"",vector([5,5],[0.70710671047588,0.70710671047588]), > "color="#00E600"",vector([4,5],[0.78086871421514,0.62469497137212]), > "color="#00D200"",vector([3,5],[0.85749279961067,0.5144956797664]), > "color="#00C200"",vector([2,5],[0.92847653080311,0.37139061232125]), > "color="#00B700"",vector([1,5],[0.98058048711777,0.19611609742355]), > "color="#00B400"",vector([0,5],[0.99999980000006,0.0])] > > The problem I have is that when I run the following command: > > load(draw)$ > draw2d( > head_length=0.1, > head_angle=15, > E[1], > E[2], > E[3], > E[4], > E[5], > E[6] > )$ > > I get this error: > > part: argument must be a nonatomic expression; found "color=\"#00FF00\"" >  an error. To debug this try: debugmode(true); > > Is there any way I could get the color property to be nested in a list so the DRAW package can plot the vector field? > > Thank you in advance > You have to remove some double quotes: E:[color="#00FF00",vector([5,5],[0.70710671047588,0.70710671047588]), color="#00E600",vector([4,5],[0.78086871421514,0.62469497137212]), color="#00D200",vector([3,5],[0.85749279961067,0.5144956797664]), color="#00C200",vector([2,5],[0.92847653080311,0.37139061232125]), color="#00B700",vector([1,5],[0.98058048711777,0.19611609742355]), color="#00B400",vector([0,5],[0.99999980000006,0.0])];  Mario 
From: Dimiter Prodanov <dimiterpp@gm...>  20150319 16:09:44

Hello, Is there a way to emulate/ introduce array range notation in Maxima? Something like Matlab's notation will be quite helpful For example: aa[1..30] or aa[2..2..N] I am porting numerical algorithms and I lose a lot of time just to translate range notations. best regards, Dimiter 
From: Barton Willis <willisb@un...>  20150319 15:39:54

Thanksthe 'next' argument is documented, but I missed it on the first reading. Barton 
From: Alejandro Rios <fisicaiptc2006@ya...>  20150319 15:35:08

Hello everyone, Running wxMaxima 13.04.2, Maxima 5.30, Windows XP I'll really appreciate your help on this one: I am developing an algorithm to draw 2D vector fields in Maxima, but having the vectors of the field being drawn with magnitude equal to one unit and varying the intensity of the green color of the vector depending on the magnitude, i.e. the bigger the magnitude of the vector the intensity of the color in increased. So far I have been able to create a list like this one: ["color="#00FF00"","color="#00E600"","color="#00D200"","color="#00C200"","color="#00B700"","color="#00B400""] And another list that contains the vectors [vector([5,5],[0.70710671047588,0.70710671047588]),vector([4,5],[0.78086871421514,0.62469497137212]), vector([3,5],[0.85749279961067,0.5144956797664]),vector([2,5],[0.92847653080311,0.37139061232125]), vector([1,5],[0.98058048711777,0.19611609742355]),vector([0,5],[0.99999980000006,0.0])] I managed to create a list like this one, which I named E, from the first two: ["color="#00FF00"",vector([5,5],[0.70710671047588,0.70710671047588]), "color="#00E600"",vector([4,5],[0.78086871421514,0.62469497137212]), "color="#00D200"",vector([3,5],[0.85749279961067,0.5144956797664]), "color="#00C200"",vector([2,5],[0.92847653080311,0.37139061232125]), "color="#00B700"",vector([1,5],[0.98058048711777,0.19611609742355]), "color="#00B400"",vector([0,5],[0.99999980000006,0.0])] The problem I have is that when I run the following command: load(draw)$ draw2d( head_length=0.1, head_angle=15, E[1], E[2], E[3], E[4], E[5], E[6] )$ I get this error: part: argument must be a nonatomic expression; found "color=\"#00FF00\""  an error. To debug this try: debugmode(true); Is there any way I could get the color property to be nested in a list so the DRAW package can plot the vector field? Thank you in advance AR 
From: Stavros Macrakis (Σταῦρος Μακράκης) <macrakis@al...>  20150319 14:45:23

eq1: 7^(2*x+2)=49$ eq2: 2^x<8$ eq3: 2^x+4^x=20$ solve(eq1,x); I don't think Maxima can't do eq2  it is weak with inequalities. But it can do solve(2^x=8,x)  simplify the result with radcan. solve(radcan(eq3),x); On Thu, Mar 19, 2015 at 6:59 AM, tuula ruuskanen <tuularuuskanen@... > wrote: > how to solve inverse function? > > If you have the answer 1/sqrt(2), how can I easily get it, that there is no > sqrt in the denominator? > > If you have the answer x=(3*y4)/2, how can I easily get it, that there > is no > denominator? The answer is (3/2)y+2.? > > If I have two points and slope, how can I easily get line? > > How can I solve 7^(2*x+2)=49?,,2^x<8? 2^x+4^x=20? > > > >  > 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/ > _______________________________________________ > Maximadiscuss mailing list > Maximadiscuss@... > https://lists.sourceforge.net/lists/listinfo/maximadiscuss > 
From: Richard Fateman <fateman@be...>  20150319 14:39:15

On 3/19/2015 3:59 AM, tuula ruuskanen wrote: > how to solve inverse function? do you mean solve(asin(x)=y,x) ?? > > If you have the answer 1/sqrt(2), how can I easily get it, that there is no > sqrt in the denominator? algebraic:true; rat(1/sqrt(2)); > > If you have the answer x=(3*y4)/2, how can I easily get it, that there is no > denominator? The answer is (3/2)y+2.? expand(%); > If I have two points and slope, how can I easily get line? don't you know the formula for this? What did you try? > > How can I solve 7^(2*x+2)=49?,,2^x<8? 2^x+4^x=20? probably not with Maxima directly. > _______________________ > Maximadiscuss mailing list > Maximadiscuss@... > https://lists.sourceforge.net/lists/listinfo/maximadiscuss 
From: Stavros Macrakis (Σταῦρος Μακράκης) <macrakis@al...>  20150319 14:36:29

It is the 'next' argument, e.g., for i from 1 thru 7 next i*1.5 do print(i); 1 1.5 2.25 3.375 5.0625 ((MDO SIMP) $I 1 NIL ((MTIMES SIMP) 1.5 $I) 7 NIL (($PRINT SIMP) $I)) On Thu, Mar 19, 2015 at 8:43 AM, Barton Willis <willisb@...> wrote: > What is the purpose of the 4th argument in a mdo expression? Is it > always nil? > > > (%i167) '(for i : lo thru hi step skip while pred do xxx)$ > > (%i168) ?print(%); > ((MDO SIMP) $I $LO $SKIP NIL $HI ((MNOT SIMP) $PRED) $XXX) > > > (%o168) for i from lo step skip thru hi while pred do xxx > > > I was looking a bug in the (tiny) tocl translator mdotr function  > the always nil argument made me question if I was missing something. > > > > Barton > > >  > 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/ > _______________________________________________ > Maximadiscuss mailing list > Maximadiscuss@... > https://lists.sourceforge.net/lists/listinfo/maximadiscuss > > 
From: Richard Fateman <fateman@be...>  20150319 14:29:05

compar.lisp, asum.lisp This code is possibly the worst documented and most complicated in the system. What is your goal? 
From: Barton Willis <willisb@un...>  20150319 12:43:31

What is the purpose of the 4th argument in a mdo expression? Is it always nil? (%i167) '(for i : lo thru hi step skip while pred do xxx)$ (%i168) ?print(%); ((MDO SIMP) $I $LO $SKIP NIL $HI ((MNOT SIMP) $PRED) $XXX) (%o168) for i from lo step skip thru hi while pred do xxx I was looking a bug in the (tiny) tocl translator mdotr function  the always nil argument made me question if I was missing something. Barton 