Lines Matching defs:summary
68 LinearSolver::Summary ConjugateGradientsSolver::Solve(
78 LinearSolver::Summary summary;
79 summary.termination_type = MAX_ITERATIONS;
80 summary.num_iterations = 0;
89 summary.termination_type = TOLERANCE;
90 return summary;
106 summary.termination_type = TOLERANCE;
107 return summary;
115 for (summary.num_iterations = 1;
116 summary.num_iterations < options_.max_num_iterations;
117 ++summary.num_iterations) {
118 VLOG(3) << "cg iteration " << summary.num_iterations;
133 summary.termination_type = FAILURE;
137 if (summary.num_iterations == 1) {
143 summary.termination_type = FAILURE;
156 summary.termination_type = FAILURE;
163 summary.termination_type = FAILURE;
176 if (summary.num_iterations % options_.residual_reset_period == 0) {
210 double zeta = summary.num_iterations * (Q1 - Q0) / Q1;
214 summary.termination_type = TOLERANCE;
224 summary.termination_type = TOLERANCE;
229 return summary;