[Insight-users] QR decomposition

M.Staring at lumc.nl M.Staring at lumc.nl
Mon Apr 4 04:57:37 EDT 2011


Hi Kana,
something like:
#include "vnl/algo/vnl_qr.h"
vnl_qr<TScalarType> qr( vnl_matrix_1 );
and then use it, e.g.:
vnl_matrix< TScalarType > vnl_matrix_2 = qr.solve( vnl_matrix_3 );
or
vnl_matrix< TScalarType > vnl_matrix_Q = qr.Q();
vnl_matrix< TScalarType > vnl_matrix_R = qr.R();
See:
http://public.kitware.com/vxl/doc/development/core/vnl/html/classvnl__qr.html

HTH,
Marius
From: insight-users-bounces at itk.org [mailto:insight-users-bounces at itk.org] On Behalf Of Arunachalam Kana
Sent: maandag 4 april 2011 10:37
To: insight-users at itk.org
Subject: [Insight-users] QR decomposition

Hi Users,
I want to us the QR decomposition in itk. I found from the mailing list that it is available in cqrdc.c but i do not know
How to use it.
Can someone give an example of how to use the QR decomposition in itk.
Thank you in advance.
Kana Arunachalam Kannappan
Research Associate
FH OÖ Forschungs & Entwicklungs GmbH
Stelzhamer Strasse 23,
4600 Wels,
Austria.
Phone: +43 (0)7242 72811 -4420
kana.arunachalam at fh-wels.at<mailto:kana.arunachalam at fh-wels.at>
www.fh-ooe.at<http://www.fh-ooe.at>; www.3dct.at<http://www.3dct.at>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110404/d7bb0472/attachment.htm>


More information about the Insight-users mailing list