Top |
gchar * | normalized-function | Read / Write |
gpointer | pivot-table | Read / Write |
gchar * | source-function | Read / Write |
#define | AGS_SYMBOLIC_EULER |
#define | AGS_SYMBOLIC_PI |
#define | AGS_SYMBOLIC_INFINIT |
#define | AGS_SYMBOLIC_COMPLEX_UNIT |
enum | AgsFunctionFlags |
gchar ** ags_function_find_literals (AgsFunction *function
,guint *n_symbols
);
Find literal symbols i.e. variable names.
Since: 0.7.2
void
ags_function_literal_solve (AgsFunction *function
);
Solves :source-function literally, allocates the pivot table and creates the normalized function.
Since: 0.7.2
gboolean ags_function_push_equation (AgsFunction *function
,gchar *equation
);
Push an equation to the solver stack.
Since: 0.7.2
void ags_function_pop_equation (AgsFunction *function
,GError **error
);
Pops the functions of the equation stack. Call this function as you're finished with pushing equations.
Since: 0.7.2
gchar * ags_function_get_expanded (AgsFunction *function
,gchar **symbols
,guint n_symbols
);
Expands symbols
to normalized form.
Since: 0.7.2
gchar *
ags_funciton_get_normalized (AgsFunction *function
);
Get internal normalized string.
Since: 0.7.2
AgsComplex * ags_function_compute_term (gchar *term
,gchar *substitute_symbol
,AgsComplex *substitute_value
);
Compute term by substituting substitute_symbol
with substitue_value
and do basic
solving.
term |
the term as string to compute |
|
substitute_symbol |
a variable to substitute |
|
substitute_value |
the AgsComplex value representing |
Since: 0.7.2
AgsComplex ** ags_function_symbolic_translate_value (AgsFunction *function
,gchar *symbol
,AgsComplex *value
);
Symbolic translate to value
for symbol
and compute resulting
vector.
Since: 0.7.2
gboolean ags_function_substitute_values (AgsFunction *function
,gchar *symbol
,...
);
Verify :source-function to be TRUE
or FALSE
by substiution.
function |
the AgsFunction |
|
symbol |
the first symbol as string, or |
|
... |
|
Since: 0.7.2
AgsComplex * ags_function_translate_value (AgsFunction *function
,AgsComplex *value
);
Translates value
by source function.
Since: 0.7.2
AgsFunction *
ags_function_new (gchar *source_function
);
Instantiate a new AgsFunction.
Since: 0.7.2
“normalized-function”
property“normalized-function” gchar *
The normalized form of function to use to translate values.
Flags: Read / Write
Default value: NULL
Since: 0.7.2
“pivot-table”
property“pivot-table” gpointer
The original pivot table representation.
Flags: Read / Write
Since: 0.7.2
“source-function”
property“source-function” gchar *
The function to use to translate values.
Flags: Read / Write
Default value: NULL
Since: 0.7.2