Commit Graph

79 Commits (5407232e367a2d25a9cdcbcd1fa2308e6ce418d4)

Author SHA1 Message Date
Luca 37b750411f added gradientAtZero with raw memory access 2014-04-22 18:38:12 -04:00
Luca d2b6b12bba added raw memory access of hessianDiagonal 2014-03-17 19:28:49 -04:00
hchiu de27502738 Move Eigen magic inside function itself as Frank suggested. 2014-03-04 10:25:54 -05:00
hchiu b464b808ef First cut on raw MultiplyHessianAdd for HessianFactor and JacobianFactor. Unit test is passed in testGaussianFactorGraphUnordered (multiplyHessianAdd3). Note the interface currently needs the accumulated diminsions of key variables. See GaussianFactorGraph::multiplyHessianAdd(double alpha,const double* x, double* y). 2014-03-04 01:58:34 -05:00
dellaert b837cb1b03 Declared hessianBlockDiagonal 2014-02-14 13:18:46 -05:00
dellaert 76959d4d18 Added hessianDiagonal; works for Gaussian factor graphs with JacobianFactors 2014-02-14 01:14:32 -05:00
dellaert d70f6b7be4 Formatting and comments only 2014-02-13 20:23:06 -05:00
Richard Roberts 5f87cbea7f New SymmetricBlockMatrix interface - should be safer as all exposed functions use symmetric matrix expressions and the internal uninitialized values below the diagonal are never exposed. 2013-11-26 23:49:53 +00:00
Richard Roberts ec78d54f37 Removed old Index typedef and IndexFormatter 2013-11-08 16:35:28 +00:00
Frank Dellaert daf5938577 const correctness 2013-10-29 04:58:51 +00:00
Frank Dellaert 4591835223 gradientAtZero is now implemented in the fcators (Richard says, need to work on efficiency) 2013-10-29 03:42:33 +00:00
Pablo Fernandez Alcantarilla 6a383799d7 Skeleton code for GaussianFactorGraph::multiplyHessian 2013-10-24 15:52:32 +00:00
Frank Dellaert 5446fe1711 Added prototype for Pablo & Luca 2013-10-14 18:53:13 +00:00
Richard Roberts 68c6bf4a38 Added CMake code and preprocessor macros so that everything works without TBB and falls back on single-threading 2013-08-16 20:26:07 +00:00
Richard Roberts e2733d9899 Fixed serialization problems with tbb data structures 2013-08-16 04:10:29 +00:00
Richard Roberts bd89c5fd45 Using FastVector (with tbb allocator) instead of vector 2013-08-15 17:21:20 +00:00
Richard Roberts 174c2da7d9 Switched a couple of data structures - ISAM2::Nodes and Scatter, to tbb versions for better performance 2013-08-14 22:54:00 +00:00
Richard Roberts 9a10242e96 Fixed warnings 2013-08-09 21:35:42 +00:00
Alex Cunningham b2b7b0b3f3 Fixing more compile problems: Switched BayesTree-inst.h function to use a functor struct rather than an address of a template function - seems to compile. Small include fixes elsewhere 2013-08-06 20:21:43 +00:00
Richard Roberts b3428881bd Fixed key formatting 2013-08-06 18:04:35 +00:00
Richard Roberts 5692fb5e98 Fixed HessianFactor combining into dense factor with ordering 2013-08-06 13:44:50 +00:00
Richard Roberts 0e80fe6418 Moved ordering tests, fixed serialization and constructors, to make all inference, symbolic, and linear tests pass 2013-08-05 22:31:09 +00:00
Richard Roberts 682eddf3ef Finished HessianFactor and Choesky in unordered 2013-08-02 22:09:32 +00:00
Richard Roberts 0d05bf5ac5 Started on HessianFactor, converted Nonlinear stuff and disabled a lot of more advanced classes so the library compiles with nonlinear using unordered. 2013-08-01 21:57:43 +00:00
Richard Roberts 3ade190128 Renamed old classes to "Ordered" and removed "Unordered" name from new classes 2013-07-29 23:55:40 +00:00
Richard Roberts 89c4242b3f Updated friend declarations to match swap in unit test group/name 2013-06-20 16:05:29 +00:00
Richard Roberts 777a2eb037 Added default Scatter constructor (for building manually) 2013-03-21 18:58:01 +00:00
Richard Roberts ee2f2e26be Moved findScatterAndDims to Scatter class constructor, moved code to combine multiple Hessians into Hessian constructor, and removed need to separately provide a vector of dimensions to this constructor - instead pulls dimensions out of Scatter. 2013-03-18 19:27:58 +00:00
Richard Roberts a54d177202 Added dll export tags and updated cmake scripts so that GTSAM can build as a shared library on windows 2013-03-13 18:56:21 +00:00
Richard Roberts eb21cf0911 Cleaned up information/augmentedInformation for GaussianFactor and GaussianConditional 2012-10-08 22:40:37 +00:00
Chris Beall 4297d24c96 changed tabs to spaces for consistent indentation in all of GTSAM 2012-10-02 14:40:07 +00:00
Richard Roberts ce3c774bfa Added non-const HessianFactor matrix block accessors and inlined all matrix block accessors for speed 2012-09-06 14:33:42 +00:00
Richard Roberts 8e4f605122 Made HessianFactor::updateATA public to allow low-rank updates 2012-09-04 15:05:47 +00:00
Alex Cunningham b2e15eea4e Added negate() to GaussianFactor, which computes the Anti-factor eqiuvalent, using implementation from the nonlinear Anti-factor 2012-06-28 19:43:00 +00:00
Richard Roberts 947e5fe5ee Made typedefs / constants for IndexFormatter to simplify code 2012-06-28 01:52:48 +00:00
Alex Cunningham c7734db4fa Added formatting objects to linear and inference objects to allow for printing meaningful keys 2012-06-25 21:19:38 +00:00
Duy-Nguyen Ta 6f1ea87a00 clean up noise model: Remove Shared[NoiseModel] classes and headers, typedef for backward compatibility in NoiseModel.h. Fix all tests and examples to create shared noise models through static functions in noise model classes. Fix MATLAB wrapper and examples as well. Add tests for MATLAB examples 2012-06-22 19:36:49 +00:00
Richard Roberts d57fc32e74 To simplify FactorGraph, removed convertCastFactors and dynamicCastFactors from FactorGraph - replaced their calls with in-place code to do the needed conversions 2012-06-18 14:55:30 +00:00
Summit Patel b9927a1b7e Fixed Doxygen warnings. 2012-06-07 23:08:43 +00:00
Richard Roberts 1ca9e7049e Merge remote-tracking branch 'svn/trunk' into windows
Conflicts:
	gtsam/linear/HessianFactor.h
	gtsam/nonlinear/Marginals.cpp
