kritz
4f3565da94
Add asserts ( #115 )
...
* Add asserts
* Type cast literals
* asserts for indexing vectors
* include assert
* Fix accessing elements outside of slice
5 years ago
kritz
2f6398168d
Add several functions that are useful for coavriance matrices: ( #114 )
...
* uncorrelateCovariance
* uncorrelateCovarianceSetVariance
* makeBlockSymmetric
* makeRowColSymmetric
* isBlockSymmetric
* isRowColSymmetric
5 years ago
kritz
5cbcf6035a
Set Matrix's col amd row to single value ( #113 )
5 years ago
Daniel Agar
cd185c995b
add braces around statements and cleanup formatting ( #107 )
5 years ago
Matthias Grob
740324cf1e
Make all array constructors explicit ( #99 )
...
* Make all array constructors explicit
to avoid accidental implicit casts like e.g.
Vector3f v = 0;
assigning nullpointer content.
5 years ago
Matthias Grob
a374f37a54
Include helper_functions like all other library components
6 years ago
Julian Kent
82d565f4d9
Add support for Slice to Matrix, SquareMatrix, Vector
6 years ago
TSC21
ec436d5aee
define FLT_EPSILON; be descriptive about upper_right_triangle() method
6 years ago
TSC21
7355a29a2a
tests: use __FLT_EPSILON__ in comparisons
6 years ago
TSC21
96cb9ab146
add NaN value set for Matrix; add return of URT of a matrix
6 years ago
Daniel Agar
dc3af80977
constructors use array size rather than pointers
7 years ago
Daniel Agar
f1bee775a0
use default constructors and skip unnecessary initialization
7 years ago
Pavel Kirienko
9ebf5f89db
Removed all use of C library from the matrix namespace
8 years ago
Daniel Agar
cfa68c2196
clang-tidy trivial cleanup
8 years ago
Lorenz Meier
2283e6946a
Matrix inversion: Ensure that null check is done against the same type
8 years ago
James Goppert
843be9418b
Rename isfinite to is_finite to avoid name conflicts.
8 years ago
James Goppert
63aea23f9e
Add cholesky decomp, Closes #30 , and dynamic print buf
8 years ago
James Goppert
a154e14439
Fix coverage for inverse.
8 years ago
James Goppert
db6dfeafbe
Add helper_functions include for inverse and in general header
8 years ago
James Goppert
230e84702a
Fix unit test, create matrix isfinite.
8 years ago
Siddharth Bharat Purohit
7e3eff7b2d
remove unnecessary duplicate matrices from inverse
8 years ago
James Goppert
f3e478cbff
Fix matrix inverse pivotting logic.
8 years ago
Matthias Grob
65679fbcbb
Features and fixes
...
* added the trace function for a SquareMatrix
* added Vector3.hat() and it's counterpart Dcm.vee()
for skewsymskew symmetric matrix operations in relation to the cross product
see https://en.wikipedia.org/wiki/Hat_operator
* Matrix::write_string produced runtime errors when I used it in PX4 posix simulation, i simplified it
* a Matrix3f is a SquareMatrix
* added tests for SquareMatrix.trace, Vector3.hat and Dcm.vee
* added a test for quaternion initialisation from array
* preventing buffer overflows in Matrix.write_string method
9 years ago
Thomas Gubler
99ac532746
remove unnecessary ;
9 years ago
jgoppert
5c573b075f
Fixes for nuttx.
9 years ago
jgoppert
9b995e19f3
Added vector2.
9 years ago
jgoppert
1fb0f33eb4
Removed old references to matrix.hpp.
9 years ago
jgoppert
cefe7b3e80
Cleaned up header includes.
9 years ago
jgoppert
00a0b36836
Moved inverse outside of matrix definition.
9 years ago
jgoppert
5566b3dc77
expm testing and fixes.
9 years ago
jgoppert
9d88b0d573
Fix for gcc 4.6
9 years ago
jgoppert
bb6b375390
Travis fix.
9 years ago
jgoppert
5b0ea675c3
Fixed float in square matrix.
9 years ago
jgoppert
0062cbcbe2
Added more warnings, and fixed issues.
9 years ago
jgoppert
52956e360a
Added filtering test.
9 years ago
jgoppert
b2e9e1e3c7
Added kalman filter.
9 years ago
jgoppert
18f80462b7
Got coverage working for templates.
9 years ago