nalgebra_types3 0.1.1

The types of dimension 3 (shapes with max(rows, cols) = 3, their core-trait impls, products, indexing, solve / permutation / Givens / LU-step / Householder impls); Point3, Translation3, Perm3, Rotation3, Reflection3 (with its constructors and accessors).

Readme

nalgebra_types3

The types of dimension 3 (shapes with max(rows, cols) = 3, their core-trait impls, products, indexing, solve / permutation / Givens / LU-step / Householder impls); Point3, Translation3, Perm3, Rotation3, Reflection3 (with its constructors and accessors).

Part of nalgebra-cairo, the Cairo port of the Rust nalgebra crate on fixed::Fixed (Q32.32), built for provable game physics, split per dimension (docs/SPLIT.md §18: a number in a crate name is exactly that dimension; the dimension of a rectangular shape is max(rows, columns)).

What it holds

  • the shapes with max(rows, columns) = 3 (Matrix3, Matrix2x3, Matrix3x2, Vector3, RowVector3...), their core-trait impls, products, indexing and solve impls;
  • Point3, Translation3, Rotation3, Reflection3 (with its constructors and accessors), Perm3 and the permutation / LU-step / Householder impls of dimension 3.

Upstream's module paths are kept: nalgebra_types3::<module path> is nalgebra::<module path> (docs/SPLIT.md §3.1). It depends on nalgebra_core, nalgebra_types2 and simba.

When to depend on it

It is pulled in by 27 declared closures, the cheapest being core_pivot (3.5 s / 1.04 GB, 15 s / 3 GB).

Depend on the types crates when you need the types and their operators without the named methods (those are in the static crates). Dimension k builds on every dimension below it: this crate pulls nalgebra_types2.

For upstream's whole API at upstream's paths, depend on the facade nalgebra, which re-exports every sub-crate at the 0.1.0 paths.

internal

The modules under internal (internal::base, internal::geometry) hold items that are crate-private in nalgebra 0.1.0 and that the split had to make pub to share them across crates: no stability promise.

License

MIT.

Metadata

Version 0.1.1

Uploaded 18 hours ago

License MIT

Cairo version ^2.19.4

Size 23.9 KB

Installation

Run the following command in your project dir

scarb add nalgebra_types3@0.1.1

Or add the following line to your Scarb.toml

nalgebra_types3 = "0.1.1"

Monthly downloads

Links

Keywords

  • linear-algebra
  • fixed-point
  • base
  • geometry
  • linalg

Owners