parameters: (block_lists)
return_statement: return vstack(row_blocks)
docstring: Constructs a block matrix.
  
      Takes a list of lists. Each internal list is stacked horizontally.
      The internal lists are stacked vertically.
  
      Parameters
      ----------
      block_lists : list of lists
          The blocks of the block matrix.
  
      Return
      ------
      CVXPY expression
          The CVXPY expression representing the block matrix.
docstring_summary: Constructs a block matrix.
docstring_tokens: Constructs a block matrix .
function: def bmat(block_lists):
      """Constructs a block matrix.
  
      Takes a list of lists. Each internal list is stacked horizontally.
      The internal lists are stacked vertically.
  
      Parameters
      ----------
      block_lists : list of lists
          The blocks of the block matrix.
  
      Return
      ------
      CVXPY expression
          The CVXPY expression representing the block matrix.
      """
      row_blocks = [hstack(blocks) for blocks in block_lists]
      return vstack(row_blocks)
function_tokens: def bmat ( block_lists ) : row_blocks = [ hstack ( blocks ) for blocks in block_lists ] return vstack ( row_blocks )