At 02:23 02/02/2007, Robert Dodier wrote:
On 2/1/07, seb_kramm <[EMAIL PROTECTED]> wrote:
Je pense aussi que les éléments de votre matrice sont probablement eux-mêmes des listes ou des matrices... Normalement, A[1][1] donne un élément, pas une sous-matrice, donc le paramètre scalarmatrixp
ne devrait pas intervenir.Vous pouvez essayer d'utiliser A[1][1][1] pour extraire l'élément voulu, à défaut de corriger le programme en amont, pour vous débarrasser de ces crochets...
> Ceci est mon premier message sur cette liste.... ... A : matrix ([a/w, b/x], [c/y, d/z]); num (A); => matrix([a/w,b/x],[c/y,d/z]) denom (A); => 1 matrixmap (num, A); => matrix([a, b], [c, d]) matrixmap (denom, A); => 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 éléments, il apparait bien sous forme de fraction, > mais toujours encadré 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=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Maxima-lang-fr mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/maxima-lang-fr
------------------------------------------------------------------------- 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=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Maxima-lang-fr mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/maxima-lang-fr
