PPL C Language Interface 2.0
ppl_Artificial_Parameter_tag Interface Reference

Types and functions for PIP artificial parameters. More...

#include <ppl_c_header.h>

(Note that these are not member symbols.)

int ppl_Artificial_Parameter_get_Linear_Expression (ppl_const_Artificial_Parameter_t ap, ppl_Linear_Expression_t le)
 Copies into le the linear expression in artificial parameter ap.
int ppl_Artificial_Parameter_coefficient (ppl_const_Artificial_Parameter_t ap, ppl_dimension_type var, ppl_Coefficient_t n)
 Copies into n the coefficient of variable var in the artificial parameter ap.
int ppl_Artificial_Parameter_inhomogeneous_term (ppl_const_Artificial_Parameter_t ap, ppl_Coefficient_t n)
 Copies into n the inhomogeneous term of the artificial parameter ap.
int ppl_Artificial_Parameter_denominator (ppl_const_Artificial_Parameter_t ap, ppl_Coefficient_t n)
 Copies into n the denominator in artificial parameter ap.
int ppl_io_print_Artificial_Parameter (ppl_const_Artificial_Parameter_t x)
 Prints x to stdout.
int ppl_io_fprint_Artificial_Parameter (FILE *stream, ppl_const_Artificial_Parameter_t x)
 Prints x to the given output stream.
int ppl_io_asprint_Artificial_Parameter (char **strp, ppl_const_Artificial_Parameter_t x)
 Prints x to a malloc-allocated string, a pointer to which is returned via strp.
int ppl_Artificial_Parameter_ascii_dump (ppl_const_Artificial_Parameter_t x, FILE *stream)
 Dumps an ascii representation of x on stream.
int ppl_Artificial_Parameter_ascii_load (ppl_Artificial_Parameter_t x, FILE *stream)
 Loads an ascii representation of x from stream.

Detailed Description

Types and functions for PIP artificial parameters.

The types and functions for PIP artificial parameters provide an interface towards Artificial_Parameter.

◆ ppl_Artificial_Parameter_get_Linear_Expression()

int ppl_Artificial_Parameter_get_Linear_Expression ( ppl_const_Artificial_Parameter_t ap,
ppl_Linear_Expression_t le )
related

Copies into le the linear expression in artificial parameter ap.

Parameters
apThe borrowed handle to the input object.
leThe linear-expression handle updated by the operation.
Returns
Zero on success; a negative error code on failure.

◆ ppl_Artificial_Parameter_coefficient()

int ppl_Artificial_Parameter_coefficient ( ppl_const_Artificial_Parameter_t ap,
ppl_dimension_type var,
ppl_Coefficient_t n )
related

Copies into n the coefficient of variable var in the artificial parameter ap.

Parameters
apThe borrowed handle to the input object.
varThe index of the selected space dimension.
nThe coefficient handle receiving the requested value.
Returns
Zero on success; a negative error code on failure.

◆ ppl_Artificial_Parameter_inhomogeneous_term()

int ppl_Artificial_Parameter_inhomogeneous_term ( ppl_const_Artificial_Parameter_t ap,
ppl_Coefficient_t n )
related

Copies into n the inhomogeneous term of the artificial parameter ap.

Parameters
apThe borrowed handle to the input object.
nThe coefficient handle receiving the requested value.
Returns
Zero on success; a negative error code on failure.

◆ ppl_Artificial_Parameter_denominator()

int ppl_Artificial_Parameter_denominator ( ppl_const_Artificial_Parameter_t ap,
ppl_Coefficient_t n )
related

Copies into n the denominator in artificial parameter ap.

Parameters
apThe borrowed handle to the input object.
nThe coefficient handle receiving the requested value.
Returns
Zero on success; a negative error code on failure.

◆ ppl_io_print_Artificial_Parameter()

int ppl_io_print_Artificial_Parameter ( ppl_const_Artificial_Parameter_t x)
related

Prints x to stdout.

Parameters
xThe borrowed handle to the input object.
Returns
Zero on success; a negative error code on failure.

◆ ppl_io_fprint_Artificial_Parameter()

int ppl_io_fprint_Artificial_Parameter ( FILE * stream,
ppl_const_Artificial_Parameter_t x )
related

Prints x to the given output stream.

Parameters
streamThe file stream to which output is written.
xThe borrowed handle to the input object.
Returns
Zero on success; a negative error code on failure.

◆ ppl_io_asprint_Artificial_Parameter()

int ppl_io_asprint_Artificial_Parameter ( char ** strp,
ppl_const_Artificial_Parameter_t x )
related

Prints x to a malloc-allocated string, a pointer to which is returned via strp.

Parameters
strpReceives the newly malloc-allocated string; the caller must release it with free().
xThe borrowed handle to the input object.
Returns
Prints x to a malloc-allocated string, a pointer to which is returned via strp.

◆ ppl_Artificial_Parameter_ascii_dump()

int ppl_Artificial_Parameter_ascii_dump ( ppl_const_Artificial_Parameter_t x,
FILE * stream )
related

Dumps an ascii representation of x on stream.

Parameters
xThe borrowed handle to the input object.
streamThe file stream to which output is written.
Returns
Zero on success; a negative error code on failure.

◆ ppl_Artificial_Parameter_ascii_load()

int ppl_Artificial_Parameter_ascii_load ( ppl_Artificial_Parameter_t x,
FILE * stream )
related

Loads an ascii representation of x from stream.

Parameters
xThe first input value.
streamThe file stream from which input is read.
Returns
Zero on success; a negative error code on failure.

The documentation for this interface was generated from the following file: