mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
Problem::Evaluate implementation.
1. Add Problem::Evaluate and tests. 2. Remove Solver::Summary::initial/final_* 3. Remove Solver::Options::return_* members. 4. Various cpplint cleanups. Change-Id: I4266de53489896f72d9c6798c5efde6748d68a47
This commit is contained in:
committed by
Gerrit Code Review
parent
d4a0bf86d6
commit
509f68cfe3
@@ -67,8 +67,9 @@ namespace ceres {
|
||||
template <typename T, int row_stride, int col_stride>
|
||||
struct MatrixAdapter;
|
||||
|
||||
// Convenience functions to create a MatrixAdapter that treats the array pointed to
|
||||
// by "pointer" as a 3x3 (contiguous) column-major or row-major matrix.
|
||||
// Convenience functions to create a MatrixAdapter that treats the
|
||||
// array pointed to by "pointer" as a 3x3 (contiguous) column-major or
|
||||
// row-major matrix.
|
||||
template <typename T>
|
||||
MatrixAdapter<T, 1, 3> ColumnMajorAdapter3x3(T* pointer);
|
||||
|
||||
@@ -101,8 +102,8 @@ void RotationMatrixToAngleAxis(T const* R, T* angle_axis);
|
||||
|
||||
template <typename T, int row_stride, int col_stride>
|
||||
void RotationMatrixToAngleAxis(
|
||||
const MatrixAdapter<const T, row_stride, col_stride>& R,
|
||||
T* angle_axis);
|
||||
const MatrixAdapter<const T, row_stride, col_stride>& R,
|
||||
T* angle_axis);
|
||||
|
||||
template <typename T>
|
||||
void AngleAxisToRotationMatrix(T const* angle_axis, T* R);
|
||||
|
||||
Reference in New Issue
Block a user