Previous Up Next

5.49.13  Modify an element or a row of a matrix : subsop

subsop modifies an element or a row of a matrix. It is used mainly for Maple and MuPAD compatibility. Unlike := or =<, it does not require the matrix to be stored in a variable.
subsop takes two or three arguments, these arguments are permuted in Maple mode.

  1. Modify an element
  2. Modify a row

Note also that subsop with a ’n=NULL’ argument deletes row number n. In Xcas mode input :


Output :


Previous Up Next