Interface Blade

The type representing a geometric algebra basis blade. This is a generalization of a vector.

interface Blade {
    bitmap: number;
    end?: number;
    name: string;
    pos?: number;
    type: string;
    get iscons(): boolean;
    get isnil(): boolean;
    add(rhs): U;
    addRef(): void;
    asString(n, names, wedge): string;
    contains(needle): boolean;
    dual(): U | BasisBlade<U, U>;
    equals(rhs): boolean;
    extractGrade(grade): U;
    lshift(rhs): U;
    mul(rhs): U;
    release(): void;
    rev(): U;
    rshift(rhs): U;
    scalarCoordinate(): U;
    scp(rhs): U;
    sub(rhs): U;
    toInfixString(): string;
    toLatexString(): string;
    toListString(): string;
    toString(): string;
    wedge(rhs): U;
}

Hierarchy (view full)

Properties

bitmap: number

The bitmap representation.

end?: number
name: string

Contains the name of the type.

pos?: number
type: string

Accessors

  • get iscons(): boolean
  • Returns boolean

  • get isnil(): boolean
  • Returns boolean

Methods

  • Returns void

  • Parameters

    • n: number

      The dimensionality of the vector space (not the algebra space).

    • names: string[]

      The names of the basis vectors (n) or algebra elements (2^n).

    • wedge: string

      The token to use to denote the outer product.

    Returns string

  • Returns void