parameters: (self,shift)
docstring: (`External API`)  Translate all points in the grid by a vector.
  
          Parameters
          ----------
          shift : `array_like, float, shape (d,)`
              Vector displacement used to translate the grid points.
docstring_summary: (`External API`)  Translate all points in the grid by a vector.
docstring_tokens: ( External API ) Translate all points in the grid by a vector .
function: def translate(self,shift):
          """
          (`External API`)  Translate all points in the grid by a vector.
  
          Parameters
          ----------
          shift : `array_like, float, shape (d,)`
              Vector displacement used to translate the grid points.
          """
          self.points += shift
function_tokens: def translate ( self , shift ) : self . points += shift