Commit Graph

79 Commits (c4ebc71c5891c228bbb7ace96bd63b058b3a9e9c)

Author SHA1 Message Date
Frank Dellaert c4ebc71c58 Add missing header 2022-02-16 23:23:50 -05:00
Frank Dellaert a97eae628c Move Matrix serialization to separate file and remove spurious headers 2022-02-16 15:07:29 -05:00
Varun Agrawal 56eb1bb808 use of passed in stream for print capture 2021-01-19 15:23:14 -05:00
Varun Agrawal d7522ab970 moved matlab-style matrix format definition back to cpp, updated all formatters 2020-06-19 16:03:40 -05:00
Varun Agrawal e8986ba382 move Eigen format definition to Matrix.h 2020-06-16 18:18:27 -05:00
Varun Agrawal b48456b871 better matrix printing without space wastage, fixed notation in comment 2020-05-06 21:47:44 -04:00
Varun Agrawal 0a9cc8ae62 Separate matrix row values with commas
Separating row values with commas is supported by MATLAB so no effect there,
but this also helps when printing with Python and C++ since the output can be
directly copied without modification.
2020-02-21 13:56:34 -05:00
Duy-Nguyen Ta 1cdc228d6a remove trailing spaces 2019-02-11 10:58:34 -05:00
= ab1f6562c8 Fixes compile errors when using BOOST version 1.61.0 2016-08-06 00:59:07 -04:00
dellaert 72fe66d468 Removed headers 2016-05-22 14:22:36 -07:00
Yao Chen ce2cd71112 Replaced BOOSE_FOREACH with for in gtsam folder. 2016-05-20 23:41:22 -04:00
Alex Hagiopol 2fe0c26f4e Deprecated delta() and basis(). All unit tests pass. 2016-04-15 20:01:22 -04:00
alexhagiopol 1feed7c20e Work in progress: deprecating inline functions. 2016-04-11 11:34:57 -04:00
Alex Hagiopol b3dfb6d978 Deprecated reciprocal() in Vector.h 2016-03-11 13:31:57 -05:00
Alex Hagiopol caa45ad67b Replaced cwiseProduct() with array().square(). Killed deprecated comments. 2016-03-05 21:08:24 -05:00
Alex Hagiopol 22c3af906e Deprecated emul() in Vector.h. 2016-03-05 18:49:34 -05:00
Chris Beall c11592e08f Merged in kartikmohta/gtsam/kartikmohta/use-system-eigen-if-version-325-since-t-1455053953897 (pull request #221)
Use system Eigen if version >= 3.2.5 since that includes our patches
2016-02-13 17:06:03 -05:00
Kartik Mohta 659ffeda02 Replace GTSAM_USE_SYSTEM_EIGEN check for householder_qr_inplace_blocked
The check was based on whether we are using the included version of
Eigen or the system version, but since Eigen v3.2.5, our patches are
included in the upstream Eigen, so check for Eigen version instead.
2016-02-09 22:12:01 -05:00
Chris Beall cc0b7cfdc1 convert tabs to spaces. See https://bitbucket.org/gtborg/gtsam/wiki/C++%20Coding%20Conventions 2016-02-09 20:00:38 -05:00
Frank Dellaert 3c1ddd7a3f Inlined skewSymmetric 2016-01-17 19:22:14 -08:00
lvzhaoyang 0b2d4f1182 feature: change rowPrefix to an indent. Now all columns are aligned 2015-10-22 15:04:53 -04:00
Chris Beall 1d44761e3c Merged develop into feature/MatrixPrinting 2015-10-16 10:41:25 -04:00
cbeall3 f61e398e2d Deal with patched/un-patched version of householder_qr_inplace_blocked 2015-03-10 13:00:28 -04:00
Abe 531ecb4000 Get rid of hardcoded path to the internal version of eigen inside gtsam 2015-03-09 17:38:15 -07:00
alexhagiopol d8468567b2 MOre bloat reduction and header ordering. 2015-03-02 20:19:59 -05:00
alexhagiopol 3f4558cacb SVD removed from Matrix.h 2015-02-23 18:45:25 -05:00
dellaert 445b5834dc Use Eigen::format, now compatible with matlab, and stream precision affects printing. 2015-02-17 00:39:03 +01:00
dellaert 8191ad5078 Rot3 modernization: now derives from LieGroup, SLOW_CAYLEY is gone, retract and localCoordinates auto-generated so no more flag. Might re-add instance-based expmap and logmap in LieGroup for convenienece. 2014-12-24 17:43:38 +01:00
Mike Bosse b7204b100d PoseRTV 2014-12-20 20:22:34 +01:00
HannesSommer 6cfc4c45d2 * implemented traits::identity for Eigen matrices
* simplified the traits::dimension for Eigen matrices
* added some tests for traits::identity and traits::zero
* got rid of a compiler warning (signed vs. unsigned) in Matrix.cpp
2014-11-08 13:51:24 +01:00
dellaert a8ab910c32 Merged twio changes in: the is_constrained() flag that does away with the dynamic cast, and the changes duy made in commit a61b49d to remove the constrained noise model hack. At the same time, both linearize methods (in expressionFactor and NonlinearFactor) now make use of is_constrained(). 2014-11-02 13:45:54 +01:00
dellaert 8dba25f532 Rationalized some cholesky-related code as I was looking at it. 2014-05-28 10:36:26 -04:00
Chris Beall 46859474cb Fix warning 2014-05-03 12:55:51 -04:00
cbeall3 267b86ec14 Remove svd inverse_square_root 2014-05-03 11:54:01 -04:00
jing ad0662a860 now all Matrix_() removed 2014-01-23 03:16:38 -05:00
jing b36574f77a remove all Vector_() definition and declaration 2014-01-23 02:51:05 -05:00
Alex Cunningham 96a4d80da4 Fixed some warnings 2014-01-04 20:35:19 -05:00
Richard Roberts 2e3520e0dd Fixed some warnings 2013-10-12 21:06:19 +00:00
Duy-Nguyen Ta 63ff1b47c1 support augmented matrices in Matrix's vector_scale_in_place, Constrained's Whiten, WhitenInPlace, and unit(...). These are used in constraints SQP solver with Lagrange multipliers. 2013-10-02 03:52:08 +00:00
Richard Roberts 4585fd1caa Merge branch 'svn/trunk'
Conflicts:
	gtsam/navigation/tests/testInertialNavFactor_GlobalVelocity.cpp
	gtsam/nonlinear/ISAM2.cpp
	gtsam/nonlinear/ISAM2.h
	gtsam/slam/tests/testBetweenFactor.cpp
	gtsam_unstable/nonlinear/ConcurrentBatchFilter.cpp
	gtsam_unstable/nonlinear/tests/testConcurrentBatchFilter.cpp
	gtsam_unstable/nonlinear/tests/testConcurrentBatchSmoother.cpp
	gtsam_unstable/slam/SmartProjectionFactor.h
2013-08-11 18:16:56 +00:00
Alex Cunningham 0cb6e97803 Added stack function that takes a vector of matrix blocks 2013-08-09 16:24:45 +00:00
Richard Roberts e2f8dd866d Merge branch 'svn/trunk'
Conflicts:
	gtsam/linear/GaussianBayesTree.cpp
	gtsam/linear/GaussianBayesTree.h
	gtsam/linear/VectorValues.h
	gtsam/linear/tests/testVectorValues.cpp
	gtsam_unstable/nonlinear/sequentialSummarization.cpp
2013-08-06 18:33:24 +00:00
Alex Cunningham db287b0d73 Fixing compile problems 2013-08-06 17:50:47 +00:00
Duy-Nguyen Ta 81b9fc33b7 in diag with matrices: initialize the result with zeros first. 2013-08-06 15:35:37 +00:00
Duy-Nguyen Ta bcae0afd31 Putting sub matrices along the diagonal of a big matrix. dexpL for Rot3 and Point3 2013-08-06 14:24:10 +00:00
Richard Roberts b7f2ba2845 Added formatMatrixIndented function for pretty-printing matrices with labels 2013-07-12 22:27:34 +00:00
Richard Roberts eeef9eab32 Generating config.h file in CMake with quaternion mode flag, dataset paths. Also added CMake option to use system-installed Eigen, which works by generating a global eigen include file containing the corresponding include paths. 2013-04-25 15:57:15 +00:00
Alex Cunningham 88d3def0db Added assert_inequal for matrices 2013-04-18 18:12:37 +00:00
Richard Roberts 547323cc79 Fixed a bunch of compiler warnings 2013-04-05 21:34:04 +00:00
Richard Roberts 89b50e7679 Renamed tic -> gttic and toc -> gttoc to avoid conflict with PCL tic/toc 2012-10-02 20:18:41 +00:00