From: Roman G. <rom...@gm...> - 2005-06-22 10:15:33
|
Hi Dominique Sorry for not replying. I actually forgot to register myself for this list = :-/ > Hello, >=20 > I am linking my C code to PySparse and would like to create a CSR > matrix using newCSRMatObject. I don"t see why the prototype for that > function does not appear in the headers unless SPMATRIX_MODULE is > #define"d. =20 > If I #define SPMATRIX_MODULE before #include-ing csr_mat.h, I obtain > tons of warning and error messages. newCSRMatObject() is not supposed to be visible outside of pysparse. =20 > Why not have newCSRMatObject"s prototype in spmatrix_api.h like, e.g., > newLLMatObject? Same for newSSSMatObject. Since there is no way to create CSR and SSS matrices, other than building an LL matrix first and then converting it, I don't really see any benefit in exposing these functions. Am I missing something? =20 > Thanks, > Dominique Regards, -- Roman |