[Scilab-users] multiple element by element between large matrix and vector

Samuel Gougeon sgougeon at free.fr
Sun Sep 27 14:00:28 CEST 2015


Le 27/09/2015 12:53, David Chèze a écrit :
> .../... For large matrix in data
> manipulation (typ. 100000 rows), it's necessary to use sparse to allocate
> better the diag matrix otherwise it's out of memory for usual machine.
> So i'm using --> diag(sparse(v)) * A
.
The sparse encoding may become bulkier than the dense one if the actual 
density of contents is not low.
Now, are A or/and v actually sparse (i mean with a low density)? You did 
not give infos about that.

Samuel




More information about the users mailing list