Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1996
*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 1996

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

Search the Archive

Setting parts of matrices

  • To: mathgroup at smc.vnet.net
  • Subject: [mg2907] Setting parts of matrices
  • From: jnygaard at math.uio.no (Jens Olav Nygaard)
  • Date: Tue, 9 Jan 1996 02:18:01 -0500
  • Organization: University of Oslo, Norway

Can somebody tell me how to set a submatrix of a larger matrix?
Assume a is a larger matrix than b. I would like to do something
like

  a[[Range[i1,i2],Range[j1,j2]]]=b;

Unfortunately, this does not work, and the Mathematica-book of
Wolfram doesn't tell me how to do it. It just says that

  a[[Range...

is the way to *extract* things from a matrix.


Jens Olav Nygaard

==== [MESSAGE SEPARATOR] ====


  • Prev by Date: Groebner bases in Weyl Algebras
  • Next by Date: Groebner bases in Weyl Algebras
  • Previous by thread: Groebner bases in Weyl Algebras
  • Next by thread: Setting parts of matrices