MCPcopy Create free account
hub / github.com/ceres-solver/ceres-solver / ToDebugString

Method ToDebugString

internal/ceres/function_sample.cc:66–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 gradient_is_valid(true) {}
65
66std::string FunctionSample::ToDebugString() const {
67 return StringPrintf(
68 "[x: %.8e, value: %.8e, gradient: %.8e, "
69 "value_is_valid: %d, gradient_is_valid: %d]",
70 x,
71 value,
72 gradient,
73 value_is_valid,
74 gradient_is_valid);
75}
76
77} // namespace ceres::internal

Callers 2

line_search.ccFile · 0.80
ZoomPhaseMethod · 0.80

Calls 1

StringPrintfFunction · 0.85

Tested by

no test coverage detected