Statistics
| Branch: | Revision:

adafruit_bno055 / utility @ 771690b8

Name Size
imumaths.h 881 Bytes
matrix.h 4.941 KB
quaternion.h 7.279 KB
vector.h 4.79 KB

Latest revisions

# Date Author Comment
771690b8 2016-02-24 13:48 Gé Vissers

Prevent copying row data for every element in matrix multiplication.

364879d2 2016-02-24 13:45 Gé Vissers

Dox matrix addition, subtraction, and scalar multiplication using a single loop instead of a double loop.

9f03e367 2016-02-24 13:38 Gé Vissers

make row and column retrieval function const, pass Vector arguments to row and column setters as const reference

8208cc49 2016-02-24 13:32 Gé Vissers

Use a single loop to copy matrices

9c729628 2016-02-24 13:26 Gé Vissers

Add functions for reading elements of constant matrix

a2da8ab6 2016-02-24 13:24 Gé Vissers

Fix memset() in constructors writing past end of data

c2a8045b 2016-02-24 13:20 Gé Vissers

Include vector.h, so that including just matrix.h will pull in the requested dependencies

b2d499c7 2015-05-21 22:15 Paul Du Bois (laptop)

Remove unnecessary double* pointer from Vector<N>

The pointer prevents the use of bitwise move/copy/initialize operations
on Vector(). Less importantly, it's an unnecessary memory bloat.

abce6607 2015-05-21 22:15 Paul Du Bois (laptop)

Bug fix for Vector::magnitude()

Sample failure: Vector<1>(0.5).magnitude() returns 1, not 0.5.
The avoid-sqrt optimization is dubious at best, and should arguably
just be removed.

0695bf91 2015-05-21 22:15 Paul Du Bois (laptop)

Add "const" to non-mutating Vector, Quat methods

Also adds some clarifying documentation, since the quat->euler axis
conventions are a bit surprising.

View revisions

Also available in: Atom