Module wedged::base

source · []
Expand description

Items common to all subsystems

Re-exports

pub use self::storage::*;
pub use self::alloc::*;
pub use self::dim::*;
pub use self::coordinates::*;
pub use self::ops::*;

Modules

Traits for picking the types to store the internal data of the algebraic structs

Structs to dereference the algebraic types into to access their elements as if they were fields.

Module for type-level representation and arithmetic of dimensions and grades

Helpful traits for grouping together common operations

Traits and structs for the storage of vector-like data.

Structs

Represents a single signed basis element in geometric algebra

Functions

Computes the binomial coefficient of n terms at position k.

Iterates over the number of elements of each blade in the given dimension

Iterates over the number of elements of each even blade in the given dimension

The number of elements in the even subalgebra of the given dimension This is equivalent to 2^(n-1), except for n==1 where it returns 1

Computes the index of the first grade g element in a multivector of dimension n

Computes the index of the first grade g element in a versor of dimension n

The number of elements in the clifford algebra of dimension n. This is equivalent to 2^n for all n

Iterates over the number of elements of each odd blade in the given dimension

The number of elements in the odd components of dimension n. This is equivalent to 2^(n-1), except for n==0 where it returns 0