Top |
char * | coefficient | Read / Write |
AgsComplex * | coefficient-value | Read / Write |
gpointer | exponent | Read |
AgsComplex * | exponent-value | Read |
char * | polynomial | Read / Write |
gpointer | symbol | Read / Write |
#define | AGS_SOLVER_POLYNOMIAL_ERROR |
enum | AgsSolverPolynomialError |
#define | AGS_TYPE_SOLVER_POLYNOMIAL |
struct | AgsSolverPolynomial |
struct | AgsSolverPolynomialClass |
#define AGS_SOLVER_POLYNOMIAL_GET_OBJ_MUTEX(obj) (&(((AgsSolverPolynomial *) obj)->obj_mutex))
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_IS_SOLVER_POLYNOMIAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SOLVER_POLYNOMIAL))
#define AGS_IS_SOLVER_POLYNOMIAL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SOLVER_POLYNOMIAL))
#define AGS_SOLVER_POLYNOMIAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SOLVER_POLYNOMIAL, AgsSolverPolynomial))
#define AGS_SOLVER_POLYNOMIAL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SOLVER_POLYNOMIAL, AgsSolverPolynomialClass))
#define AGS_SOLVER_POLYNOMIAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_SOLVER_POLYNOMIAL, AgsSolverPolynomialClass))
#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” AgsComplex *
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
“symbol”
property“symbol” gpointer
The assigned symbol.
Owner: AgsSolverPolynomial
Flags: Read / Write
Since: 3.2.0