MathGroup Archive 1998

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

Search the Archive

Subscripting Matrices (Syntax Question ?)


I am constructing a matrix (whose dimensions I do not know in advance),
and later
on I want to index various elements in the array.

An index is in a form of a list, and want to use with a matrix but for
  mtx[[{1,3,2}]] = 0
will not set element  mtx[1,3,2].

Please help,
-- Arthur Chtcherba

  • Prev by Date: Unexpected results
  • Next by Date: Re: Re: Outputting Strings to a file
  • Previous by thread: Re: Re: Unexpected results
  • Next by thread: Re: Subscripting Matrices (Syntax Question ?)