mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
Update documentation in autodiff.h
Change-Id: Icc2753b4f5be95022ffd92e479cdd3d9d7959d4c
This commit is contained in:
@@ -206,9 +206,9 @@ struct Make1stOrderPerturbation<N, N, Offset, T, JetT> {
|
||||
// If one having three parameter blocks with dimensions (3, 2, 4), the call
|
||||
// Make1stOrderPerturbations<integer_sequence<3, 2, 4>::Apply(params, x);
|
||||
// will result in the following calls to Make1stOrderPerturbation:
|
||||
// Make1stOrderPerturbation<0, 3>(params[0], x + 0);
|
||||
// Make1stOrderPerturbation<3, 2>(params[1], x + 3);
|
||||
// Make1stOrderPerturbation<5, 4>(params[2], x + 5);
|
||||
// Make1stOrderPerturbation<0, 0, 3>::Apply(params[0], x + 0);
|
||||
// Make1stOrderPerturbation<0, 3, 2>::Apply(params[1], x + 3);
|
||||
// Make1stOrderPerturbation<0, 5, 4>::Apply(params[2], x + 5);
|
||||
template <typename Seq, int ParameterIdx = 0, int Offset = 0>
|
||||
struct Make1stOrderPerturbations;
|
||||
|
||||
|
||||
@@ -313,7 +313,7 @@ bool ProductParameterization::ComputeJacobian(const double* x,
|
||||
|
||||
int x_cursor = 0;
|
||||
int delta_cursor = 0;
|
||||
for (const auto& param : local_params_) {
|
||||
for (const auto& param : local_params_) {
|
||||
const int local_size = param->LocalSize();
|
||||
const int global_size = param->GlobalSize();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user