---------- Forwarded message ----------
From: "[email protected]" <[email protected]>
Subscript must be an integer:
l
-- an error. To debug this try debugmode(true);
le programme:
pivotage(A,l,c):block(matchdeclare(A,amatrixp,l,integer,c,integer),
nn:matrix_size(A)[1],
pivot:A[l,c],
A:subst(A[l]/pivot,A[l],A),
for i:1 step 1 thru nn do(
if i#lpivot then A:rowop(A,i,lpivot,A[i,c]),
return(expand(A))))$
(1) To define a function, write pivotage(A,l,c) := ...
not pivotage(A,l,c) : ....
(2) The "matchdeclare" declarations are unneeded, and they
have no effect in this example.
Hope this helps!
Robert Dodier
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
Maxima-lang-fr mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maxima-lang-fr