Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

versorc-math

Latest version: v0.2.0

Overview

Last scanned
29 Nov 2026
Published
28 Nov 2026
PyPI package Publisher: zeph-systems
0 Stars
0 Forks
4 Versions
702 Downloads
Rust Repo language

Scan summary

versorc-math was last scanned on 29 Nov 2026 at version 0.2.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 4 versions; the latest was published on 28 Nov 2026.
  • Findings: No rules fired in version 0.2.0.
  • Downloads: 702 downloads.

Versions

4 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.0 LATEST 28 Nov 2026 No rules fired
0.1.2 14 Nov 2026 No rules fired
0.1.1 12 Nov 2026 No rules fired
0.1.0 12 Nov 2026 Not shown

No rules fired in 0.2.0

Findings

Findings for v0.2.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.2.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

┌───────────────────────────────────────────────────────┐
│                                                       │
│                 ▁▁▁▁             ▁▁▁▁                 │
│                ╲    ╲          ╱    ╱                 │
│                 ╲    ╲        ╱    ╱                  │
│                  ╲    ╲      ╱    ╱                   │
│                   ╲    ╲    ╱    ╱                    │
│                    ╲    ╲  ╱    ╱                     │
│                     ╲▁▁▁▁╲╱    ╱                      │
│                          ╱    ╱                       │
│                         ╱▁▁▁▁╱                        │
│                                                       │
│             ·  V e r s o r C - M a t h  ·             │
│                                                       │
└───────────────────────────────────────────────────────┘

VERSORC-MATH: High-Performance Clifford Geometric Algebra & Versor Engine

License Crates.io Crates.io Downloads PyPI Python Documentation Release PRs Welcome

VERSORC-MATH is a low-level Clifford Geometric Algebra (GA), 64-Byte DOP Versor Kernel (VrcLine64 / VrcBlock64 / VrcQuire64), and Geometric Quantization engine written in pure Rust with zero required runtime dependencies. It provides PyO3 native Python bindings with zero-copy PEP 3118 buffer interoperability (compatible with external tools such as numpy and JSON schemas for ganja.js without bundling them) and optional hardware Vulkan compute shaders.

Released under the Apache License 2.0.


Table of Contents

  1. Taxonomy of Clifford Geometric Algebra Operators
  2. Canonical Literature & Theoretical Foundations
  3. Visual Gallery & Algebraic Capabilities
  4. Mathematical Foundations & Signatures
  5. Quickstart Guides
  6. Backend Math Kernel: VrcLine64 (64-Byte DOP Clifford Engine)
  7. Integrating versorc-math as a Low-Level Mathematical Backend
  8. Hardware & Microarchitectural Benchmarks
  9. Vulkan Compute Shaders
  10. Collaboration & Contact
  11. Citation
  12. License

Taxonomy of Clifford Geometric Algebra Operators

versorc-math provides a complete, unified hierarchy of geometric operations across vector spaces and multivector grades:

Operator Name Canonical Symbol Rust API Python API Grade Shift ($\Delta\text{grade}$) Mathematical Definition
Geometric Product $A B$ a * b, a.geometric_product(&b) a * b Mixed ($\sum \langle AB \rangle_k$) $AB = A \cdot B + A \wedge B$ (vectors)
Outer / Wedge Product $A \wedge B$ a.wedge(&b) a ^ b Grade addition ($r + s$) Multivector exterior product, anticommutative on 1-blades
Left Contraction $A \rfloor B$ a.left_contraction(&b) a \| b Grade subtraction ($s - r, r \le s$) Contraction dual to wedge: $(A \wedge C) \cdot B = C \cdot (A \rfloor B)$
Hestenes Inner Product $A \cdot B$ a.hestenes_inner_product(&b) a.hestenes_dot(b) Symmetric contraction ($|r - s|$) $\frac{1}{2}(AB + BA)$ for 1-vectors
Regressive / Meet Product $A \vee B$ a.regressive_product(&b) a.regressive(b) Intersection blade ($r + s - n$) $A \vee B = (A^* \wedge B^)^{-1}$
Hodge / Pseudoscalar Dual $*A = A I^{-1}$ a.dual(), a.undual() a.dual(), a.undual() Orthogonal complement ($n - r$) Multiplication by inverted pseudoscalar $I^{-1}$
Clifford Reversion $A^\sim$ / $A^\dagger$ a.reverse() ~a, a.reverse() Sign parity: $(-1)^{k(k-1)/2}$ Blade order reversal: $(e_{i1}\dots e\{ik})^\sim = e\{ik}\dots e\{i_1}$
Grade Involution $\widehat{A}$ a.grade_involution() a.involution() Parity sign: $(-1)^k \langle A \rangle_k$ Main automorphism: $\widehat{u v} = \widehat{u}\widehat{v}, \widehat{v} = -v$
Clifford Conjugation $\overline{A}$ a.conjugation() a.conjugation() Composition: $(\widehat{A})^\sim$ Combines main involution and reversion
Versor Sandwich Product $V x V^{-1}$ v.sandwich(&x) v.sandwich(x) Grade invariant automorphism Outermorphism action $R x R^\sim$ on arbitrary blades
Lie Commutator $A \times B = \frac{1}{2}[A, B]$ a.commutator(&b) a.commutator(b) Lie bracket on bivectors $\frac{1}{2}(AB - BA)$, satisfies Jacobi identity
Anticommutator $\frac{1}{2}{A, B}$ a.anticommutator(&b) a.anticommutator(b) Jordan algebra generator $\frac{1}{2}(AB + BA)$
Conformal Spherical Inversion $P' = S P S^{-1}$ sphere.invert_in_sphere(&p) sphere.invert_in_sphere(p) Radial inversion: $r' = R^2 / r$ 1-versor sandwich across conformal sphere
Möbius Gyrovector Addition $u \oplus v$ u.mobius_add(&v) u.mobius_add(v) Non-associative gyrovector sum $\frac{(1 + 2\langle u,v \rangle + |v|^2)u + (1 - |u|^2)v}{1 + 2\langle u,v \rangle + |u|^2 |v|^2}$
Einstein Hyperbolic Midpoint $\mu_E(u_1..u_K)$ PoincarePoint::einstein_midpoint(&pts, &w) PoincarePoint.einstein_midpoint(pts, w) Conformal center of mass in $B^d$ Projective weighted mean in Beltrami-Klein $\mathbb{K}^d$

