<br><br><div class="gmail_quote">On Mon, Apr 29, 2013 at 9:47 AM, Jordi Gutiérrez Hermoso <span dir="ltr"><<a href="mailto:jordigh@octave.org" target="_blank">jordigh@octave.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="HOEnZb"><div class="h5"><br>
</div></div>All matrices need to be linearly indexable, and of course, this is how<br>
they are actually stored in memory, as a single long array indexed by<br>
a single index. Thus, the total number of indexable elements of a<br>
matrix can't be larger than<br>
std::numeric_limits<octave_idx_type>::max().<br>
<br>
There could be some tricks we could do to relax this requirement for<br>
sparse matrices, but it would require some pretty deep surgery of the<br>
current code.<br>
<br>
- Jordi G. H.<br>
</blockquote></div><br>true for full matrices but sparse matrices are stored as three arrays and the nonzero<div>and row index arrays are the only ones that need be limited. So you are saying that</div><div>sparse matrices are treated as full in some places?<br clear="all">

<div><br></div>-- <br>Ed Meyer<br>
</div>