2012-05-28 12:22:36 +00:00
Richard Roberts 2a98ba5857 Whitespace 2012-05-28 12:20:49 +00:00
Richard Roberts b73af866d6 Added computeInformation function to GaussianFactor to properly compute information matrix including noise models, and using it to fix bug in Marginals where noise model was not being accounted for (only affects when hard constraints are used) 2012-05-24 20:43:19 +00:00
Richard Roberts 6e2312294c Added computeInformation function to GaussianFactor to properly compute information matrix including noise models, and using it to fix bug in Marginals where noise model was not being accounted for (only affects when hard constraints are used) 2012-05-23 20:56:22 +00:00
Richard Roberts 1ce95c1d89 Removed LDL in favor of Cholesky 2012-05-15 15:49:14 +00:00
Richard Roberts 91e7dc5882 Caching linearized factors in iSAM2, improves speed when linearization is expensive
Merge remote-tracking branch 'svn/branches/iSAM2_cache_linearized' into trunk

Conflicts:
	.cproject
2012-04-11 14:17:59 +00:00
Richard Roberts 6a957d059b Fixed warnings about mixing class and struct 2012-03-17 23:57:39 +00:00
Richard Roberts 5e830a01ef Comment fix 2012-03-03 20:22:58 +00:00
Stephen Williams 918019c605 Added an n-way constructor to the HessianFactor 2012-01-28 06:20:02 +00:00
Richard Roberts 4137cfe9d7 Added missing copy constructor for GaussianConditional, and assignment operators for GaussianConditional, JacobianFactor, and HessianFactor that properly copy the block matrices (require calling a special function because they contain references) 2012-01-22 05:16:12 +00:00
Richard Roberts b031996bbc Fixed denseHessian bug - was only returning upper triangle, now returns full matrix 2012-01-18 15:42:00 +00:00