API Reference galixir v#0.28.0

Copy Markdown View Source

Modules

Galixir is a library for working with Geometric Algebra (GA) in Elixir.

Two-dimensional Conformal Geometric Algebra (CGA).

Three-dimensional Conformal Geometric Algebra (CGA).

Complex numbers represented as a one-dimensional geometric algebra.

Dual numbers represented as a one-dimensional degenerate geometric algebra.

Hyperbolic numbers represented as a one-dimensional geometric algebra.

This module implements two-dimensional Euclidean geometry using the projective geometric algebra (PGA) model.

This module implements three-dimensional Euclidean geometry using the projective geometric algebra (PGA) model.

Two-dimensional Euclidean geometric algebra, Cl(2, 0).

Three-dimensional Euclidean geometric algebra, Cl(3, 0).

Provides operations on basis blades using bitmask encoding.

Builds quoted boolean expressions from lists of quoted conditions.

Provides compile-time helpers for generating geometric algebra modules.

Generates functions that map basis-blade masks to their canonical names.

Generates helpers for determining canonical properties of multivectors.

Generates coefficient access functions for multivectors.

Generates dual and undual operations for multivectors.

Generates metric-aware geometric product functions for multivectors.

Generates functions for extracting, enumerating, and testing multivector grades.

Generates the static header implementation for a Galixir algebra module.

Generates inner, left-contraction, and right-contraction product functions.

Generates the string and Inspect representations of multivectors.

Generates inverse operations based on multivector reversion.

Generates component-wise addition, subtraction, and scaling operations.

Generates constructors for multivectors.

Generates multivector norm, normalization, and canonicalization functions.

Generates predicates and guards for multivector properties.

Generates reversion operations for multivectors.

Generates scalar-product functions for multivectors.

Generates the ~G sigil for constructing multivectors from strings.

Provides shared AST and documentation helpers for algebra generators.

Generates outer (wedge) product functions for multivectors.

Defines the behaviour contract for Galixir code generators.

Provides the registry of code generators used to build Galixir algebra modules.

Provides a macro for generating concrete geometric algebra modules.

Stores the compile-time metadata used to generate a geometric algebra module.

Provides utilities for generating geometric product lookup tables.