axiom-developer
[Top][All Lists]

[Axiom-developer] FW: [book] more verbatim #

 From: Bill Page Subject: [Axiom-developer] FW: [book] more verbatim # Date: Mon, 6 Nov 2006 00:36:20 -0500

-----Original Message-----
From: Bill Page [mailto:address@hidden
Sent: November 6, 2006 12:27 AM
Subject: [book] more verbatim #

--

??changed:
showRegion(vp,"on")                          Enclose in a box.
-  n := \# flist                                The number of ribbons
+  n := # flist                                 The number of ribbons
zoom(vp,n,1,n)                               Zoom in x- and z-directions.

??changed:
sp := createThreeSpace()                     Create empty space \$sp\$.
-  num := # flist                              The number of ribbons.
+  num := # flist                               The number of ribbons.
yVar := variable yrange                      The ribbon variable.

??changed:
vl := variables f                            The list of variables
-  nv := \# vl                                  The number of variables
+  nv := # vl                                   The number of variables
nv > 1 => error "Expression is not univariate."

??changed:
arrowAngle : DFLOAT := pi()-pi()/(20::DFLOAT)        Local variable 2
-    realSteps  : INT := 11 --\# real steps               Local variable 3
-    imagSteps  : INT := 11 --\# imaginary steps          Local variable 4
+    realSteps  : INT := 11 --# real steps                Local variable 3
+    imagSteps  : INT := 11 --# imaginary steps           Local variable 4
clipValue  : DFLOAT  := 10::DFLOAT --maximum vector length

??changed:
bubbleSort!(m,f) ==
-      n := \#m
+      n := #m
for i in 1..(n-1) repeat

??changed:
insertionSort!(m,f) ==
-      for i in 2..\#m repeat
+      for i in 2..#m repeat
j := i

--
forwarded from
http://wiki.axiom-developer.org/axiom--test--1/src/doc/Book#msg2006110523264