Mike Thomas | 1 Aug 01:26 2002

Re: [Gcl-devel] The state of gcl/maxima

Hi there.

Corrections for Mingw32 platform - SGC does not work and there are three
test failures in current CVS Maxima (see further below):

GCL PART
========

cpu    OS       BFD    SGC   compile  max5.6 5.6  test
                    (kernels)

x86    w32      no     no    pass     fails some test from CVS check)

I just tried the SGC stuff for the first time on Mingw32:

---------------------------------------------------------------------------
gcc -fwritable-strings -DVOL=volatile -Ic:/cvs/gcl/o -fsigned-char -c -O  -I
../gcl-tk -I../h/ -g  gbc.c
In file included from gbc.c:1383:
sgbc.c:1170: warning: `struct sigcontext' declared inside parameter list
sgbc.c:1170: warning: its scope is only this definition or declaration,
which is probably not what you want.
sgbc.c: In function `memprotect_handler':
sgbc.c:1177: dereferencing pointer to incomplete type
sgbc.c:1202: `PROT_READ_WRITE' undeclared (first use in this function)
sgbc.c:1202: (Each undeclared identifier is reported only once
sgbc.c:1202: for each function it appears in.)
sgbc.c: In function `sgc_mprotect':
sgbc.c:1232: `PROT_READ_WRITE' undeclared (first use in this function)
sgbc.c:1232: `PROT_READ' undeclared (first use in this function)
(Continue reading)

