Macaulay2 » Documentation
Packages » A1BrouwerDegrees :: getMatrix
next | previous | forward | backward | up | index | toc

getMatrix -- returns the Gram matrix of a stable or unstable Grothendieck-Witt class

Description

Given a GrothendieckWittClass or UnstableGrothendieckWittClass object beta, this method returns the Gram matrix of the Grothendieck-Witt class or unstable Grothendieck-Witt class. The Gram matrix is a symmetric matrix over the algebra of the Grothendieck-Witt class or unstable Grothendieck-Witt class.

i1 : M = matrix(QQ, {{0,1},{1,0}})

o1 = | 0 1 |
     | 1 0 |

              2       2
o1 : Matrix QQ  <-- QQ
i2 : getMatrix makeGWClass M

o2 = | 0 1 |
     | 1 0 |

              2       2
o2 : Matrix QQ  <-- QQ
i3 : getMatrix makeGWuClass(M, -4)

o3 = | 0 1 |
     | 1 0 |

              2       2
o3 : Matrix QQ  <-- QQ

See also

Ways to use getMatrix:

  • getMatrix(GrothendieckWittClass)
  • getMatrix(UnstableGrothendieckWittClass)

For the programmer

The object getMatrix is a method function.


The source of this document is in A1BrouwerDegrees/Documentation/UnstableGrothendieckWittClassesDoc.m2:222:0.