Home
last modified time | relevance | path

Searched refs:UnaryCostFunction (Results 1 – 5 of 5) sorted by relevance

/external/ceres-solver/internal/ceres/
Dproblem_test.cc57 class UnaryCostFunction : public CostFunction { class
59 UnaryCostFunction(int num_residuals, int32 parameter_block_size) { in UnaryCostFunction() function in ceres::internal::UnaryCostFunction
63 virtual ~UnaryCostFunction() {} in ~UnaryCostFunction()
141 problem.AddResidualBlock(new UnaryCostFunction(2, 3), NULL, x, y), in TEST()
149 problem.AddResidualBlock(new UnaryCostFunction(2, 3), NULL, x); in TEST()
151 new UnaryCostFunction( in TEST()
188 problem.AddResidualBlock(new UnaryCostFunction(2, 3), NULL, x); in TEST()
189 problem.AddResidualBlock(new UnaryCostFunction(2, 3), NULL, x); in TEST()
190 problem.AddResidualBlock(new UnaryCostFunction(2, 4), NULL, y); in TEST()
191 problem.AddResidualBlock(new UnaryCostFunction(2, 5), NULL, z); in TEST()
[all …]
Dreorder_program_test.cc57 class UnaryCostFunction : public MockCostFunctionBase<2, 1, 0, 0> {}; class
71 problem.AddResidualBlock(new UnaryCostFunction(), NULL, &x); in TEST()
74 problem.AddResidualBlock(new UnaryCostFunction(), NULL, &z); in TEST()
76 problem.AddResidualBlock(new UnaryCostFunction(), NULL, &y); in TEST()
Dcovariance_test.cc125 class UnaryCostFunction: public CostFunction { class
127 UnaryCostFunction(const int num_residuals, in UnaryCostFunction() function in ceres::internal::UnaryCostFunction
240 problem_.AddResidualBlock(new UnaryCostFunction(2, 2, jacobian), NULL, x); in SetUp()
245 problem_.AddResidualBlock(new UnaryCostFunction(3, 3, jacobian), NULL, y); in SetUp()
250 problem_.AddResidualBlock(new UnaryCostFunction(1, 1, &jacobian), NULL, z); in SetUp()
630 problem_.AddResidualBlock(new UnaryCostFunction(2, 2, jacobian), NULL, x); in SetUp()
635 problem_.AddResidualBlock(new UnaryCostFunction(3, 3, jacobian), NULL, y); in SetUp()
640 problem_.AddResidualBlock(new UnaryCostFunction(1, 1, &jacobian), NULL, z); in SetUp()
726 problem_.AddResidualBlock(new UnaryCostFunction(parameter_block_size_, in SetUp()
Dprogram_test.cc74 class UnaryCostFunction : public MockCostFunctionBase<2, 1, 0, 0> {}; class
87 problem.AddResidualBlock(new UnaryCostFunction(), NULL, &x); in TEST()
112 problem.AddResidualBlock(new UnaryCostFunction(), NULL, &x); in TEST()
167 problem.AddResidualBlock(new UnaryCostFunction(), NULL, &x); in TEST()
193 problem.AddResidualBlock(new UnaryCostFunction(), NULL, &x); in TEST()
Dgradient_checking_cost_function_test.cc265 class UnaryCostFunction : public CostFunction { class
267 UnaryCostFunction(int num_residuals, int32 parameter_block_size) { in UnaryCostFunction() function in ceres::internal::UnaryCostFunction
271 virtual ~UnaryCostFunction() {} in ~UnaryCostFunction()
354 problem_impl.AddResidualBlock(new UnaryCostFunction(2, 3), NULL, x); in TEST()