This project has moved and is read-only. For the latest updates, please go here.

Suggestion for matrix/vector ToString() methods

Dec 15, 2010 at 10:19 AM
Edited Dec 15, 2010 at 10:21 AM

I'm using your sparse matrices for FEM computations and it's a little bit annoying to see all those zero's while debugging :-)

I would suggest to put only the size of the matrix into the ToString methods, since I don't see any use for the actual entries to be printed (maybe for size less than 3x3, but for bigger matrices it's not very helpful). For the sparse matrices, the non-zero's count would also be of interest...

Anyway, great project! Cheers,


Dec 15, 2010 at 11:29 AM

Hi Chris,

The ToString method really isn't meant for debugging but a quick way to generate a CSV formated matrix/vector (a feature request).

For dnAnalytics we had debug visualizers. I'll add a feature request to port them.