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

makeGWClass -- the Grothendieck-Witt class of a symmetric matrix

Synopsis

Description

Given a symmetric matrix, $M$, this command outputs an object of type GrothendieckWittClass. This output has the representing matrix, $M$, and the base field of the matrix stored in its CacheTable.

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

              3       3
o1 : Matrix QQ  <-- QQ
i2 : beta = makeGWClass M

o2 = | 0 0 1 |
     | 0 1 0 |
     | 1 0 0 |

o2 : GrothendieckWittClass

See also

Ways to use makeGWClass:

For the programmer

The object makeGWClass is a method function.