Macaulay2 » Documentation
Packages » ExteriorExtensions :: makeTraceless
next | previous | forward | backward | up | index | toc

makeTraceless -- Project matrix to the traceless matrices.

Description

Project matrix to the traceless matrices.

i1 : A = random(QQ^4, QQ^4)

o1 = | 9/2 7/9  7   5/4  |
     | 9/4 7/10 3/7 2/9  |
     | 3/4 7/10 6/7 3/10 |
     | 7/4 7/3  6   3/7  |

              4       4
o1 : Matrix QQ  <-- QQ
i2 : Ap = makeTraceless A

o2 = | 403/140 7/9      7        5/4      |
     | 9/4     -129/140 3/7      2/9      |
     | 3/4     7/10     -107/140 3/10     |
     | 7/4     7/3      6        -167/140 |

              4       4
o2 : Matrix QQ  <-- QQ

For the programmer

The object makeTraceless is a function closure.


The source of this document is in ExteriorExtensions.m2:465:0.