tomstewart89 / BasicLinearAlgebra

A library for using matrices and linear algebra on Arduino
MIT License
185 stars 38 forks source link

Cross product operation #78

Closed insalt-glitch closed 3 months ago

insalt-glitch commented 3 months ago

This PR adds a three-dimensional cross product operation (with appropriate tests). This means you can do cross-products with all matrices that have dimension 3 along either the first or the second axis. If the matrix is 3-by-4, then the axis for the cross-product operation can be chosen at compile-time.