T returns the matrix transpose.
()
| 717 | |
| 718 | // T returns the matrix transpose. |
| 719 | func (m Matrix) T() Matrix { |
| 720 | m[0][1], m[1][0] = m[1][0], m[0][1] |
| 721 | return m |
| 722 | } |
| 723 | |
| 724 | // Det returns the matrix determinant. |
| 725 | func (m Matrix) Det() float64 { |
no outgoing calls