From: Fergus G. <fe...@go...> - 2009-11-17 12:27:56
|
> The find/put method is surely the fastest in general. The more > fundamental question is do you really need the explicit transpose? > Often, algorithms that need the transpose operate directly on the > original matrix. If what you need is matrix-vector products of the form > A.T*x, you can always use the matvec_transp() method. If you're using > the higher-level PysparseMatrix objects, you can do A*x and x*A. The > latter actually computes A.T*x. > > I hope this helps. > Hi, thanks for all the replies. What we want to do is generate the "outer product" A*B^T (actually A*A^T in our case). Regards -- Fergus Gallagher "Setting a good example for children takes all the fun out of middle age." - William Feather |