Core Dump on Matrix Assignment
- To: mathgroup at smc.vnet.net
- Subject: [mg13474] Core Dump on Matrix Assignment
- From: Kenny Hunt <hunt at iowasp.physics.uiowa.edu>
- Date: Sun, 26 Jul 1998 02:33:35 -0400
- Organization: The University of Iowa
- Sender: owner-wri-mathgroup at wolfram.com
I'm running Mathematica 3.0 on an SGI 02 and get a core dump when I execute the following code (or any variation thereof). Clear[mat1,mat2]; mat1 = Array[a,{5,5}]; mat2 = Array[b,{3,3}]; mat1[[{1,3,5},{1,3,5}]] = mat2; The following code works fine: Clear[mat1,mat2]; mat1 = Array[a,{5,5}]; mat2 = Array[b,{3,3}]; mat1[[{1,2,3},{1,2,3}]] = mat2; Could someone explain what is happening here? Also, how should I implement the first example without crashing the system? Kenny Hunt hunt at cs.uiowa.edu