problem.getcoefformula
| problem.getcoefformula | 
  Purpose
 
 
 Retrieve a single matrix coefficient as a formula split into tokens
 
 
  Synopsis
 
  (factor, tokencount, type, value) = problem.getcoefformula (rowindex, colindex, parsed, bufsize) 
 
  Arguments
 
 | 
     rowindex 
     | 
     The row index for the coefficient.
     | 
| 
     colindex 
     | 
     The column index for the coefficient.
     | 
| 
     factor 
     | 
     The value of the constant factor multiplying the formula in the coefficient.
     | 
| 
     parsed 
     | 
     Integer indicating whether the formula of the item is to be returned in internal unparsed format (
     Parsed=0) or parsed (reverse Polish) format (
     Parsed=1).
     | 
| 
     bufsize 
     | 
     Maximum number of tokens to return, i.e. length of the Type and Value arrays.
     | 
| 
     tokencount 
     | 
     Number of tokens returned in Type and Value.
     | 
| 
     type 
     | 
     Array to hold the token types for the formula.
     | 
| 
     value 
     | 
     Array of values corresponding to
     Type.
     | 
  Example
 
 
 The following example displays the formula for the coefficient in row 2, column 3 in unparsed form:
 
 (fac, tc, type, value) = p.getcoefformula (2, 3, 0, 10)
  Further information
 
 The type and value arrays are terminated by an xslp_op_eof token.
If the requested coefficient is constant, then factor will be set to 1.0 and the value will be returned with token type xslp_op_con.
  Related topics
 
  
