MathGroup Archive 2012

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

Search the Archive



I have a matrix with nxn varaibles an entry and want to assign values
to each of the entries. How can I do this in one go?

I was hoping something like this works, but it doesn't...

Array[Subscript[a, #1, #2] &, {3, 4}] = Array[Random[1], {3, 4}]

Any tips are apprecited.


  • Prev by Date: prim algorithm
  • Next by Date: PC auto-simplifies output, but mac doesn't
  • Previous by thread: Re: prim algorithm
  • Next by thread: Re: Equality...