From: Silvain D. <sil...@bl...> - 2007-02-02 06:47:13
|
At 02:23 02/02/2007, Robert Dodier wrote: >On 2/1/07, seb_kramm <seb...@ya...> wrote: Je pense aussi que les =E9l=E9ments de votre matrice=20 sont probablement eux-m=EAmes des listes ou des=20 matrices... Normalement, A[1][1] donne un=20 =E9l=E9ment, pas une sous-matrice, donc le param=E8tre scalarmatrixp ne devrait pas intervenir. Vous pouvez essayer d'utiliser A[1][1][1] pour=20 extraire l'=E9l=E9ment voulu, =E0 d=E9faut de corriger le=20 programme en amont, pour vous d=E9barrasser de ces crochets... > > Ceci est mon premier message sur cette liste.... >... >A : matrix ([a/w, b/x], [c/y, d/z]); >num (A); > =3D> matrix([a/w,b/x],[c/y,d/z]) >denom (A); > =3D> 1 >matrixmap (num, A); > =3D> matrix([a, b], [c, d]) >matrixmap (denom, A); > =3D> matrix([w, x], [y, z]) > >Most Maxima functions do not automatically process a list or matrix >element by element. The functions map and matrixmap apply a >function element by element. > > > Quand j'extrait un des =E9l=E9ments, il apparait bien sous forme de= fraction, > > mais toujours encadr=E9 par des crochets !! > >Hmm. From this, it appears your matrix is a nested matrix -- >a matrix with elements that are also matrices. Is that intentional? > >Sorry, I can read a little French but I can't write it. > >Hope this helps! > >Robert Dodier > >------------------------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job= easier. >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D1= 21642 >_______________________________________________ >Maxima-lang-fr mailing list >Max...@li... >https://lists.sourceforge.net/lists/listinfo/maxima-lang-fr |