First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 6 years ago

nbruin gravatar image

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