Printing sparse matrices with the HDK

   1166   0   0
User Avatar
Member
16 posts
Joined: Oct. 2014
Offline
Hi everyone

I am trying to print out the entries of a sparse matrix in the HDK but no luck so far. I created a UT_SparseMatrix and tried to use printFull() like So:

UT_SparseMatrix elm(16, 16);
std:stream stream();
elm.printFull(stream());

I have tried to include <iostream> , <sstream> and <ostream>, and <UT/UT_SparseMatrix.h> of course, but when i try to compile it with hcustom it complains about unresolved externals. Any ideas ?

I am pretty new to the HDK so this might be a complete noob question
  • Quick Links