parameters: (x, lb, ub)
return_statement: return np.all((x >= lb) & (x <= ub))
docstring: Check if a point lies within bounds.
docstring_summary: Check if a point lies within bounds.
docstring_tokens: Check if a point lies within bounds .
function: def in_bounds(x, lb, ub):
      """Check if a point lies within bounds."""
      return np.all((x >= lb) & (x <= ub))
function_tokens: def in_bounds ( x , lb , ub ) : return np . all ( ( x >= lb ) & ( x <= ub ) )