Access to linear constraints of level 1
- Function: ap_environment_t* ap_lincons1_envref (ap_lincons1_t* cons)
- Get a reference to the environment. Do not free it.
- Function: ap_constyp_t* ap_lincons1_constypref (ap_lincons1_t* cons)
- Get a reference to the type of constraint. You may use the reference
to modify the constraint type.
- Function: ap_linexpr1_t ap_lincons1_linexpr1ref (ap_lincons1_t* cons)
- Get a reference to the underlying expression of the constraint. Do
not free it: nothing is duplicated. Modifying the argument or the
result is equivalent, except for change of dimensions/environment.
- Function: void ap_lincons1_get_cst (ap_coeff_t* coeff, ap_lincons1_t* cons)
-
- Function: void ap_lincons1_set_cst (ap_lincons1_t* cons, ap_coeff_t* cst)
-
- Function: bool ap_lincons1_get_coeff (ap_coeff_t* coeff, ap_lincons1_t* cons, ap_var_t var)
-
- Function: bool ap_lincons1_set_coeff (ap_lincons1_t* cons, ap_var_t var, ap_coeff_t* coeff)
-
- Function: bool ap_lincons1_set_list (ap_lincons1_t* cons, ...)
-
- Function: ap_coeff_t* ap_lincons1_cstref (ap_lincons1_t* cons)
-
- Function: ap_coeff_t* ap_lincons1_coeffref (ap_lincons1_t* cons, ap_var_t var)
- Identical to corresponding
ap_linexpr1_XXX
functions
(see section Access to linear expressions of level 1).
- Function: ap_lincons0_t* ap_lincons1_lincons0ref (ap_lincons1_t* cons)
- Return underlying constraint of level 0.
Do not free it: nothing is duplicated.
Modifying the argument or the result is equivalent, except for
change of dimensions/envionment.
This document was generated
by Bertrand Jeannet on December, 22 2009
using texi2html