# numerics

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/numerics/

**module** · [`ferroui-base`](/docs/0.5.0/api/ferroui-base/) · v0.5.0

```rust
module numerics
```

Single-precision vector, quaternion and matrix value types used by the
composition engine. They follow the semantics of the reference runtime's
numerics library (row vectors, row-major matrices, right-handed rotations).

The crate root has double-precision `Vector`, `Vector3D` and `Matrix`; the
conversions between the two families live next to the types of this module
(`From` implementations in `vector2.rs` and `vector3.rs`).

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/numerics/mod.rs#L1)

## Contents

- [`Matrix3x2`](/docs/0.5.0/api/ferroui-base/numerics/struct-matrix3x2/) — struct
- [`Matrix4x4`](/docs/0.5.0/api/ferroui-base/numerics/struct-matrix4x4/) — struct
- [`Quaternion`](/docs/0.5.0/api/ferroui-base/numerics/struct-quaternion/) — struct
- [`InvariantF32`](/docs/0.5.0/api/ferroui-base/numerics/struct-invariantf32/) — struct
- [`Vector2`](/docs/0.5.0/api/ferroui-base/numerics/struct-vector2/) — struct
- [`Vector3`](/docs/0.5.0/api/ferroui-base/numerics/struct-vector3/) — struct
- [`Vector4`](/docs/0.5.0/api/ferroui-base/numerics/struct-vector4/) — struct

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
