disambiguate double template >>
parent
fa6bdd4042
commit
8063b9ae95
|
@ -182,7 +182,7 @@ namespace gtsam {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
using BoostTriplets = std::vector<boost::tuple<size_t, size_t, double>>;
|
using BoostTriplets = std::vector<boost::tuple<size_t, size_t, double> >;
|
||||||
BoostTriplets GaussianFactorGraph::sparseJacobian() const {
|
BoostTriplets GaussianFactorGraph::sparseJacobian() const {
|
||||||
BoostTriplets entries;
|
BoostTriplets entries;
|
||||||
entries.reserve(60 * size());
|
entries.reserve(60 * size());
|
||||||
|
@ -210,7 +210,7 @@ namespace gtsam {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
using GtsamTriplets = std::vector<std::tuple<int, int, double>>;
|
using GtsamTriplets = std::vector<std::tuple<int, int, double> >;
|
||||||
GtsamTriplets GaussianFactorGraph::sparseJacobianFast(
|
GtsamTriplets GaussianFactorGraph::sparseJacobianFast(
|
||||||
const Ordering& ordering, size_t& nrows, size_t& ncols) const {
|
const Ordering& ordering, size_t& nrows, size_t& ncols) const {
|
||||||
GtsamTriplets entries;
|
GtsamTriplets entries;
|
||||||
|
|
|
@ -187,7 +187,7 @@ namespace gtsam {
|
||||||
* The standard deviations are baked into A and b
|
* The standard deviations are baked into A and b
|
||||||
* @return the sparse matrix as a std::vector of boost tuples
|
* @return the sparse matrix as a std::vector of boost tuples
|
||||||
*/
|
*/
|
||||||
std::vector<boost::tuple<size_t, size_t, double>> sparseJacobian() const;
|
std::vector<boost::tuple<size_t, size_t, double> > sparseJacobian() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Matrix version of sparseJacobian: generates a 3*m matrix with [i,j,s]
|
* Matrix version of sparseJacobian: generates a 3*m matrix with [i,j,s]
|
||||||
|
@ -203,7 +203,7 @@ namespace gtsam {
|
||||||
* @param[out] nrows The number of rows in the Jacobian
|
* @param[out] nrows The number of rows in the Jacobian
|
||||||
* @param[out] ncols The number of columns in the Jacobian
|
* @param[out] ncols The number of columns in the Jacobian
|
||||||
*/
|
*/
|
||||||
std::vector<std::tuple<int, int, double>> sparseJacobianFast(
|
std::vector<std::tuple<int, int, double> > sparseJacobianFast(
|
||||||
const Ordering& ordering, size_t& nrows, size_t& ncols) const;
|
const Ordering& ordering, size_t& nrows, size_t& ncols) const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue