Top | ![]() |
![]() |
![]() |
![]() |
Functions
Properties
|
coefficient | Read / Write |
AgsComplex * | coefficient-value | Read / Write |
exponent | Read | |
exponent-value | Read | |
|
polynomial | Read / Write |
symbol | Read / Write |
Types and Values
#define | AGS_SOLVER_POLYNOMIAL_ERROR |
enum | AgsSolverPolynomialError |
#define | AGS_TYPE_SOLVER_POLYNOMIAL |
struct | AgsSolverPolynomial |
struct | AgsSolverPolynomialClass |
Functions
AGS_SOLVER_POLYNOMIAL_GET_OBJ_MUTEX()
#define AGS_SOLVER_POLYNOMIAL_GET_OBJ_MUTEX(obj) (&(((AgsSolverPolynomial *) obj)->obj_mutex))
ags_solver_polynomial_set_polynomial ()
void ags_solver_polynomial_set_polynomial (AgsSolverPolynomial *solver_polynomial
,);
gchar *polynomial
Set polynomial
of solver_polynomial
.
Since:
ags_solver_polynomial_get_polynomial ()
gchar * ags_solver_polynomial_get_polynomial (AgsSolverPolynomial *solver_polynomial
);
Get polynomial of solver_polynomial
.
Since:
ags_solver_polynomial_set_coefficient ()
void ags_solver_polynomial_set_coefficient (AgsSolverPolynomial *solver_polynomial
,);
gchar *coefficient
Set coefficient
of solver_polynomial
.
Since:
ags_solver_polynomial_get_coefficient ()
gchar * ags_solver_polynomial_get_coefficient (AgsSolverPolynomial *solver_polynomial
);
Get coefficient of solver_polynomial
.
Since:
ags_solver_polynomial_get_symbol ()
gchar ** ags_solver_polynomial_get_symbol (AgsSolverPolynomial *solver_polynomial
);
Get symbol of solver_polynomial
.
Since:
ags_solver_polynomial_get_exponent ()
gchar ** ags_solver_polynomial_get_exponent (AgsSolverPolynomial *solver_polynomial
);
Get exponent of solver_polynomial
.
Since:
ags_solver_polynomial_set_coefficient_value ()
void ags_solver_polynomial_set_coefficient_value (AgsSolverPolynomial *solver_polynomial
,AgsComplex *coefficient_value
);
Set coefficient_value
of solver_polynomial
.
Since:
ags_solver_polynomial_get_coefficient_value ()
AgsComplex *
ags_solver_polynomial_get_coefficient_value
(AgsSolverPolynomial *solver_polynomial
);
Get coefficient value of solver_polynomial
.
Since:
ags_solver_polynomial_get_exponent_value ()
AgsComplex *
ags_solver_polynomial_get_exponent_value
(AgsSolverPolynomial *solver_polynomial
);
Get exponent value of solver_polynomial
.
Since:
ags_solver_polynomial_update ()
void ags_solver_polynomial_update (AgsSolverPolynomial *solver_polynomial
);
Update string representation of solver_polynomial
.
Since:
ags_solver_polynomial_parse ()
void ags_solver_polynomial_parse (AgsSolverPolynomial *solver_polynomial
,);
gchar *polynomial
Parse polynomial
and apply to solver_polynomial
.
Since:
ags_solver_polynomial_add ()
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
Parameters
polynomial_a |
the first summand |
|
polynomial_b |
the second summand |
|
error |
return location of |
Since:
ags_solver_polynomial_subtract ()
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
Since:
ags_solver_polynomial_multiply ()
AgsSolverPolynomial * ags_solver_polynomial_multiply (AgsSolverPolynomial *polynomial_a
,AgsSolverPolynomial *polynomial_b
,);
GError **error
Perform multiplication of polynomial_a
and polynomial_b
.
Parameters
polynomial_a |
the first factor |
|
polynomial_b |
the second factor |
|
error |
return location of |
Since:
ags_solver_polynomial_divide ()
AgsSolverPolynomial * ags_solver_polynomial_divide (AgsSolverPolynomial *polynomial_a
,AgsSolverPolynomial *polynomial_b
,);
GError **error
Perform division of polynomial_a
and polynomial_b
.
Since:
ags_solver_polynomial_raise_power ()
AgsSolverPolynomial * ags_solver_polynomial_raise_power (AgsSolverPolynomial *polynomial_a
,AgsSolverPolynomial *polynomial_b
,);
GError **error
Perform raising power of polynomial_a
and polynomial_b
.
Since:
ags_solver_polynomial_extract_root ()
AgsSolverPolynomial * ags_solver_polynomial_extract_root (AgsSolverPolynomial *polynomial_a
,AgsSolverPolynomial *polynomial_b
,);
GError **error
Perform raising power of polynomial_a
and polynomial_b
.
Since:
ags_solver_polynomial_new ()
AgsSolverPolynomial * ags_solver_polynomial_new ();
Instantiate a new AgsSolverPolynomial.
Since:
AGS_IS_SOLVER_POLYNOMIAL()
#define AGS_IS_SOLVER_POLYNOMIAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SOLVER_POLYNOMIAL))
AGS_IS_SOLVER_POLYNOMIAL_CLASS()
#define AGS_IS_SOLVER_POLYNOMIAL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SOLVER_POLYNOMIAL))
AGS_SOLVER_POLYNOMIAL()
#define AGS_SOLVER_POLYNOMIAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SOLVER_POLYNOMIAL, AgsSolverPolynomial))
AGS_SOLVER_POLYNOMIAL_CLASS()
#define AGS_SOLVER_POLYNOMIAL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SOLVER_POLYNOMIAL, AgsSolverPolynomialClass))
AGS_SOLVER_POLYNOMIAL_GET_CLASS()
#define AGS_SOLVER_POLYNOMIAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_SOLVER_POLYNOMIAL, AgsSolverPolynomialClass))
Types and Values
AGS_SOLVER_POLYNOMIAL_ERROR
#define AGS_SOLVER_POLYNOMIAL_ERROR (ags_solver_polynomial_error_quark())
Property Details
The “coefficient”
property
“coefficient”char *
The assigned coefficient.
Owner: AgsSolverPolynomial
Flags: Read / Write
Default value: NULL
Since:
The “coefficient-value”
property
“coefficient-value” AgsComplex *
Coefficient value.
Owner: AgsSolverPolynomial
Flags: Read / Write
Since:
The “exponent”
property
“exponent”gpointer
The assigned exponent.
Owner: AgsSolverPolynomial
Flags: Read
Since:
The “exponent-value”
property
“exponent-value”gpointer
Exponent value.
Owner: AgsSolverPolynomial
Flags: Read
Since:
The “polynomial”
property
“polynomial”char *
The assigned polynomial.
Owner: AgsSolverPolynomial
Flags: Read / Write
Default value: NULL
Since: