help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is the best way to extract the diagonal from DiagMatrix class


From: Jaroslav Hajek
Subject: Re: What is the best way to extract the diagonal from DiagMatrix class
Date: Thu, 8 Apr 2010 20:41:15 +0200



On Thu, Apr 8, 2010 at 5:09 PM, Riccardo Corradini <address@hidden> wrote:
Hi all,
using the diag_matrix_value() from octave_value class I would like to extract the diagonal as ColumnVector or RowVector.
Is there a property within DiagMatrix class even if I don't know where is located the diagonal ?
Is it diag?

Yes.



--
RNDr. Jaroslav Hajek, PhD
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz

reply via email to

[Prev in Thread] Current Thread [Next in Thread]