Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

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

Search the Archive

Subscripting Matrices (Syntax Question ?)

  • To: mathgroup at
  • Subject: [mg14230] Subscripting Matrices (Syntax Question ?)
  • From: Arthur Chtcherba <artas at>
  • Date: Wed, 7 Oct 1998 03:00:56 -0400
  • Organization: Sprynet
  • Sender: owner-wri-mathgroup at


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 ?)