MPSolve 3.2.1
|
Struct that represents an abstract polynomial. All the other real polynomial implementations (such as mps_monomial_poly, mps_secular_equation, ...) inherits from this. More...
#include <polynomial.h>
Public Attributes | |
const char * | type_name |
Name of the type. This must be a global static string that can be used to check if a mps_polynomial is of a specific type. It can be NULL to leave the type vague. | |
int | degree |
The degree of the polynomial. | |
long int | prec |
Bits of precision of the coefficients. More... | |
mps_structure | structure |
Structure of the polynomial, i.e., the algebraic (or non-algebraic) structure where the coefficients are found. | |
mps_density | density |
Density of the coefficients, or MPS_DENSITY_USER if the coefficients (or the newton fraction) is provided via a user routine. | |
mps_boolean | thread_safe |
This is true if the polynomial has thread-safe methods. Note that this is the default assumption set by mps_polynomial_init(). You should overwrite after calling it if that's not the case. | |
mps_polynomial_feval_t | feval |
Method that evaluates the polynomial. | |
mps_polynomial_deval_t | deval |
Method that evaluates the polynomial. | |
mps_polynomial_meval_t | meval |
Method that evaluates the polynomial. | |
mps_polynomial_fstart_t | fstart |
Method that collocate initial starting points. | |
mps_polynomial_dstart_t | dstart |
Method that collocate initial starting points. | |
mps_polynomial_mstart_t | mstart |
Method that collocate initial starting points. | |
mps_polynomial_free_t | free |
Function used to release polynomial resources. | |
mps_polynomial_raise_data_t | raise_data |
Function used to raise precision of the coefficients of the representation of the polynomial. | |
mps_polynomial_fnewton_t | fnewton |
Function used to compute the Newton correction in a point. | |
mps_polynomial_dnewton_t | dnewton |
Function used to compute the Newton correction in a point. | |
mps_polynomial_mnewton_t | mnewton |
Function used to compute the Newton correction in a point. | |
mps_polynomial_get_leading_coefficient_t | get_leading_coefficient |
Function used to retrieve the leading coefficient of the polynomial. | |
Struct that represents an abstract polynomial. All the other real polynomial implementations (such as mps_monomial_poly, mps_secular_equation, ...) inherits from this.
long int mps_polynomial::prec |
Bits of precision of the coefficients.
The precision used in computation can be adjusted with a call to mps_polynomial_raise_data() but can never be higher than the input precision.