MathGroup Archive 2006

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

Search the Archive

sparsearray and random


Hi,

Why this:

a = Random[Integer, {3, 7}]
Normal[SparseArray[(i_ /; 3 â?¤ i â?¤ a) -> p, 10]]

is not the same as this:

Normal[SparseArray[(i_ /; 3 â?¤ i â?¤Random[Integer, {3, 7}] ) -> p,
10]]


Thx,

Arek


  • Prev by Date: simple question
  • Next by Date: Limit of Infinitely Nested Expression
  • Previous by thread: simple question
  • Next by thread: Re: sparsearray and random