21 #include <boost/assign/list_of.hpp> 24 using namespace gtsam;
25 using boost::assign::list_of;
27 list<size_t>
L = list_of(3)(2)(1);
41 (
Matrix(6, 6) << 1, 2, 3, 4, 5, 6,
44 4, 10, 16, 22, 23, 24,
45 5, 11, 17, 23, 29, 30,
46 6, 12, 18, 24, 30, 36).finished());
TEST(VerticalBlockMatrix, Constructor1)
static int runAllTests(TestResult &result)
A matrix with column blocks of pre-defined sizes. Used in JacobianFactor and GaussianConditional.
vector< size_t > dimensions(L.begin(), L.end())
DenseIndex nBlocks() const
Block count.
#define EXPECT_LONGS_EQUAL(expected, actual)
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > Matrix
DenseIndex cols() const
Column size.
DenseIndex rows() const
Row size.