diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2014-09-20 07:43:35 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2014-09-20 07:43:35 -0400 |
commit | 103109b3697bbea9fddfa3f0e221f3f583ad2f8a (patch) | |
tree | 4ac5e270c84328343084b439e8cd16c229eb64fd /matrix.h | |
parent | 2b0a007ab49e5e3a9f535bc5a591a73ec16959d2 (diff) | |
download | gpsd-103109b3697bbea9fddfa3f0e221f3f583ad2f8a.tar.gz |
Begin factoring out matrix algebra so it can be unit-tested.
For some odd reason trying to faxtor out the symmetrize operation
induces a core dump. To be investigated.
Diffstat (limited to 'matrix.h')
-rw-r--r-- | matrix.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/matrix.h b/matrix.h new file mode 100644 index 00000000..9050e6b6 --- /dev/null +++ b/matrix.h @@ -0,0 +1,11 @@ +/* + * matrix.h - matrix-algebra prototypes + * + * This file is Copyright (c)2010 by the GPSD project + * BSD terms apply: see the file COPYING in the distribution root for details. + */ + +extern bool matrix_invert(double mat[4][4], /*@out@*/ double inverse[4][4]); +extern void matrix_symmetrize(double mat[4][4], /*@out@*/ double inverse[4][4]); + +/* end */ |