nalgebra_norm 0.1.1

The norm markers (EuclideanNorm, LpNorm, OneNorm, UniformNorm) and every Norm impl (upstream base::norm).

Readme

nalgebra_norm

The norm markers (EuclideanNorm, LpNorm, OneNorm, UniformNorm) and every Norm impl (upstream base::norm).

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

  • base::norm: the norm markers EuclideanNorm, LpNorm, OneNorm, UniformNorm and every Norm impl of the static shapes.

Upstream's module paths are kept: nalgebra_norm::<module path> is nalgebra::<module path> (docs/SPLIT.md §3.1). It depends on nalgebra_core, nalgebra_types2, nalgebra_types3, nalgebra_types4, nalgebra_types5, nalgebra_types6, nalgebra_static_core, nalgebra_static2, nalgebra_static3, nalgebra_static4, nalgebra_static5, nalgebra_static6_tall, nalgebra_static6_wide and simba.

When to depend on it

nalgebra_norm is a member of the declared closure static4_norm (18.7 s / 4.04 GB, documented, not gated).

Advanced use: the Norm markers and generic impls. The everyday norm(), normalize(), apply_norm, lp_norm are methods of the static crates. This crate depends on every method crate, so "static 2-4 + norm" is a dimension 5-6 closure (docs/SPLIT.md §18.4, §18.7).

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

This crate has no internal module: it shares no crate-private item of nalgebra 0.1.0 with the crates above it.

License

MIT.

Metadata

Version 0.1.1

Uploaded 7 hours ago

License MIT

Cairo version ^2.19.4

Size 5.4 KB

Installation

Run the following command in your project dir

scarb add nalgebra_norm@0.1.1

Or add the following line to your Scarb.toml

nalgebra_norm = "0.1.1"

Monthly downloads

Links

Keywords

  • linear-algebra
  • fixed-point
  • base
  • norm

Owners