---
icon: package
label: linalg
---

Provide `mat3x3`, `vec2`, `vec3` and `vec4` types.

This classes adopt `torch`'s naming convention. Methods with `_` suffix will modify the instance itself.

https://github.com/pocketpy/pocketpy/blob/main/include/typings/linalg.pyi

:::code source="../../include/typings/linalg.pyi" :::