[Numpy-discussion] degree matrix construction

Joris De Ridder joris at ster.kuleuven.be
Fri Sep 15 08:18:55 CDT 2006


Hi,

   [SU]: Now, my problem is to construct a degree matrix D which is a 3 * 3 matrix with diagonal elements 4,7,7 

You might have a look at the Numpy Example List, at the function diag().

Ciao,
Joris


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm





More information about the Numpy-discussion mailing list