phantom-algebra

A strongly-typed tensor library à la GLSL
Description

Phantom-algebra is a pure OCaml library implementing strongly-typed small tensors with dimensions 0 ≤ 4, rank ≤ 2, and limited to square matrices. It makes it possible to manipulate vector and matrix expressions with an uniform notation while still catching non-sensical operations at compile time.

Install
Published
31 Oct 2022
Authors
Maintainers
Sources
phantom-algebra-1.0.1.tbz
sha256=40064821df7ed64443743d42f9dd4f625a6145e3cd64048304e9b47aa3076e3b sha512=6ae9fed9005bb73ee68fa1d78f565cc152d08a7da118ed4a123326f3047a124697778defa28d1e2a085377f8c3b46bb43e39dcde348dd2737d49a0f63590d19e
Dependencies
ocaml >= "4.06.0"
dune >= "2.5"
Reverse Dependencies