()
| 853 | return new Matrix2(this.x, this.y); |
| 854 | } |
| 855 | transpose() { |
| 856 | return Matrix2.from(this[0][0], this[1][0], this[0][1], this[1][1]); |
| 857 | } |
| 858 | eq(other) { |
| 859 | return this[0][0] === other[0][0] && this[0][1] === other[0][1] && this[1][0] === other[1][0] && this[1][1] === other[1][1]; |
| 860 | } |