Go to the documentation of this file.
19 #ifndef MANGO_LEAST_SQUARES_SOLVER_H
20 #define MANGO_LEAST_SQUARES_SOLVER_H
double * current_residuals
void record_function_evaluation_pointer(const double *, double *, bool)
Least_squares_problem * least_squares_problem
bool print_residuals_in_output_file
static void least_squares_to_single_objective(int *, const double *, double *, int *, mango::Problem *, void *)
double optimize(MPI_Partition *)
void(* vector_function_type)(int *N_parameters, const double *state_vector, int *N_terms, double *residuals, int *failed, mango::Problem *problem, void *user_data)
Format for the user-supplied subroutine that computes the residuals for a least-squares optimization ...
vector_function_type residual_function
void group_leaders_loop()
This C++ namespace contains everything related to MANGO.
void finite_difference_Jacobian(const double *, double *, double *)
void finite_difference_gradient(const double *, double *, double *)
void objective_function_wrapper(const double *, double *, bool *)
bool record_function_evaluation(const double *, double, bool)
A class for dividing the set of MPI processes into worker groups.
double residuals_to_single_objective(double *)
void residual_function_wrapper(const double *, double *, bool *)
double * best_residual_function