MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Further information about size limits for Normal[SparseArray[<>]]?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg49578] Further information about size limits for Normal[SparseArray[<>]]?
  • From: Scott Morrison <scott at math.berkeley.edu>
  • Date: Fri, 23 Jul 2004 06:01:50 -0400 (EDT)
  • Reply-to: scott at math.berkeley.edu
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

$Version == 5.0 for Microsoft Windows (November 18, 2003)

I'm wondering if anyone knows about the size limit for converting 
SparseArrays to their Normal form. For example, if you try

Normal[SparseArray[{{1,1}->1},{10^6,10^6}]]

you'll get back the error message SparseArray::ntb. Does anyone know 
exactly what the maximum size is? Is there a way to change this? It 
seems the documentation for some of these error messages is only half 
written (shame, Wolfram!)

On a similar note, there seems to be a bug associated to large array 
sizes. For example, try

SparseArray[{{1,1}->1},{10^10,10^2}]

which produces SparseArray::dims, complaining that the dimensions aren't 
a list of postive integers...

More generally, does anyone have a definitive (or even partial) list of 
functions which know how to operate directly on SparseArrays, without 
having to resort to their Normal forms?

Thanks,
Scott Morrison


  • Prev by Date: Re: Simple Module Code
  • Next by Date: Re: 3D Pascal's Triangle (Cone?)
  • Previous by thread: Re: Spacing of Words in Text Graphics Statements
  • Next by thread: Re: Further information about size limits for Normal[SparseArray[<>]]?