[Pkg-octave-devel] Bug#706376: Bug#706376: octave: sparse matrix n*2^16

Ed Meyer eem2314 at gmail.com
Mon Apr 29 17:21:17 UTC 2013

On Mon, Apr 29, 2013 at 9:47 AM, Jordi Gutiérrez Hermoso <jordigh at octave.org
> wrote:

> All matrices need to be linearly indexable, and of course, this is how
> they are actually stored in memory, as a single long array indexed by
> a single index. Thus, the total number of indexable elements of a
> matrix can't be larger than
> std::numeric_limits<octave_idx_type>::max().
> There could be some tricks we could do to relax this requirement for
> sparse matrices, but it would require some pretty deep surgery of the
> current code.
> - Jordi G. H.

true for full matrices but sparse matrices are stored as three arrays and
the nonzero
and row index arrays are the only ones that need be limited. So you are
saying that
sparse matrices are treated as full in some places?

Ed Meyer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-octave-devel/attachments/20130429/f67089b4/attachment.html>

More information about the Pkg-octave-devel mailing list