Previous Up Next

2.42.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 to store the matrix in a variable.
subsop takes two or three arguments, these arguments are permuted in Maple mode.

  1. Modify an element
  2. Modify a row

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

subsop([[4,5],[2,6]],’1=NULL’)

Output :

[[4,5]]

Previous Up Next