MathGroup Archive 2007

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

Search the Archive

Re: Grid


the idea of a SparseArray[] is that the most entries are zero
and only a few are non zero and must be stored.

And why you use a SparseArray[] for a so tiny matrix of 9 x 9 ?
SparseArray[]s are for 10000 x 10000 arrays.


John wrote:
> I want to create a 9x9 grid that has specified positive integers,
> fewer than 81, entered in specified cells. I used SparseArray to enter
> the specified numbers in the specified cells, but it put a 0 in every
> unspecified cell.How do I convert the zeros to blanks?
> John

  • Prev by Date: Log of y-axis data?
  • Next by Date: RE: Plot question
  • Previous by thread: Re: Grid
  • Next by thread: Re: Grid