Lines Matching refs:parameter_block
31 #include "ceres/parameter_block.h"
41 ParameterBlock parameter_block(x, 3, -1);
50 parameter_block.SetParameterization(&subset_wrong_size), "global");
54 (parameter_block.SetParameterization(NULL), "NULL");
58 parameter_block.SetParameterization(&subset);
61 parameter_block.SetParameterization(&subset);
64 EXPECT_DEATH_IF_SUPPORTED(parameter_block.SetParameterization(NULL), "NULL");
69 (parameter_block.SetParameterization(&subset_different), "re-set");
73 parameter_block.LocalParameterizationJacobian(),
86 parameter_block.Plus(x, delta, x_plus_delta);
114 ParameterBlock parameter_block(x, 1, -1, &test_parameterization);
116 EXPECT_EQ(2.0, *parameter_block.LocalParameterizationJacobian());
119 parameter_block.SetState(x);
120 EXPECT_EQ(11.0, *parameter_block.LocalParameterizationJacobian());
125 ParameterBlock parameter_block(x, 2, -1);
129 parameter_block.Plus(x, delta, x_plus_delta);
167 ParameterBlock parameter_block(&x, 1, -1, &bad_parameterization);
169 EXPECT_FALSE(parameter_block.SetState(&y));