MCPcopy Index your code
hub / github.com/emilk/pga

github.com/emilk/pga @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
457 symbols 1,031 edges 42 files 79 documented · 17%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

Dot (Interface)
The inner product. Dots each individual elements against each other and sum the results. [2 implementers]
pga/src/manual_pga2d.rs
LCompl (Interface)
A value multiplied by its complement is the pseudoscalar.
generator/templates/traits.rs
Reverse (Interface)
e1.reverse() = e1 e12.reverse() = e21 = -e12 e012.reverse() = e210 = -e012 Used for sandwich product t * x * rev(t) [1 …
pga/src/manual_pga2d.rs
RCompl (Interface)
A value multiplied by its complement is the pseudoscalar.
generator/templates/traits.rs
Sandwich (Interface)
The sandwich transform. t.sandwich(e) = t · e · t.reverse() [1 implementers]
pga/src/manual_pga2d.rs
Reverse (Interface)
Reverse the order of the vector indices: e1.rev() = e1 e12.rev() = e21 = -e12 e012.rev() = e210 = -e012 Used for san
generator/templates/traits.rs
Dual (Interface)
(no doc) [2 implementers]
pga/src/manual_pga2d.rs
Square (Interface)
x.squared() = x * x Note that all values square to a scalar (could always be zero though).
generator/templates/traits.rs

Core symbols most depended-on inside this repo

insert_blade
called by 40
generator/src/types.rs
join
called by 22
pga/src/manual_pga2d.rs
insert_struct
called by 19
generator/src/types.rs
simplify
called by 13
generator/src/simplify.rs
typ
called by 11
generator/src/typ.rs
is_zero
called by 10
generator/src/typ.rs
get
called by 8
generator/src/types.rs
typify
called by 8
generator/src/typify.rs

Shape

Method 290
Class 66
Function 61
Interface 35
Enum 5

Languages

Rust100%

Modules by API surface

reference/src/bin/ref_pga3d.rs39 symbols
pga/src/manual_pga2d.rs36 symbols
generator/src/sblade.rs35 symbols
generated/src/pga3d/blades.rs25 symbols
generator/src/expr.rs23 symbols
reference/src/bin/ref_pga2d.rs21 symbols
generator/src/gen.rs18 symbols
generated/src/pga2d/blades.rs17 symbols
generator/src/lib.rs15 symbols
generator/src/blade.rs15 symbols
generator/src/typ.rs14 symbols
generator/src/simplify.rs13 symbols

For agents

$ claude mcp add pga \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact