Function

AgsMathUtilsplit_polynomial

since: 3.2.0

Declaration [src]

void
ags_math_util_split_polynomial (
  gchar* polynomial,
  gchar*** factor,
  gchar*** factor_exponent
)

Description [src]

Split polynomial into coefficient, powers of symbols and summand.

Available since: 3.2.0

Parameters

polynomial

Type: gchar*

The polynomial.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
factor

Type: gchar***

The return location of factors.

The argument will be set by the function.
The called function takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.
factor_exponent

Type: gchar***

The return location of factor exponents.

The argument will be set by the function.
The called function takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.