Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*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 smc.vnet.net
  • Subject: [mg14230] Subscripting Matrices (Syntax Question ?)
  • From: Arthur Chtcherba <artas at sprynet.com>
  • Date: Wed, 7 Oct 1998 03:00:56 -0400
  • Organization: Sprynet
  • Sender: owner-wri-mathgroup at wolfram.com

Hello,

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
example
  mtx[[{1,3,2}]] = 0
will not set element  mtx[1,3,2].

Please help,
Thanks
-- 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 ?)