Billinghurst, David (CRTS | 1 Aug 01:43 2002

RE: [Gcl-devel] The state of gcl/maxima

These three failures are maxima problems.  They are seen on all platforms
with all lisps.

There are comments in the test file tests/rtest15.mac, but not in the output. 

-----Original Message-----
From: Mike Thomas [mailto:miketh <at> brisbane.paradigmgeo.com]
Sent: Thursday, 1 August 2002 9:26 
To: gcl-devel <at> gnu.org; maxima <at> www.ma.utexas.edu
Subject: Re: [Gcl-devel] The state of gcl/maxima

Hi there.

Corrections for Mingw32 platform - SGC does not work and there are three
test failures in current CVS Maxima (see further below):

...

*** Summary results for tests recorded in
*** log file tests-gcl.log:
Error summary:
Error(s) found in rtest15.mac: (4 18 21)
*** end of summary for tests-gcl.log
Mike Thomas | 1 Aug 01:50 2002

Re: [Gcl-devel] The state of gcl/maxima

> These three failures are maxima problems.  They are seen on all platforms
> with all lisps.

Phew!!!
Gary Ruben | 1 Aug 16:56 2002
Picon

restricting Plot3D to defined domain

Hi,

I'm trying to get a 3D plot of a hemisphere by doing the following:

plot3d(realpart(sqrt(25-x^2-y^2)),[x,-5,5],[y,-5,5],[grid,50,50]);

Why doesn't this work? Is there a different way besides my inclusion of realpart of restricting the domain
to defined regions?

thanks,
Gary
--

-- 
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

Get 4 DVDs for $.49 cents! plus shipping & processing. Click to join.
http://adfarm.mediaplex.com/ad/ck/990-1736-3566-59
Picon

plotting a function of three variables

I am still not able to plot a function of three vars, one of them
having been fixed. Let us call t the third variable; here are my last 
two attempts:

--1:

  (C4)  ff(x,y,t) := x*t/(y-3);

					       x t
  (D4)                         ff(x, y, t) := -----
					      y - 3

  (C6)   plot3d(ff(x,y,t),[x,2,3],[y,2,4],[nticks,100]);

  Error: Expected 3 args but received 2 args
  Fast links are on: do (si::use-fast-links nil) for debugging
  Error signalled by MACSYMA-TOP-LEVEL.
  Broken at LAMBDA.  Type :H for Help.
  MAXIMA>>

--2:

  (C7)    plot3d(ff(x,y,t),[x,2,3],[y,2,4],[t,1,1],[nticks,100]);

  Error: The ECASE key value |$t| is illegal.
  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.

Is the function definition correct? Should i use ':' rather than ':=' ?
(Continue reading)

Picon

plotting a function of three variables

I am still not able to plot a function of three vars, one of them
having been fixed. Let us call t the third variable; here are my last 
two attempts:

--1:

  (C4)  ff(x,y,t) := x*t/(y-3);

					       x t
  (D4)                         ff(x, y, t) := -----
					      y - 3

  (C6)   plot3d(ff(x,y,t),[x,2,3],[y,2,4],[nticks,100]);

  Error: Expected 3 args but received 2 args
  Fast links are on: do (si::use-fast-links nil) for debugging
  Error signalled by MACSYMA-TOP-LEVEL.
  Broken at LAMBDA.  Type :H for Help.
  MAXIMA>>

--2:

  (C7)    plot3d(ff(x,y,t),[x,2,3],[y,2,4],[t,1,1],[nticks,100]);

  Error: The ECASE key value |$t| is illegal.
  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.

Is the function definition correct? Should i use ':' rather than ':=' ?
(Continue reading)

Valerij Pipin | 2 Aug 13:12 2002
Picon

Re: plotting a function of three variables

On Fri, 2 Aug 2002 09:36:44 +0200
Maths Mathematica Geometry Crew <mathematica <at> linfe.it> wrote:

> I am still not able to plot a function of three vars, one of them
> having been fixed. Let us call t the third variable; here are my last 
> two attempts:
> 
> 
> --1:
> 
>   (C4)  ff(x,y,t) := x*t/(y-3);
> 
> 					       x t
>   (D4)                         ff(x, y, t) := -----
> 					      y - 3
> 
>   (C6)   plot3d(ff(x,y,t),[x,2,3],[y,2,4],[nticks,100]);
> 
>   Error: Expected 3 args but received 2 args
>   Fast links are on: do (si::use-fast-links nil) for debugging
>   Error signalled by MACSYMA-TOP-LEVEL.
>   Broken at LAMBDA.  Type :H for Help.
>   MAXIMA>>
Sorry, I don't understand what did you want to plot? The function above has singularity as well......
If you have the function of three vars it could be visualized in 4 dim space or you might look at section
in 3D by plotting the sequence of graphs ff(x,y,{t=1...}).
I feel, you meant the parametric plot like, [x(t),y(t),z(t)]? As far as I know, maxima is able to make
parametric plot 
only in 2D.    

(Continue reading)

Picon

Re: plotting a function of three variables

From Valerij Pipin, Fri Aug 02, at 20:12:
 (...) 
 .If you have the function of three vars it could be visualized in 4 dim space or you might look at section
 .in 3D by plotting the sequence of graphs ff(x,y,{t=1...}).

i feel embaressed with 4-d real spaces, i prefer to look at sections... so 
how to plot f(x,y,t) at t=1.3 ? 

thank you

--
Paolo Pumilia
Harvey J. Stein | 2 Aug 14:52 2002

Display bug in 5.6.


I found a display bug in maxima version 5.6.  If nobody's touched the
display code it may still be in the current version.  The problem is
that the numerator and denominator of a fraction display offset from
the bar that's supposed to be between them:

   [blinky hjstein]$ maxima
   GCL (GNU Common Lisp)  Version(2.4.0) Tue Sep  4 14:44:53 EDT 2001
   Licensed under GNU Library General Public License
   Contains Enhancements by W. Schelter
   Maxima 5.6 Tue Sep 4 14:44:44 EDT 2001 (with enhancements by W. Schelter).
   Licensed under the GNU Public License (see file COPYING)
   (C1) powerseries(1/sqrt(1+x), x, 0);

			   INF
			      ====      I1
			      \        x
			    2  >--------------------
			      /     3
			      ====BETA(- - I1, I1 + 1)
			I1 = 0      2
   (D1)               -----------------------------
				    3

Note the 3 above the beta and the 2 underneath it.  It should read:

			   INF
			      ====      I1
			      \        x
			    2  >--------------------
(Continue reading)

Raymond Toy | 2 Aug 15:15 2002
Picon
Picon

Re: plotting a function of three variables

>>>>> "Paolo" == Maths Mathematica Geometry Crew <mathematica <at> linfe.it> writes:

    Paolo> I am still not able to plot a function of three vars, one of them
    Paolo> having been fixed. Let us call t the third variable; here are my last 
    Paolo> two attempts:

    Paolo> --1:

    Paolo>   (C4)  ff(x,y,t) := x*t/(y-3);

    Paolo> 					       x t
    Paolo>   (D4)                         ff(x, y, t) := -----
    Paolo> 					      y - 3

    Paolo>   (C6)   plot3d(ff(x,y,t),[x,2,3],[y,2,4],[nticks,100]);

    Paolo>   Error: Expected 3 args but received 2 args

From the error message, we want 2 args.  So the following will produce
a plot:

fff(x,y) := f(x,y,1.3);
plot3d(fff(x,y),[x,2,3],[y,2,4],[nticks,100]);

    Paolo> Any example about plotting functions and functions of functions will
    Paolo> be appreciated.

? plot;
? plot3d;

(Continue reading)


Gmane