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
b5951d033e
populate sparse matrix with `insert` rather than `setFromTriplets`
...
About 5% speed improvement.
2021-01-19 20:56:18 -05:00
Gerry Chen
9584860da0
eliminate copy/pasta from SparseEigen with generic version of sparseJacobian
2021-01-19 20:27:30 -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
ada83d92dc
minor efficiency modifications
2021-01-19 14:38:10 -05:00
Gerry Chen
77c65f8176
timing sparse eigen
2021-01-19 14:03:14 -05:00
Gerry Chen
b76993b171
typo: `expected` changed to `expectedMatlab`
2021-01-19 11:47:44 -05:00
Gerry Chen
e2f5be4e47
SparseEigen docstring
2021-01-19 11:04:26 -05:00
Gerry Chen
25e3b5609e
roll back some cosmetic changes to minimize the diff
2021-01-19 11:01:25 -05:00
Gerry Chen
d8491b27fb
rename matrix type from `SpMat` to `SparseEigen`
2021-01-19 10:53:22 -05:00
Gerry Chen
d9c03aa827
cleanup
2021-01-18 21:12:16 -05:00
Gerry Chen
ee5701dcda
fix off-by-one bug
2021-01-18 21:12:16 -05:00
Gerry Chen
44c232a128
organize/isolate sparseEigen functionality
2021-01-18 21:12:16 -05:00
Gerry Chen
a477ec6811
merge Mandy + Fan's sparseJacobian unit test additions
2021-01-18 21:12:16 -05:00
Gerry Chen
56e9b3ac9f
Mandy+Fan's original code for converting sparse matrices to Eigen format
2021-01-18 21:10:52 -05:00
Jose Luis Blanco-Claraco
edcd75f060
Merge pull request #674 from borglab/cmake-dont-assume-root-dir
...
CMake scripts compatible with gtsam as git submodule
2021-01-18 00:46:48 +01:00
Jose-Luis Blanco Claraco
35aeaf5246
CMake scripts compatible with gtsam as git submodule
2021-01-17 22:21:53 +01:00
Varun Agrawal
b384b0cee4
Merge pull request #671 from borglab/feature/functorizedfactor2
...
FunctorizedFactor2
2021-01-15 14:46:37 -05:00
Varun Agrawal
252af8f0c5
added FunctorizedFactor2
2021-01-15 12:41:31 -05:00
Varun Agrawal
fc113f2d64
Merge pull request #670 from RamadanAhmed/fix_cmake_export
...
Fix GTSAM_EXPORT
2021-01-15 01:53:07 -05:00
RamadanAhmed
15a8f41990
Merge branch 'develop' of https://github.com/borglab/gtsam into develop
2021-01-14 21:59:50 +02:00
RamadanAhmed
347ea5d805
Fix GTSAM_EXPORT for some classes and function
2021-01-14 21:58:53 +02:00
Frank Dellaert
0353b0e683
Merge pull request #669 from borglab/robust-shonan-wrapper-update
...
add robust shonan updates to python wrapper
2021-01-14 14:19:39 -05:00
Frank Dellaert
7b1f8a0ba8
Merge pull request #668 from dwisth/feature/add-getters-to-line3
...
Add getters to Line3
2021-01-14 14:19:20 -05:00
John Lambert
a6c67fb3bc
add robust shonan updates to python wrapper
2021-01-14 12:09:24 -05:00
David
e439e1110f
Add getters to line3
2021-01-14 11:56:34 +00:00
David W
1b1406bf20
Merge pull request #1 from borglab/develop
...
sync to borglab version
2021-01-14 11:48:05 +00:00
Varun Agrawal
17634bf162
Merge pull request #665 from borglab/update/wrapper
...
Update wrapper
2021-01-13 11:20:39 -05:00
Varun Agrawal
45bbf3d332
Merging 'master' into 'wrap'
2021-01-13 10:54:22 -05:00
Varun Agrawal
9b03b6d111
Squashed 'wrap/' changes from 186ed2c79..85d34351c
...
85d34351c Merge pull request #27 from borglab/fix/python3.5
dfe7639c0 support for python 3.5
git-subtree-dir: wrap
git-subtree-split: 85d34351cdb29172601845f73d3281e786a531b3
2021-01-13 10:54:22 -05:00
Fan Jiang
9ff19de6e9
Merge pull request #664 from borglab/update/wrapper
...
Update wrapper
2021-01-13 09:14:47 -05:00
Varun Agrawal
e9080bf885
Squashed 'wrap/' changes from 09f8bbf71..186ed2c79
...
186ed2c79 Merge pull request #26 from borglab/fix/required
9af1b8f09 unmake python cmake package as required
git-subtree-dir: wrap
git-subtree-split: 186ed2c792f80bbd315e747ef8622f8355c626f6
2021-01-12 20:45:43 -05:00
Varun Agrawal
9e003715af
Merging 'master' into 'wrap'
2021-01-12 20:45:43 -05:00
Varun Agrawal
fb44e56dc8
Merge pull request #547 from borglab/feature/RobustShonan
...
Feature/robust shonan
2021-01-11 21:58:42 -05:00
Varun Agrawal
d89dd7d874
follow correct doxygen format
2021-01-11 13:51:32 -05:00
Mike Sheffler
d50f9755a9
Merge pull request #652 from borglab/feature/windows-install-docs
...
Documentation for compiling on Windows
2021-01-08 04:43:11 -08:00
Varun Agrawal
5a480c878a
Merge pull request #660 from borglab/fix/wrap-install
...
CMake Install Destination
2021-01-07 12:40:19 -05:00
John Lambert
442cc6d869
Merge pull request #659 from borglab/fix/sfmtrack-color
...
Adding default point color to `SfmTrack` to fix equality check
2021-01-07 11:45:38 -05:00
Varun Agrawal
6309917fdf
add docs for cmake update
2021-01-07 11:17:54 -05:00
Varun Agrawal
bd9d501269
use older form of CMake install
2021-01-06 17:58:46 -05:00
John Lambert
7daf01be3d
make getter const
2021-01-06 15:50:08 -05:00
John Lambert
758ece7238
add getter for rgb
2021-01-06 15:48:49 -05:00
John Lambert
ecb2226345
make r,g,b part of constructor w/ default values
2021-01-06 12:55:20 -05:00
Ayush Baid
d403006dfe
Merge branch 'develop' into fix/sfmtrack-color
2021-01-06 12:10:26 +05:30
Ayush Baid
7ae050cc87
adding default color values to fix equality check
2021-01-06 12:08:22 +05:30
Varun Agrawal
745e2207a0
Merge pull request #657 from borglab/fix/compiler-warnings
...
Fix warnings
2021-01-05 17:00:01 -05:00
Varun Agrawal
0f03ee1f76
remove exception print, add TODO
2021-01-05 14:43:43 -05:00
Varun Agrawal
5b52e4c29f
cleanly initialize matrices in test
2021-01-05 14:13:15 -05:00