Commit Graph

113 Commits (a5b6968cbf7f690a30c07b918ff3d2cfaff7d1c9)

Author SHA1 Message Date
kartik arcot a5b6968cbf serialization function comment moved 2023-01-22 22:14:28 -08:00
kartik arcot 4b235103cf ifdefs for gtsam folder on serialize 2023-01-22 22:12:16 -08:00
kartik arcot 852e8768c0 shared_ptr, make_shared, allocate_shared 2023-01-22 08:40:02 -08:00
Kartik Arcot e4e43d5d16 fix defaultorderingfunc 2023-01-21 12:32:25 -08:00
kartik arcot b8fb9fabb4 Merge branch 'feature/remove_deprecated_code' into verdant/replace-boost-optional-vals 2023-01-21 10:08:31 -08:00
kartik arcot 9329bddd8a OptionalJacobian 2023-01-21 09:27:20 -08:00
kartik arcot 5880471136 eliminateable fg 2023-01-21 09:27:20 -08:00
Frank Dellaert 4675fd67d0 removed deprecated code 2023-01-20 22:50:05 -08:00
Frank Dellaert ecb0be494e Implemented all Gaussian versions of logProbability 2023-01-10 13:50:37 -08:00
Frank Dellaert 98f3c9676f Replace blanket inclusion of constructors (giving trouble on Windows) with initializer-list constructor. 2023-01-09 22:42:51 -08:00
Frank Dellaert 9675761f71 Merge branch 'develop' into feature/Ordering_initializers 2023-01-08 09:23:42 -08:00
Frank Dellaert f9ccf111d1 Rid gtsam/linear of boost::assign (a Herculean task made easier with Copilot) 2023-01-07 18:48:52 -08:00
Varun Agrawal d82fcc0aa9 DefaultOrderingFunc in EliminationTraits 2023-01-06 10:13:44 -05:00
Frank Dellaert 600f05ae2c exact equality 2022-01-22 11:08:46 -05:00
Varun Agrawal 3c804d89b5 add better tests for probPrime and add a fix 2022-01-12 16:50:10 -05:00
Frank Dellaert 6d0c55901c Global replace to V42 2022-01-02 15:49:47 -05:00
Varun Agrawal cf0c8d2fee fix VectorValues include 2021-11-11 15:45:27 -05:00
Varun Agrawal b82acc133b properly deprecate additional methods to fully finish deprecation 2021-11-11 14:24:15 -05:00
Varun Agrawal 2307fc7fa2 add printErrors method to GaussianFactorGraph 2021-11-04 17:50:12 -04:00
Gerry Chen 2590b3b980 replace sparseJacobian with "fast" version 2021-01-27 15:25:01 -05:00
Gerry Chen 8063b9ae95 disambiguate double template >> 2021-01-27 10:58:26 -05:00
Gerry Chen fa6bdd4042 fix comment and remove whitespace diff 2021-01-27 10:54:22 -05:00
Gerry Chen a17bd5c6d5 remove InPlace jacobian from .h file 2021-01-27 10:44:31 -05:00
Gerry Chen dcf8a52b8b remove unnecessary function overloads and typedefs 2021-01-27 10:27:32 -05:00
Gerry Chen b638954266 formatting 2021-01-20 17:08:18 -05:00
Gerry Chen fd2d8a236a remove templating while maintaining efficiency
Templating still used in cpp file for generic-ness, but not exposed
anymore

std::tuple has the same performance as Eigen::Triplet, but boost::tuple
is slower.  Sparse matrix indices are int instead of size_t for
efficiency (e.g. A(i, j) = s  ->  i/j are int's instead of size_t's)
2021-01-20 17:01:15 -05:00
Gerry Chen 286898a847 move SparseMatrixBoostTriplets typedef to gfg 2021-01-20 12:25:20 -05:00
Gerry Chen e3dd22925a more generic sparseJacobianInPlace function 2021-01-19 20:25:57 -05:00
Gerry Chen 7a6f632f4c add generic optional parameters to sparseJacobian
Also, the unit test changed due to a 0 entry that was previously wrongly
included in the b-column of the sparse representation.
2021-01-19 16:59:12 -05:00
Gerry Chen 8e62a1405e deprecated functions for backwards compatibility
also removed some edits that were tangential to the PR.
2019-10-28 17:41:16 -04:00
Gerry Chen 1733f3ac98 convert all optional Ordering to function overloads
compiles and passes tests, but some potentially code-breaking changes in:
Marginals.h - order of arguments had to change since `factorization` has a default value
EliminatableFactorGraph.h - marginalMultifrontalBayesNet and marginalMultifrontalBayesTree no longer accept `boost::none` as a placeholder to specify later arguments
Notes:
EliminateableFactorGraph.h - `orderingType` is no longer needed in function overloads that specify ordering, but I left it for the time being to avoid potential code breaking
2019-10-20 01:15:20 -04:00
Gerry Chen 5a358489dc Some low hanging fruit changing `func(..., boost::optional<const Class &>)` to overloaded
`func(...)` and
`func(..., const Class &)`
not all done
Also, although it currently passes all tests, I think some more tests may be needed...
2019-10-13 23:59:50 -04:00
Abe fbe9aac41c squash local changes on top of gtsam upstream pull from 6/14/2016 2016-06-18 23:13:59 -07:00
yao a0661b3813 Almost done. Still need to figure out how to remove the remaining 3 occurrences. 2016-05-21 12:44:46 -04:00
Frank 0372a959ee Many small improvements, bug-fixes, and tests 2016-02-24 11:01:19 -08:00
dellaert 128bac616c Globally replaced FastSet<Key> with KeySet. 2015-06-20 18:38:25 -07:00
Thomas Schneider ebf5746987 Fix some serialization warnings. 2015-03-06 16:12:09 +01:00
Sungtae An e13243b140 Merge branch 'develop' into feature/RegularFactors
Conflicts:
	gtsam/linear/GaussianFactorGraph.cpp
	gtsam/linear/JacobianFactor.cpp
	gtsam/linear/JacobianFactor.h
	tests/testPreconditioner.cpp
2015-01-01 17:50:27 -05:00
dellaert e5017984a1 traits_x -> traits 2014-12-26 16:47:51 +01:00
dellaert 79d8514528 MASSIVE edit: made Testable its own concept, and moderinized Testable.h to use Testable traits. This required adding Testable traits in many classes. 2014-12-21 22:02:57 +01:00
Sungtae An 0a1e844ae5 Clean up 2014-12-08 00:44:36 -05:00
Sungtae An a143815e79 Comment out raw memory access parts 2014-11-12 04:18:49 -05:00
Yong-Dian Jian e8d3809917 add new generic pcgsolver and preconditioner classes
add a unit test for the PCGSolver class
2014-06-08 00:34:23 -04:00
Zsolt Kira a95126599f Fix LM behavior when GaussianFactorGraph is subclassed. Use clone method instead of assignment to local GaussianFactorGraph when creating damped system. 2014-04-24 09:47:48 -04:00
Luca 37b750411f added gradientAtZero with raw memory access 2014-04-22 18:38:12 -04:00
cbeall3 178b7f29da clang warnings 2014-03-17 21:56:50 -04:00
Luca e42e36e004 hessianDiagonal is now virtual 2014-03-13 22:44:21 -04: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 bb9ada6c7a declared hessianBlockDiagonal 2014-02-14 13:39:36 -05:00
dellaert 76959d4d18 Added hessianDiagonal; works for Gaussian factor graphs with JacobianFactors 2014-02-14 01:14:32 -05:00