[!NOTE] For complete mathematical proofs, axioms, and grade shift derivations for each operator, see explanations/02_clifford_operators_and_products.md.


Canonical Literature & Theoretical Foundations

Every algorithm and operator in versorc-math is strictly grounded in established literature:

  • Euclidean & Multivector Algebra ($\mathcal{Cl}{3,0}, \mathcal{Cl}{2,0}$): Hestenes & Sobczyk (1984), Doran & Lasenby (2003), Clifford (1878).
  • 3D Projective Geometric Algebra ($\mathcal{Cl}^*_{3,0,1}$): Chasles (1830), Selig (2005), Dorst et al. (2007), Gunn (2019).
  • 3D Conformal Geometric Algebra ($\mathcal{Cl}_{4,1}$): Dorst, Fontijne & Mann (2007), Hestenes (2001), Li et al. (2001).
  • 4D Spacetime Algebra & Lounesto Spinors ($\mathcal{Cl}_{1,3}$): Lounesto (2001), Doran & Lasenby (2003), Rodrigues & Oliveira (2007).
  • Gosset $E_8$ Root Lattice & Fast Decoding: Conway & Sloane (1999), Coxeter (1973), Bourbaki (1968).
  • TurboQuant & Dyadic Versors: Max (1960), Lloyd (1982), Walsh (1923), Ailon & Chazelle (2006).
  • Conformal Hyperbolic Geometry ($\mathbb{B}^d$): Ungar (2008), Ratcliffe (2019), Beltrami (1868), Klein (1871).

[!TIP] An exhaustive academic bibliography with detailed theorem citations and source mapping is cataloged in explanations/08_canonical_literature_and_theoretical_foundations.md.


Visual Gallery & Algebraic Capabilities

[!NOTE] versorc-math has zero mandatory runtime dependencies (numpy, matplotlib, and ganja.js are never required). The static plots below are generated by the standalone script examples/generate_plots.py, which imports numpy and matplotlib strictly outside the core package; pure JSON interchange for external ganja.js viewers is shown in examples/ganja_demo.py.

1. 3D Projective Geometric Algebra $\mathcal{Cl}^*(3,0,1)$: SE(3) Rigid Kinematics & Chasles Screw Axis

Rigid body transformation combining rotation and translation into a single even multivector (motor $M = T R \in \text{Spin}(3,0,1)$). According to Chasles' Theorem, any spatial rigid displacement is an invariant screw motion around a unique line $L$ in space with pitch $p$. Geodesic motion is computed via continuous screw linear interpolation ($\text{ScLERP}$): $M(t) = \exp(t \log M)$.

import math
from versorc_math import PgaMotor

# Motor: 180-degree rotation around Z with translation (2, 1, 2)
motor = PgaMotor(translation=[2.0, 1.0, 2.0], rotation_axis=[0.0, 0.0, 1.0], angle_rad=math.pi)
pt_axis, dir_axis, angle, pitch = motor.screw_parameters()

