Dear Juan,
This is a Spmat object. You have to use methods defined on this object. see the documentation: http://download.gna.org/getfem/html/homepage/python/cmdref.html#spmat Yves. On mardi 20 juillet 2010, Juan Felipe Henao wrote: > Hi, > > I am just wondering, how can I display the stifness matrix of my program if > I am using the following code to get the matrix, on PYTHON K = > gf.asm_linear_elasticity(mim, mfu, mfd, repeat([Lambda], nbd), > repeat([Mu], nbd)) > > In fact, each time I try to display the matrix I got the following: > > <getfem.Spmat 1494x1494 REAL WSC,> NNZ=47512 (filling=2.12864%)> > > Instead of getting the whole matrix. > Is there any way to display it? > > Thanks, > > Juan > > _________________________________________________________________ > Pronto descubrirás un nuevo Hotmail. Nos estamos reinventando. Prepárate > para lo que se viene. http://www.nuevohotmail.com -- Yves Renard ([email protected]) tel : (33) 04.72.43.87.08 Pole de Mathematiques, INSA-Lyon fax : (33) 04.72.43.85.29 20, rue Albert Einstein 69621 Villeurbanne Cedex, FRANCE http://math.univ-lyon1.fr/~renard --------- _______________________________________________ Getfem-users mailing list [email protected] https://mail.gna.org/listinfo/getfem-users
