On Fri, 13 Dec 2013, Qi Shi wrote:
thank you very much!
By the way, how to get the diagonal matrix from vector diag(A)?
Of course, that is also possible:
<hansl>
B[diag] = diag(A)
</hansl>
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------