2. 3D Conformal Geometric Algebra $\mathcal{Cl}(4,1)$: Spherical Inversion & Circle Meet

In 3D CGA, spheres and planes are grade-1 vectors. Conformal reflection across a sphere of radius $R$ is realized through a 1-versor sandwich product $P' = S P S^{-1}$, performing classical spherical inversion $|\mathbf{p}'| = R^2 / |\mathbf{p}|$. The intersection of a sphere $S$ and a plane $\Pi$ yields an oriented 3-blade circle $C^* = S^* \wedge \Pi^*$.

from versorc_math import CgaPoint, CgaSphere, CgaCircle

sphere = CgaSphere(0.0, 0.0, 0.0, radius=2.0)
p = CgaPoint(3.6, 0.0, 0.0)
p_inv = sphere.invert_in_sphere(p)  # Distance maps to R^2 / 3.6 = 1.111

# Intersection circle with horizontal cutting plane z = 0.8
circle = CgaCircle.from_sphere_plane(sphere, plane_normal=[0.0, 0.0, 1.0], plane_d=-0.8)
print(f"Circle Radius: {circle.radius:.3f}, Area: {circle.area:.2f}")

3. 3D Euclidean Space $\mathcal{Cl}(3,0)$: 2-Blade Bivectors & Rotor Sandwich Orbits

Vectors $u, v$ span an oriented 2-blade bivector $B = u \wedge v$. Its dual $B I^{-1} = *(u \wedge v)$ corresponds to the orthogonal normal vector. Rotations are generated by rotors $R(\theta) = \exp(-B \theta / 2) = \cos(\theta/2) - B_{\text{unit}} \sin(\theta/2)$ via the bilateral sandwich product $v(\theta) = R(\theta) v_0 R^\sim(\theta)$.

from versorc_math import Cl3

u = Cl3.vector(1.8, 0.0, 0.0)
v = Cl3.vector(0.0, 1.8, 0.0)
bivector = u ^ v                   # 2-blade parallelogram
hodge_dual = bivector.dual()       # Vector orthogonal to plane (+3.24 e3)

4. Gosset $E_8$ Root Lattice: 240 Minimal Roots on the Coxeter Plane

The unique even unimodular lattice in 8 dimensions $E_8 = D_8 \cup (D8 + \frac{1}{2}\mathbf{1})$ contains 240 minimal root versors with squared norm $|r|^2 = 2.0$, together with linear-time Conway-Sloane closest-vector projection. Projecting onto the 2D Coxeter plane eigenspace reveals 8 concentric rings of 30 vertices with 30-fold dihedral symmetry $D\{30}$.

from versorc_math import get_e8_roots

roots = get_e8_roots()  # VersorBufferF32 with shape (240, 8), PEP 3118 compatible

5. TurboQuant: Dyadic Versor Outlier Smearing & 3-Bit Lloyd-Max Quantization

By applying a randomized Dyadic Walsh-Hadamard Versor isometry $R(W) = W H_D$, extreme outlier channels are smeared into an approximately Gaussian distribution bounded for quantization using symmetric Lloyd-Max centroids.

from versorc_math import DyadicWalshVersor, get_lloyd_max_3bit_centroids

# Isotropic Walsh-Hadamard rotation in O(N log N) additions
versor = DyadicWalshVersor(dim=64, seed=12345)
w_rotated = versor.apply([float(i) for i in range(64)])
centroids = get_lloyd_max_3bit_centroids()  # 8 optimal N(0,1) levels

6. Conformal Hyperbolic Geometry: Poincaré Ball $\mathbb{B}^d$ (Curvature $c = -1$)

In the conformal Poincaré ball model $\mathbb{B}^d$, hyperbolic points reside strictly within $|z| < 1$. VersorC-Math computes exact geodesic arcs via projective correspondence with the Beltrami-Klein model $\mathbb{K}^d$, non-associative Möbius gyrovector additions $u \oplus v$, and closed-form $O(K)$ Einstein hyperbolic midpoints $\mu_E$.

from versorc_math import PoincarePoint

u = PoincarePoint([0.35, -0.15])
v = PoincarePoint([0.25, 0.45])
w = u.mobius_add(v)  # Möbius gyrovector sum u ⊕ v

# Compute exact geodesic arc orthogonal to unit circle
arc_points = u.geodesic_arc(v, num_steps=60)

# Exact Einstein hyperbolic center of mass
midpoint = PoincarePoint.einstein_midpoint([u, v, w], [1.0, 1.0, 1.0])

Mathematical Foundations & Signatures

In Clifford Geometric Algebra, vector multiplication is governed by the geometric product:

$$u v = u \cdot v + u \wedge v$$

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases versorc-math

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229