| 1 | initial version |
Rzyxp is a matrix, so Rzyxp[2] is its third row: a vector; albeit a one-dimensional one. In order to get the entry itself, you need to index with two indices:
solve(Rzyxp[2,0],b)
does not give an error (but possibly not a very useful answer either).
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.