sage: s = var('s');
sage: G = matrix([[1,-1],[s**2+s-4,2 s**

*2-s-8],[s*

**2-4, 2****s**2-8]])

G is a symbolic matrix, each entry of which is a polynomial of variable 's'.

How can we calculate the Smith McMillan Form?

NOTE: G.smith_form() doesn't work.

1 | initial version |

sage: s = var('s');
sage: G = matrix([[1,-1],[s**2+s-4,2 s**

G is a symbolic matrix, each entry of which is a polynomial of variable 's'.

How can we calculate the Smith McMillan Form?

NOTE: G.smith_form() doesn't work.

2 | No.2 Revision |

sage: s = var('s');
sage: G = ~~matrix([[1,-1],[s~~**2+s-4,2****matrix([[1,-1],[s^2+s-4,2ss^2-s-8],[s^2-4, 2**

G is a symbolic matrix, each entry of which is a polynomial of variable 's'.

How can we calculate the Smith McMillan Form?

NOTE: G.smith_form() doesn't work.

Thanks in advance!

3 | No.3 Revision |

sage: s = ~~var('s'); ~~var('s')

sage: G = matrix([[1,-1],[s^2+s-4,2*s^2-s-8],[s^2-4, 2*s^2-8]])

G is a symbolic matrix, each entry of which is a polynomial of variable 's'.

How can we calculate the Smith McMillan Form?

NOTE: G.smith_form() doesn't work.

Thanks in advance!

4 | No.4 Revision |

sage: s = var('s')

sage: G = matrix([[1,-1],[s^2+s-4,2*s^2-s-8],[s^2-4, 2*s^2-8]])

G is a symbolic matrix, each entry of which is a polynomial of variable 's'.

*NOTE: G.smith_form() doesn't work.*

Thanks in advance!

5 | No.5 Revision |

`sage: s = `~~var('s')~~var('s')
sage: G = matrix([[1,-1],[s^2+s-4,2*s^2-s-8],[s^2-4, 2*s^2-8]])

~~sage: G = matrix([[1,-1],[s^2+s-4,2~~*s^2-s-8],[s^2-4, 2*s^2-8]])

G `G`

is a symbolic matrix, each entry of which is a polynomial of variable ~~'s'.~~`s`

.

*NOTE: G.smith_form() G.smith_form() doesn't work.*

Thanks in advance!

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.