Frank Dellaert
04f7bbf253
use vector_scale_inplace
2010-02-24 06:15:06 +00:00
Frank Dellaert
696be0d0c1
RETURN CONST REFERENCES WHERE YOU CAN and some inlining
2010-02-24 06:14:43 +00:00
Frank Dellaert
dd9446993a
5-fold performance improvement in combined between function
2010-02-24 06:14:02 +00:00
Frank Dellaert
51281ea78f
in-place colamd
2010-02-24 06:13:11 +00:00
Frank Dellaert
71089a6354
vector_scale_inplace
2010-02-24 06:12:56 +00:00
Frank Dellaert
c1f50a0637
fixed noise model, removed istringstream and getline in favor of ignore
2010-02-24 06:11:52 +00:00
Kai Ni
547427514f
add save functions for Matrix and Vector to save them to disk
2010-02-24 00:12:10 +00:00
Alex Cunningham
ac41ee7215
Added a test in GaussianFactor to demo a problem found in MAST where eliminating a single factor with two priors causes a memory corruption error. To run the test and see the error, go to the last test in testGaussianFactor called "exploding_MAST_factor" and uncomment the indicated line.
2010-02-23 18:41:07 +00:00
Alex Cunningham
a2310b4eab
Fixed small error in NonlinearConstraint and added note explaining why nonlinear constraints do not use a constrained noisemodel in the nonlinear sense.
2010-02-23 18:37:17 +00:00
Richard Roberts
1df4385d84
Added 'verbose' flag, making unit tests silent
2010-02-23 17:04:49 +00:00
Frank Dellaert
47a01b1d90
Tried making tests less verbose
2010-02-23 15:13:49 +00:00
Frank Dellaert
86e482bb08
ignore generated test files
2010-02-23 15:00:57 +00:00
Frank Dellaert
3a8e7de5e3
fixed testWrap unit test
2010-02-23 14:59:30 +00:00
Frank Dellaert
03efd69079
fixed files_equal for new unit testWrap setup
2010-02-23 14:54:28 +00:00
Frank Dellaert
2bba5824fa
use sparse
2010-02-23 14:53:30 +00:00
Manohar Paluri
032c8887d6
added point-point-point check
2010-02-23 13:14:07 +00:00
Kai Ni
5594d162a2
allocate noise model once
2010-02-23 05:28:39 +00:00
Kai Ni
3ae81002be
fixed the unit tests
2010-02-23 05:23:15 +00:00
Manohar Paluri
8900a37d93
removed unncessary prints
2010-02-23 05:08:42 +00:00
Frank Dellaert
a178023a27
Fixed christian01 example, polluting gtsam with extra header files for MATLAB. Need to look for a better solution.
2010-02-23 05:06:16 +00:00
Frank Dellaert
ab218f11d2
fixed unwrap functions to simply cast from scalars (whatever type, through mxGetScalar)
2010-02-23 04:33:07 +00:00
Manohar Paluri
443d304a7c
Added another TrifocalTensor estimation test
2010-02-22 21:45:15 +00:00
Alex Cunningham
fbbdd0be3e
Fixed error calculation with NonlinearConstraints - now use Unit noisemodels in NonlinearConstraint to prevent having the error forced to infinity
2010-02-22 21:11:22 +00:00
Kai Ni
ee9205f0fa
uncommented unit tests
2010-02-22 16:43:40 +00:00
Frank Dellaert
f3a24c5c88
Re-organized MATLAB code
2010-02-22 14:35:57 +00:00
Kai Ni
65cbff6af6
added unit tests
2010-02-22 06:42:58 +00:00
Frank Dellaert
706d63e199
obsolete test
2010-02-22 00:07:26 +00:00
Frank Dellaert
6ea8a22958
Fixed two unit tests in MATLAB, needed some small changes in C++ as well
2010-02-21 23:50:28 +00:00
Frank Dellaert
694f6e4219
linearize now always returns a shared pointer
2010-02-21 21:17:47 +00:00
Frank Dellaert
517c82f62f
Small details, like using a reference in FOREACH
2010-02-21 17:06:11 +00:00
Frank Dellaert
fe4471930f
avoid keys() call to known set of keys
2010-02-21 15:24:05 +00:00
Frank Dellaert
190ec53a63
use ifdef
2010-02-21 15:23:27 +00:00
Manohar Paluri
7f1c3f9952
fixed a bug
2010-02-21 04:51:42 +00:00
Frank Dellaert
274265a401
Errors:axpy and testErrors
2010-02-21 00:01:43 +00:00
Frank Dellaert
5b6af9e4bd
1.0 versions of BLAS level 2
2010-02-20 23:44:07 +00:00
Frank Dellaert
ac316f2d56
formatting only
2010-02-20 23:43:41 +00:00
Richard Roberts
75b35949c9
Fixed several unit test main() functions that were returning 0 instead of the result of runAllTests. This caused unit tests to print failures but not count as failures in the pass/fail counts. In CMake projects, since test output is logged to a file instead of printed, this caused no indication of failures when they occured! All tests still pass with no other modifications after fixing this.
2010-02-20 22:22:45 +00:00
Kai Ni
1949a992cd
define two additional types
2010-02-20 00:28:10 +00:00
Kai Ni
689b9fefc0
throw exceptions instead of crashing
2010-02-19 22:44:45 +00:00
Kai Ni
d0ce5d36da
created addPrior
2010-02-19 02:48:47 +00:00
Manohar Paluri
e60d903210
removed extra quotes
2010-02-18 23:31:23 +00:00
Manohar Paluri
2bf4c0ce5b
Fixed two bugs, both related to array overflow
2010-02-18 22:52:49 +00:00
Richard Roberts
c26219e3d4
Added Pose2::matrix() function.
2010-02-18 16:27:01 +00:00
Manohar Paluri
9620ce66ff
added testBTree binary to ignore
2010-02-18 15:56:54 +00:00
Frank Dellaert
cd5c281c76
Added get and set
2010-02-18 14:30:16 +00:00
Frank Dellaert
ede0a8c874
Added unit test
2010-02-18 14:29:40 +00:00
Alex Cunningham
c044b749cc
Removed old make targets
2010-02-17 14:21:09 +00:00
Frank Dellaert
3247751b5d
Major check-in: there are now two interchangeable implementations of VectorConfig.
...
VectorMap uses a straightforward stl::map of Vectors. It has O(log n)
insert and access, and is fairly fast at both. However, it has high overhead
for arithmetic operations such as +, scale, axpy etc...
VectorBTree uses a functional BTree as a way to access SubVectors
in an ordinary Vector. Inserting is O(n) and much slower, but accessing,
is O(log n) and might be a bit slower than VectorMap. Arithmetic operations
are blindingly fast, however. The cost is it is not as KISS as VectorMap.
Access to vectors is now exclusively via operator[]
Vector access in VectorMap is via a Vector reference
Vector access in VectorBtree is via the SubVector type (see Vector.h)
Feb 16 2010: FD: I made VectorMap the default, because I decided to try
and speed up conjugate gradients by using Sparse FactorGraphs all the way.
2010-02-17 03:29:12 +00:00
Kai Ni
cb5d4c3127
instantiate SymbolicConfig
2010-02-16 23:20:39 +00:00
Alex Cunningham
d895cb90dc
Added a static dim function to Point3 for generic detection of dimension
2010-02-16 20:21:03 +00:00