Passing diagonal matrix to an *.oct function

José Luis García Pallero jgpallero at gmail.com
Fri Mar 6 03:48:15 CST 2009


Hi,
I'm trying to pass a diagonal matrix to an c++ function, but I don't know
the method for conversion from the octave_value class. I've tried with
DiagMatrix a=args(0).diagmatrix_value(), .diagonal_matrix_value(),
.matrix_value(), but all fails. Wich is the correct form?
Thanks

-- 
*****************************************
José Luis García Pallero
jgpallero at gmail.com
(o<
/ / \
V_/_
Use Debian GNU/Linux and enjoy!
*****************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20090306/c58bf1b0/attachment-0001.html 


More information about the Help-octave mailing list