Is there any way to define a matrix in sage that has variables in place for the dimensions?
For instance, I want M with dimension n by p. I try the code below to illustrate
sage: var('n p')
sage: matrix(nrows=n,ncols=p)
1 | initial version |
Is there any way to define a matrix in sage that has variables in place for the dimensions?
For instance, I want M with dimension n by p. I try the code below to illustrate
sage: var('n p')
sage: matrix(nrows=n,ncols=p)