Boost logo

Ublas :

Subject: Re: [ublas] How to view contents of ublas matrix using gdb?
From: Riccardo Rossi (rrossi_at_[hidden])
Date: 2011-01-25 02:41:03


i would also be interesting in finding this out ;-)

Riccardo

-- 
________________________________________________________________
Riccardo Rossi, Ph.D, Civil Engineer
member of the Kratos Group: kratos.cimne.upc.es
Centro Internacional de Métodos Numéricos en Ingeniería (CIMNE)
Universidad Politécnica de Cataluña (UPC)
Edificio C-1, campus Norte UPC
Gran Capitan, s/n
08034 Barcelona, España
Tel. (+34) 93 401 73 99
________________________________________________________________
AVISO IMPORTANTE
Los datos de carácter personal contenidos en el mensaje, se registrarán
en un fichero para facilitar la gestión de las comunicaciones de CIMNE.
Se pueden ejercitar los derechos de acceso, rectificación, cancelación y
oposición por escrito, dirigiéndose a nuestras oficinas de CIMNE, Gran
Capitán s/n,  Edificio C1 - Campus Norte UPC, 08034 Barcelona, España.
AVÍS IMPORTANT
Les dades de caràcter personal contingudes en aquest missatge es
registraran en un fitxer per facilitar la gestió de les comunicacions
del CIMNE. Es poden exercir els drets d'accés, rectificació,
cancel·lació i oposició, per escrit a les nostres oficines del CIMNE,
Gran Capità s/n, Edifici C1, Campus Nord UPC, 08034 Barcelona, Espanya.
IMPORTANT NOTICE
All personal data contained in this mail will be processed
confidentially and stored in a file property of CIMNE in order to manage
corporate communications. You may exercise the right of access,
rectification, deletion and objection by letter sent to CIMNE, Gran
Capitán, Edificio C1 - Campus Norte UPC, 08034 Barcelona, Spain.
On Mon, 2011-01-24 at 17:04 -0800, Richard Stanton wrote:
> I just successfully compiled and ran a C++ program using ublas
> matrices. However, debugging (using gdb) was rather harder than I
> hoped, as I could find no way to see the contents of my matrices while
> debugging. For example, here’s what happens when I try to see an
> element of a matrix V (which does exist and is full of data):
> 
>  
> 
> (gdb) print V(1,1)
> 
> Invalid data type for function to be called.
> 
>  
> 
> I’d be very grateful if someone could tell me how to get around this
> problem.
> 
>  
> 
> Thanks very much.
> 
>  
> 
> Richard Stanton
> 
> 
> _______________________________________________
> ublas mailing list
> ublas_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/ublas
> Sent to: rrossi_at_[hidden]