/external/ceres-solver/internal/ceres/ |
D | problem_test.cc | 57 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 …]
|
D | reorder_program_test.cc | 57 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()
|
D | covariance_test.cc | 125 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()
|
D | program_test.cc | 74 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()
|
D | gradient_checking_cost_function_test.cc | 265 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()
|