28 #ifndef FORS_POLYNOMIAL_H
29 #define FORS_POLYNOMIAL_H
53 const cpl_matrix *cov_coeff);
58 cpl_msg_severity level,
59 const cpl_polynomial *p_def);
cpl_error_code fors_polynomial_dump(const cpl_polynomial *p, const char *name, cpl_msg_severity level, const cpl_polynomial *p_def)
Count the total number of non-zero coefficients.
CPL_BEGIN_DECLS int fors_polynomial_count_coeff(const cpl_polynomial *p)
Count the total number of non-zero coefficients.
char * fors_polynomial_sprint_coeff(const cpl_polynomial *p, cpl_size *powers, const char *prefix)
Print a coefficient's name into a newly allocated string.
int fors_polynomial_powers_find_next_coeff(const cpl_polynomial *p, cpl_size *powers)
Find the next non-zero coefficient.
int fors_polynomial_powers_find_first_coeff(const cpl_polynomial *p, cpl_size *powers)
Find the first non-zero coefficient.
cpl_error_code fors_polynomial_set_existing_coeff(cpl_polynomial *p, const double *coeffs, int n_coeffs)
Set the already existing coefficients in a polynomial to values taken from an array.
cpl_polynomial * fors_polynomial_create_variance_polynomial(const cpl_polynomial *p_def, const cpl_matrix *cov_coeff)
Create a polynomial modelling the squared influence of the error of the coefficients of another polyn...