parameters: (constraints)
return_statement: return np.hstack(constants)
docstring: Returns the constant term for the constraints matrix.
  
      Parameters
      ----------
      constraints : list
          The constraints that form the matrix.
  
      Returns
      -------
      NumPy NDArray
          The constant term as a flattened vector.
docstring_summary: Returns the constant term for the constraints matrix.
docstring_tokens: Returns the constant term for the constraints matrix .
function: def get_constr_constant(constraints):
      """Returns the constant term for the constraints matrix.
  
      Parameters
      ----------
      constraints : list
          The constraints that form the matrix.
  
      Returns
      -------
      NumPy NDArray
          The constant term as a flattened vector.
      """
      # TODO what if constraints is empty?
      constants = [get_constant(c.expr) for c in constraints]
      return np.hstack(constants)
function_tokens: def get_constr_constant ( constraints ) : # TODO what if constraints is empty? constants = [ get_constant ( c . expr ) for c in constraints ] return np . hstack ( constants )