This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Functions | |
public void | initialize_amoeba (amoeba_struct *amoeba, int n_parameters, Real initial_parameters[], Real parameter_deltas[], amoeba_function function, void *function_data, Real tolerance) |
public Real | get_amoeba_parameters (amoeba_struct *amoeba, Real parameters[]) |
public void | terminate_amoeba (amoeba_struct *amoeba) |
public BOOLEAN | perform_amoeba (amoeba_struct *amoeba) |
public BOOLEAN | solve_linear_system_float (int n, float **coefs, float values[], float solution[]) |
public BOOLEAN | invert_square_matrix_float (int n, float **matrix, float **inverse) |
public Real | gradient_steps_minimize_function (int n_dims, Real initial_parameters[], Real initial_step_sizes[], Real(*func)(Real[], void *), void *func_data, int n_search_dims, int max_iterations, Real tolerance, Real solution[]) |
public void | initialize_histogram (histogram_struct *histogram, Real delta, Real offset) |
public void | delete_histogram (histogram_struct *histogram) |
public void | add_to_histogram (histogram_struct *histogram, Real value) |
public int | get_histogram_counts (histogram_struct *histogram, Real *counts[], Real filter_width, Real *scale_factor, Real *trans_factor) |
public void | display_histogram (histogram_struct *histogram, int x_size, int y_size) |
public void | create_histogram_line (histogram_struct *histogram, int x_size, int y_size, Real filter_width, lines_struct *lines) |
public BOOLEAN | least_squares (int n_points, int n_dims, Real **points, Real values[], Real parameters[]) |
public void | initialize_linear_least_squares (linear_least_squares *lsq, int n_parameters) |
public void | add_to_linear_least_squares (linear_least_squares *lsq, Real parameter_coefs[], Real constant) |
public BOOLEAN | get_linear_least_squares_solution (linear_least_squares *lsq, Real solution[]) |
public void | delete_linear_least_squares (linear_least_squares *lsq) |
public BOOLEAN | singular_value_decomposition (int m, int n, Real **a, Real w[], Real **v) |
public Real | minimize_lsq (int n_parameters, Real constant_term, Real linear_terms[], Real square_terms[], int n_cross_terms[], int *cross_parms[], Real *cross_terms[], Real max_step_size, int n_iters, Real node_values[]) |
public void | initialize_lsq_terms (int n_parameters, Real *constant_term, Real *linear_terms[], Real *square_terms[], int *n_cross_terms[], int **cross_parms[], Real **cross_terms[]) |
public void | reset_lsq_terms (int n_parameters, Real *constant_term, Real linear_terms[], Real square_terms[], int n_cross_terms[], int *cross_parms[], Real *cross_terms[]) |
public void | add_to_lsq_terms (int n_parameters, Real *constant_term, Real linear_terms[], Real square_terms[], int n_cross_terms[], int *cross_parms[], Real *cross_terms[], int n_in_list, int list[], Real weights[], Real constant, int alloc_increment) |
public void | realloc_lsq_terms (int n_parameters, int n_cross_terms[], int *cross_parms[], Real *cross_terms[]) |
public void | delete_lsq_terms (int n_parameters, Real linear_terms[], Real square_terms[], int n_cross_terms[], int *cross_parms[], Real *cross_terms[]) |
public Real | minimize_lsq_float (int n_parameters, Real constant_term, float linear_terms[], float square_terms[], int n_cross_terms[], int *cross_parms[], float *cross_terms[], Real max_step_size, int n_iters, Real node_values[]) |
public void | initialize_lsq_terms_float (int n_parameters, Real *constant_term, float *linear_terms[], float *square_terms[], int *n_cross_terms[], int **cross_parms[], float **cross_terms[]) |
public void | reset_lsq_terms_float (int n_parameters, Real *constant_term, float linear_terms[], float square_terms[], int n_cross_terms[], int *cross_parms[], float *cross_terms[]) |
public void | add_to_lsq_terms_float (int n_parameters, Real *constant_term, float linear_terms[], float square_terms[], int n_cross_terms[], int *cross_parms[], float *cross_terms[], int n_in_list, int list[], Real weights[], Real constant, int alloc_increment) |
public void | realloc_lsq_terms_float (int n_parameters, int n_cross_terms[], int *cross_parms[], float *cross_terms[]) |
public void | delete_lsq_terms_float (int n_parameters, float linear_terms[], float square_terms[], int n_cross_terms[], int *cross_parms[], float *cross_terms[]) |
public void | create_lsq_hypersurface_float (STRING filename, int parm1, int parm2, int x_size, int y_size, Real x_min, Real x_max, Real y_min, Real y_max, Real scale, int n_parameters, Real constant, float linear_terms[], float square_terms[], int n_cross_terms[], int *cross_parms[], float *cross_terms[], Real parameters[]) |
public BOOLEAN | numerically_close (Real n1, Real n2, Real threshold_ratio) |
public Real | get_good_round_value (Real value) |
public Real | round_to_nearest_multiple (Real value, Real multiple_value) |
public int | solve_quadratic (Real a, Real b, Real c, Real *solution1, Real *solution2) |
public int | solve_cubic (Real a, Real b, Real c, Real d, Real s[3]) |
public Real | evaluate_polynomial (int n, Real poly[], Real u) |
public int | get_roots_of_polynomial (int n, Real poly[], Real u_min, Real u_max, Real accuracy, Real roots[]) |
public BOOLEAN | get_range_of_polynomial (int n, Real poly[], Real u_min, Real u_max, Real min_val, Real max_val, Real accuracy, Real *u_min_range, Real *u_max_range) |
public void | initialize_quadratic (int n_parameters, Real *constant_term, float *linear_terms[], float *square_terms[], int *n_cross_terms[], int **cross_parms[], float **cross_terms[]) |
public void | zero_quadratic (int n_parameters, Real *constant_term, float linear_terms[], float square_terms[], int n_cross_terms[], int *cross_parms[], float *cross_terms[]) |
public void | add_to_quadratic_cross_term (int *n_cross_terms[], int **cross_parms[], float **cross_terms[], int parm1, int parm2, Real value, int alloc_increment) |
public void | realloc_quadratic_cross_terms (int n_parameters, int n_cross_terms[], int **cross_parms[], float **cross_terms[]) |
public void | delete_quadratic (int n_parameters, float linear_terms[], float square_terms[], int n_cross_terms[], int *cross_parms[], float *cross_terms[]) |
public Real | evaluate_quadratic (int n_parameters, float parameters[], Real constant, float linear[], float square[], int n_cross_terms[], int *cross_parms[], float *cross_terms[]) |
public void | evaluate_quadratic_deriv (int n_parameters, float parameters[], float linear[], float square[], int n_cross_terms[], int *cross_parms[], float *cross_terms[], float deriv[]) |
public void | initialize_quadratic_real (int n_parameters, Real *constant_term, Real *linear_terms[], Real *square_terms[], int *n_cross_terms[], int **cross_parms[], Real **cross_terms[]) |
public void | zero_quadratic_real (int n_parameters, Real *constant_term, Real linear_terms[], Real square_terms[], int n_cross_terms[], int *cross_parms[], Real *cross_terms[]) |
public void | add_to_quadratic_cross_term_real (int *n_cross_terms[], int **cross_parms[], Real **cross_terms[], int parm1, int parm2, Real value, int alloc_increment) |
public void | realloc_quadratic_cross_terms_real (int n_parameters, int n_cross_terms[], int **cross_parms[], Real **cross_terms[]) |
public void | delete_quadratic_real (int n_parameters, Real linear_terms[], Real square_terms[], int n_cross_terms[], int *cross_parms[], Real *cross_terms[]) |
public Real | evaluate_quadratic_real (int n_parameters, Real parameters[], Real constant, Real linear[], Real square[], int n_cross_terms[], int *cross_parms[], Real *cross_terms[]) |
public void | evaluate_quadratic_deriv_real (int n_parameters, Real parameters[], Real linear[], Real square[], int n_cross_terms[], int *cross_parms[], Real *cross_terms[], Real deriv[]) |
public void | compute_statistics (int n, Real samples[], Real *min_value, Real *max_value, Real *mean_value, Real *std_dev, Real *median) |
public void | initialize_statistics (statistics_struct *stats, Real median_lower_bound, Real median_upper_bound) |
public void | add_sample_to_statistics (statistics_struct *stats, Real sample) |
public void | restart_statistics_with_narrower_median_range (statistics_struct *stats) |
public void | get_statistics (statistics_struct *stats, int *n_samples, Real *mean, Real *median, Real *median_error, Real *min_value, Real *max_value, Real *std_deviation) |
public void | terminate_statistics (statistics_struct *stats) |
public void | compute_mean_and_variance (int n, Real samples[], Real *mean, Real *variance) |
public Real | compute_two_means_t_statistic (int n1, Real samples1[], int n2, Real samples2[]) |
public void | initialize_cumulative_t_stat (t_stat_struct *stat, int degrees_freedom) |
public void | delete_cumulative_t_stat (t_stat_struct *stat) |
public Real | get_cumulative_t_stat (t_stat_struct *stat, Real t) |
|
|
Definition at line 156 of file histogram.c. References histogram_struct::counts, get_histogram_index(), histogram_struct::max_index, and histogram_struct::min_index. |
|
Definition at line 140 of file least_squares.c. References linear_least_squares::constants, linear_least_squares::n_parameters, and linear_least_squares::second_derivs. Referenced by get_prediction_weights_3d(), and least_squares(). |
|
Definition at line 77 of file minimize_lsq.c. |
|
Definition at line 77 of file minimize_lsq_float.c. |
|
Definition at line 53 of file quadratic.c. |
|
Definition at line 53 of file real_quadratic.c. |
|
Definition at line 364 of file statistics.c. Referenced by compute_two_means_t_statistic(). |
|
Definition at line 45 of file statistics.c. References add_sample_to_statistics(), FALSE, get_statistics(), initialize_statistics(), restart_statistics_with_narrower_median_range(), terminate_statistics(), and TRUE. |
|
Definition at line 390 of file statistics.c. References compute_mean_and_variance(). |
|
Definition at line 492 of file histogram.c. References add_point_to_line(), box_filter_histogram(), initialize_lines(), resample_histogram(), and WHITE. |
|
Definition at line 168 of file minimize_lsq_float.c. References compute_quadmesh_normals(), create_object(), delete_object(), evaluate_fit(), get_quadmesh_ptr(), initialize_quadmesh(), output_graphics_file(), QUADMESH, set_quadmesh_point(), WHITE, and y. |
|
Definition at line 113 of file t_stat.c. References t_stat_struct::cumulative_probs. |
|
Definition at line 62 of file histogram.c. References histogram_struct::counts, histogram_struct::max_index, and histogram_struct::min_index. |
|
Definition at line 210 of file least_squares.c. References linear_least_squares::constants, and linear_least_squares::second_derivs. Referenced by get_prediction_weights_3d(), and least_squares(). |
|
Definition at line 142 of file minimize_lsq.c. |
|
Definition at line 142 of file minimize_lsq_float.c. |
|
Definition at line 104 of file quadratic.c. |
|
Definition at line 104 of file real_quadratic.c. |
|
Definition at line 442 of file histogram.c. References get_histogram_max_count(), get_histogram_range(), resample_histogram(), and y. |
|
Definition at line 411 of file numerical.c. Referenced by check_voxel_for_boundary(), and get_cubic_root(). |
|
Definition at line 130 of file quadratic.c. |
|
Definition at line 161 of file quadratic.c. |
|
Definition at line 160 of file real_quadratic.c. |
|
Definition at line 130 of file real_quadratic.c. |
|
Definition at line 118 of file amoeba.c. References amoeba_struct::n_parameters, amoeba_struct::parameters, and amoeba_struct::values. Referenced by optimize_simplex(). |
|
Definition at line 119 of file t_stat.c. References convert_t_stat_to_probability(), t_stat_struct::cumulative_probs, t_stat_struct::max_dist, and t_stat_struct::n_points. |
|
Definition at line 80 of file numerical.c. |
|
Definition at line 320 of file histogram.c. References box_filter_histogram(), convert_real_index_to_value(), histogram_struct::counts, histogram_struct::delta, histogram_struct::max_index, and histogram_struct::min_index. |
|
Definition at line 169 of file least_squares.c. References linear_least_squares::constants, linear_least_squares::n_parameters, and linear_least_squares::second_derivs. Referenced by get_prediction_weights_3d(), and least_squares(). |
|
Definition at line 737 of file numerical.c. References check_range(), FALSE, and polynomial_may_include_range(). Referenced by check_voxel_for_boundary(). |
|
Definition at line 635 of file numerical.c. References check_interval(), and get_roots_of_cubic(). Referenced by find_voxel_line_value_intersection(), and get_cubic_root(). |
|
Definition at line 283 of file statistics.c. References get_median(), statistics_struct::max_value, statistics_struct::min_value, statistics_struct::n_samples, statistics_struct::sum_x, and statistics_struct::sum_xx. Referenced by compute_statistics(). |
|
Definition at line 40 of file gradient_minimize.c. References FALSE, numerically_close(), SMALLEST_STEP_SIZE, STEP_RATIO, take_step(), and TRUE. |
|
Definition at line 66 of file amoeba.c. References amoeba_struct::function, amoeba_struct::function_data, get_function_value(), amoeba_struct::n_parameters, amoeba_struct::n_steps_no_improvement, amoeba_struct::parameters, amoeba_struct::sum, amoeba_struct::tolerance, and amoeba_struct::values. Referenced by optimize_simplex(). |
|
Definition at line 96 of file t_stat.c. References t_stat_struct::cumulative_probs, t_stat_struct::degrees_freedom, initialize_t_integral(), t_stat_struct::max_dist, MAX_DIST, t_stat_struct::n_points, N_POINTS, and N_STEPS_BETWEEN. |
|
Definition at line 37 of file histogram.c. References histogram_struct::delta, histogram_struct::max_index, histogram_struct::min_index, and histogram_struct::offset. |
|
Definition at line 94 of file least_squares.c. References linear_least_squares::constants, linear_least_squares::n_parameters, and linear_least_squares::second_derivs. Referenced by get_prediction_weights_3d(), and least_squares(). |
|
Definition at line 28 of file minimize_lsq.c. |
|
Definition at line 28 of file minimize_lsq_float.c. |
|
Definition at line 4 of file quadratic.c. |
|
Definition at line 4 of file real_quadratic.c. |
|
|
Definition at line 127 of file gaussian.c. References scaled_maximal_pivoting_gaussian_elimination_float(). |
|
Definition at line 46 of file least_squares.c. References add_to_linear_least_squares(), delete_linear_least_squares(), get_linear_least_squares_solution(), and initialize_linear_least_squares(). Referenced by compute_12param_transform(), and get_least_squares_transform_2d(). |
|
Definition at line 10 of file minimize_lsq.c. References private_minimize_lsq(). |
|
Definition at line 10 of file minimize_lsq_float.c. References private_minimize_lsq(). |
|
Definition at line 40 of file numerical.c. References SMALLEST. Referenced by create_box_filtered_volume(), gradient_steps_minimize_function(), and perform_amoeba(). |
|
Definition at line 232 of file amoeba.c. References CONTRACT_RATIO, FALSE, FLIP_RATIO, get_function_value(), amoeba_struct::n_parameters, amoeba_struct::n_steps_no_improvement, N_STEPS_NO_IMPROVEMENT, numerically_close(), amoeba_struct::parameters, STRETCH_RATIO, amoeba_struct::sum, amoeba_struct::tolerance, TRUE, try_amoeba(), and amoeba_struct::values. Referenced by optimize_simplex(). |
|
Definition at line 124 of file minimize_lsq.c. |
|
Definition at line 124 of file minimize_lsq_float.c. |
|
Definition at line 86 of file quadratic.c. |
|
Definition at line 86 of file real_quadratic.c. |
|
Definition at line 55 of file minimize_lsq.c. |
|
Definition at line 55 of file minimize_lsq_float.c. |
|
Definition at line 264 of file statistics.c. References get_median(), initialize_statistics(), statistics_struct::max_median_range, statistics_struct::min_median_range, and terminate_statistics(). Referenced by compute_statistics(). |
|
Definition at line 122 of file numerical.c. |
|
Definition at line 46 of file matrix_svd.c. References FALSE, MAX_ITERATIONS, PYTHAG, TAKE_SIGN, TRUE, and y. Referenced by procrustes(). |
|
Definition at line 244 of file numerical.c. References COS_60, IsZero, SIN_60, and solve_quadratic(). Referenced by get_roots_of_cubic(). |
|
Definition at line 98 of file gaussian.c. References scaled_maximal_pivoting_gaussian_elimination_float(). |
|
Definition at line 159 of file numerical.c. Referenced by get_roots_of_cubic(), get_tessellation_with_n_points(), line_intersects_ellipsoid(), ray_intersects_tube(), and solve_cubic(). |
|
Definition at line 150 of file amoeba.c. References amoeba_struct::parameters, amoeba_struct::sum, and amoeba_struct::values. Referenced by optimize_simplex(). |
|
Definition at line 351 of file statistics.c. References statistics_struct::max_median_range, MAX_SAMPLES_RECORDED, statistics_struct::median_box_counts, statistics_struct::median_box_values, statistics_struct::min_median_range, statistics_struct::n_samples, and statistics_struct::samples. Referenced by compute_statistics(), and restart_statistics_with_narrower_median_range(). |
|
Definition at line 31 of file quadratic.c. |
|
Definition at line 31 of file real_quadratic.c. |