# Matrix2

`import { Matrix2 } from "destack:math";`

Two-by-two matrix in row-major field order.

```ds title="Matrix2"
export struct Matrix2<T: Numeric> {
    m00: T;
    m01: T;
    m10: T;
    m11: T;
}
```

[language/library/src/math/matrix.ds:8:20](https://github.com/destack-sh/destack/blob/main/language/library/src/math/matrix.ds#L8-L20)

## Members

### `m00: T`

First row, first column.

### `m01: T`

First row, second column.

### `m10: T`

Second row, first column.

### `m11: T`

Second row, second column.
