|
Ublas : |
From: Gunter Winkler (guwi17_at_[hidden])
Date: 2005-08-30 05:57:35
On Tuesday 30 August 2005 12:54, Vania Dos Santos Eleuterio wrote:
> Hi , i would like to know how the prod of a compressed matrix with a
> vector is so slow.
> I have 10000 x 10000 matrix with only 10000 non zeros and it takes too
> long to do the product.
>
> Should i use some special product?
try to use axpy_prod(A, x, y, init) from operation.hpp
It computes:
if (init)
y = A * x
else
y += A * x
mfg
Gunter