First time here? Check out the FAQ!
answered 2016-10-11 19:42:29 +0100
You can just use substitution:
sage: M.substitute(a=0) [1 0] [0 b]