forum.alglib.net
http://forum.alglib.net/

Visual C++ and Debugging
http://forum.alglib.net/viewtopic.php?f=2&t=20
Page 1 of 1

Author:  timoveldt [ Sat Jun 05, 2010 9:40 am ]
Post subject:  Visual C++ and Debugging

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!

Author:  Sergey.Bochkanov [ Sun Jun 06, 2010 9:53 am ]
Post subject:  Re: Visual C++ and Debugging

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.

Author:  achaahaa [ Sat Mar 21, 2015 8:18 am ]
Post subject:  Re: Visual C++ and Debugging

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).



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

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/