forum.alglib.net

ALGLIB forum
It is currently Thu Mar 28, 2024 2:28 pm

All times are UTC


Forum rules


1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Visual C++ and Debugging
PostPosted: Sat Jun 05, 2010 9:40 am 
Offline

Joined: Thu May 20, 2010 12:03 pm
Posts: 3
Hello all,

I'm using BCI2000, which incorporates alglib to provide an SWLDA classifier. However I've created a new setup and the code in the classification program needed to be modified. When doing this I stumbled across an inconvenience. If I debug an application, I can't see what's in an ap::template_2d_array<float, true>, except for the dimensions of the array. Is it possible to see a bit more of the data? E.g. Matlab can display the minimum and maximum element of a matrix (if it's not too big).

Thanks in advance!


Top
 Profile  
 
 Post subject: Re: Visual C++ and Debugging
PostPosted: Sun Jun 06, 2010 9:53 am 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 903
You can access m_Vec member of structure to read matrix contents. Elements are stored rowwise, each row is padded with unused elements to ensure that rows are properly aligned. So there is m_iLinearMember elements in each row, although only (m_iHigh2-m_iLow2+1) of them are used.


Top
 Profile  
 
 Post subject: Re: Visual C++ and Debugging
PostPosted: Sat Mar 21, 2015 8:18 am 
Offline

Joined: Sat Mar 21, 2015 8:07 am
Posts: 1
I can't see what's in an ap::template_2d_array<float, true>, except for the dimensions of the array. Is it possible to see a bit more of the data? E.g. Matlab can display the minimum and maximum element of a matrix (if it's not too big).



..............................


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 41 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group