Haskell-Things / ImplicitCAD

A math-inspired CAD program in haskell. CSG, bevels, and shells; 2D & 3D geometry; 2D gcode generation...
https://implicitcad.org/
GNU Affero General Public License v3.0
1.32k stars 140 forks source link

Adding matrix multiplication. #439

Closed lepsa closed 1 year ago

lepsa commented 1 year ago

Adding matrix-matrix, vector-matrix, and matrix-vector support to * for the ExtOpenScad interface, and to mult for the haskell interface.

Adding tests based on matrix multiplication tutorials I found online and results from WolframAlpha.

This addresses https://github.com/Haskell-Things/ImplicitCAD/issues/414