Lines Matching refs:summary

84   const LinearSolver::Summary summary =  in SolveImpl()  local
88 if (summary.termination_type == LINEAR_SOLVER_SUCCESS) { in SolveImpl()
93 return summary; in SolveImpl()
119 LinearSolver::Summary summary; in SolveReducedLinearSystem() local
120 summary.num_iterations = 0; in SolveReducedLinearSystem()
121 summary.termination_type = LINEAR_SOLVER_SUCCESS; in SolveReducedLinearSystem()
122 summary.message = "Success."; in SolveReducedLinearSystem()
131 return summary; in SolveReducedLinearSystem()
134 summary.num_iterations = 1; in SolveReducedLinearSystem()
142 summary.termination_type = LINEAR_SOLVER_FAILURE; in SolveReducedLinearSystem()
143 summary.message = in SolveReducedLinearSystem()
145 return summary; in SolveReducedLinearSystem()
151 summary.termination_type = in SolveReducedLinearSystem()
155 &summary.message); in SolveReducedLinearSystem()
158 return summary; in SolveReducedLinearSystem()
276 LinearSolver::Summary summary; in SolveReducedLinearSystemUsingSuiteSparse() local
277 summary.num_iterations = 0; in SolveReducedLinearSystemUsingSuiteSparse()
278 summary.termination_type = LINEAR_SOLVER_FATAL_ERROR; in SolveReducedLinearSystemUsingSuiteSparse()
279 summary.message = "Ceres was not built with SuiteSparse support. " in SolveReducedLinearSystemUsingSuiteSparse()
281 return summary; in SolveReducedLinearSystemUsingSuiteSparse()
285 LinearSolver::Summary summary; in SolveReducedLinearSystemUsingSuiteSparse()
286 summary.num_iterations = 0; in SolveReducedLinearSystemUsingSuiteSparse()
287 summary.termination_type = LINEAR_SOLVER_SUCCESS; in SolveReducedLinearSystemUsingSuiteSparse()
288 summary.message = "Success."; in SolveReducedLinearSystemUsingSuiteSparse()
298 return summary; in SolveReducedLinearSystemUsingSuiteSparse()
301 summary.num_iterations = 1; in SolveReducedLinearSystemUsingSuiteSparse()
317 &summary.message); in SolveReducedLinearSystemUsingSuiteSparse()
331 &summary.message); in SolveReducedLinearSystemUsingSuiteSparse()
337 summary.termination_type = LINEAR_SOLVER_FATAL_ERROR; in SolveReducedLinearSystemUsingSuiteSparse()
340 return summary; in SolveReducedLinearSystemUsingSuiteSparse()
343 summary.termination_type = in SolveReducedLinearSystemUsingSuiteSparse()
344 ss_.Cholesky(cholmod_lhs, factor_, &summary.message); in SolveReducedLinearSystemUsingSuiteSparse()
348 if (summary.termination_type != LINEAR_SOLVER_SUCCESS) { in SolveReducedLinearSystemUsingSuiteSparse()
351 return summary; in SolveReducedLinearSystemUsingSuiteSparse()
358 &summary.message); in SolveReducedLinearSystemUsingSuiteSparse()
362 summary.message = in SolveReducedLinearSystemUsingSuiteSparse()
364 summary.termination_type = LINEAR_SOLVER_FAILURE; in SolveReducedLinearSystemUsingSuiteSparse()
365 return summary; in SolveReducedLinearSystemUsingSuiteSparse()
371 return summary; in SolveReducedLinearSystemUsingSuiteSparse()
383 LinearSolver::Summary summary; in SolveReducedLinearSystemUsingCXSparse() local
384 summary.num_iterations = 0; in SolveReducedLinearSystemUsingCXSparse()
385 summary.termination_type = LINEAR_SOLVER_FATAL_ERROR; in SolveReducedLinearSystemUsingCXSparse()
386 summary.message = "Ceres was not built with CXSparse support. " in SolveReducedLinearSystemUsingCXSparse()
388 return summary; in SolveReducedLinearSystemUsingCXSparse()
392 LinearSolver::Summary summary; in SolveReducedLinearSystemUsingCXSparse()
393 summary.num_iterations = 0; in SolveReducedLinearSystemUsingCXSparse()
394 summary.termination_type = LINEAR_SOLVER_SUCCESS; in SolveReducedLinearSystemUsingCXSparse()
395 summary.message = "Success."; in SolveReducedLinearSystemUsingCXSparse()
406 return summary; in SolveReducedLinearSystemUsingCXSparse()
418 summary.termination_type = LINEAR_SOLVER_FATAL_ERROR; in SolveReducedLinearSystemUsingCXSparse()
419 summary.message = in SolveReducedLinearSystemUsingCXSparse()
422 summary.termination_type = LINEAR_SOLVER_FAILURE; in SolveReducedLinearSystemUsingCXSparse()
423 summary.message = "CXSparse::SolveCholesky failed."; in SolveReducedLinearSystemUsingCXSparse()
427 return summary; in SolveReducedLinearSystemUsingCXSparse()
439 LinearSolver::Summary summary; in SolveReducedLinearSystemUsingEigen() local
440 summary.num_iterations = 0; in SolveReducedLinearSystemUsingEigen()
441 summary.termination_type = LINEAR_SOLVER_FATAL_ERROR; in SolveReducedLinearSystemUsingEigen()
442 summary.message = in SolveReducedLinearSystemUsingEigen()
447 return summary; in SolveReducedLinearSystemUsingEigen()
451 LinearSolver::Summary summary; in SolveReducedLinearSystemUsingEigen()
452 summary.num_iterations = 0; in SolveReducedLinearSystemUsingEigen()
453 summary.termination_type = LINEAR_SOLVER_SUCCESS; in SolveReducedLinearSystemUsingEigen()
454 summary.message = "Success."; in SolveReducedLinearSystemUsingEigen()
465 return summary; in SolveReducedLinearSystemUsingEigen()
490 summary.termination_type = LINEAR_SOLVER_FATAL_ERROR; in SolveReducedLinearSystemUsingEigen()
491 summary.message = in SolveReducedLinearSystemUsingEigen()
493 return summary; in SolveReducedLinearSystemUsingEigen()
500 summary.termination_type = LINEAR_SOLVER_FAILURE; in SolveReducedLinearSystemUsingEigen()
501 summary.message = "Eigen failure. Unable to find numeric factoriztion."; in SolveReducedLinearSystemUsingEigen()
502 return summary; in SolveReducedLinearSystemUsingEigen()
509 summary.termination_type = LINEAR_SOLVER_FAILURE; in SolveReducedLinearSystemUsingEigen()
510 summary.message = "Eigen failure. Unable to do triangular solve."; in SolveReducedLinearSystemUsingEigen()
513 return summary; in SolveReducedLinearSystemUsingEigen()