Top |
char * | coefficient | Read / Write |
AgsComplex * | coefficient-value | Read / Write |
gpointer | exponent | Read |
gpointer | exponent-value | Read |
char * | polynomial | Read / Write |
gpointer | symbol | Read / Write |
#define AGS_SOLVER_POLYNOMIAL_GET_OBJ_MUTEX(obj) (&(((AgsSolverPolynomial *) obj)->obj_mutex))
void ags_solver_polynomial_set_polynomial (AgsSolverPolynomial *solver_polynomial
,gchar *polynomial
);
Set polynomial
of solver_polynomial
.
Since: 3.9.3
gchar *
ags_solver_polynomial_get_polynomial (AgsSolverPolynomial *solver_polynomial
);
Get polynomial of solver_polynomial
.
Since: 3.9.3
void ags_solver_polynomial_set_coefficient (AgsSolverPolynomial *solver_polynomial
,gchar *coefficient
);
Set coefficient
of solver_polynomial
.
Since: 3.9.3
gchar *
ags_solver_polynomial_get_coefficient (AgsSolverPolynomial *solver_polynomial
);
Get coefficient of solver_polynomial
.
Since: 3.9.3
gchar **
ags_solver_polynomial_get_symbol (AgsSolverPolynomial *solver_polynomial
);
Get symbol of solver_polynomial
.
Since: 3.9.3
gchar **
ags_solver_polynomial_get_exponent (AgsSolverPolynomial *solver_polynomial
);
Get exponent of solver_polynomial
.
Since: 3.9.3
void ags_solver_polynomial_set_coefficient_value (AgsSolverPolynomial *solver_polynomial
,AgsComplex *coefficient_value
);
Set coefficient_value
of solver_polynomial
.
Since: 3.9.3
AgsComplex *
ags_solver_polynomial_get_coefficient_value
(AgsSolverPolynomial *solver_polynomial
);
Get coefficient value of solver_polynomial
.
Since: 3.9.3
AgsComplex *
ags_solver_polynomial_get_exponent_value
(AgsSolverPolynomial *solver_polynomial
);
Get exponent value of solver_polynomial
.
Since: 3.9.3
void
ags_solver_polynomial_update (AgsSolverPolynomial *solver_polynomial
);
Update string representation of solver_polynomial
.
Since: 3.2.0
void ags_solver_polynomial_parse (AgsSolverPolynomial *solver_polynomial
,gchar *polynomial
);
Parse polynomial
and apply to solver_polynomial
.
Since: 3.2.0
AgsSolverPolynomial * ags_solver_polynomial_add (AgsSolverPolynomial *polynomial_a
,AgsSolverPolynomial *polynomial_b
,GError **error
);
Perform addition of polynomial_a
and polynomial_b
. Both summands need to have the very same
symbol and exponent, otherwise NULL
returned and error is appropriately set.
polynomial_a |
the first summand |
|
polynomial_b |
the second summand |
|
error |
return location of GError |
Since: 3.2.0
AgsSolverPolynomial * ags_solver_polynomial_subtract (AgsSolverPolynomial *polynomial_a
,AgsSolverPolynomial *polynomial_b
,GError **error
);
Perform subtraction of polynomial_a
and polynomial_b
. Both minuend and subtrahend need to have the very same
symbol and exponent, otherwise NULL
returned and error is appropriately set.
Since: 3.2.0
AgsSolverPolynomial * ags_solver_polynomial_multiply (AgsSolverPolynomial *polynomial_a
,AgsSolverPolynomial *polynomial_b
,GError **error
);
Perform multiplication of polynomial_a
and polynomial_b
.
polynomial_a |
the first factor |
|
polynomial_b |
the second factor |
|
error |
return location of GError |
Since: 3.2.0
AgsSolverPolynomial * ags_solver_polynomial_divide (AgsSolverPolynomial *polynomial_a
,AgsSolverPolynomial *polynomial_b
,GError **error
);
Perform division of polynomial_a
and polynomial_b
.
Since: 3.2.0
AgsSolverPolynomial * ags_solver_polynomial_raise_power (AgsSolverPolynomial *polynomial_a
,AgsSolverPolynomial *polynomial_b
,GError **error
);
Perform raising power of polynomial_a
and polynomial_b
.
Since: 3.2.0
AgsSolverPolynomial * ags_solver_polynomial_extract_root (AgsSolverPolynomial *polynomial_a
,AgsSolverPolynomial *polynomial_b
,GError **error
);
Perform raising power of polynomial_a
and polynomial_b
.
Since: 3.2.0
AgsSolverPolynomial * ags_solver_polynomial_new ();
Instantiate a new AgsSolverPolynomial.
Since: 3.2.0
#define AGS_SOLVER_POLYNOMIAL_ERROR (ags_solver_polynomial_error_quark())
“coefficient”
property “coefficient” char *
The assigned coefficient.
Owner: AgsSolverPolynomial
Flags: Read / Write
Default value: NULL
Since: 3.2.0
“coefficient-value”
property“coefficient-value” AgsComplex *
Coefficient value.
Owner: AgsSolverPolynomial
Flags: Read / Write
Since: 3.2.0
“exponent”
property “exponent” gpointer
The assigned exponent.
Owner: AgsSolverPolynomial
Flags: Read
Since: 3.2.0
“exponent-value”
property “exponent-value” gpointer
Exponent value.
Owner: AgsSolverPolynomial
Flags: Read
Since: 3.2.0
“polynomial”
property “polynomial” char *
The assigned polynomial.
Owner: AgsSolverPolynomial
Flags: Read / Write
Default value: NULL
Since: 3.2.0