From: Yoshi R. <y...@ro...> - 2011-04-28 13:21:21
|
hey - nice work! we use your software in an open source project (not published yet) for complex networks and our sparse matrices are adjacency matrices. often we use unweighted networks so the matrix consists of ones and zeros, so there is no need for a double precision array ... so until now i used a single integer array for storing such a matrix, that is also easy to pass to a c function from python. is there a way to do such a thing in your framework? passing sparse matrices to a python module in c and save memory by not allocating a double array? thank you - best regards |