class_docstr: Add a random displacement of maximum size `stepsize` to each coordinate.
  
  Calling this updates `x` in-place.
  
  Parameters
  ----------
  stepsize : float, optional
      Maximum stepsize in any dimension
  random_gen : {None, int, `numpy.random.Generator`,
                `numpy.random.RandomState`}, optional
  
      If `seed` is None (or `np.random`), the `numpy.random.RandomState`
      singleton is used.
      If `seed` is an int, a new ``RandomState`` instance is used,
      seeded with `seed`.
      If `seed` is already a ``Generator`` or ``RandomState`` instance then
      that instance is used.
class_docstr_tok: ["Add","a","random","displacement","of","maximum","size","`","stepsize","`","to","each","coordinate",".","Calling","this","updates","`","x","`","in-place",".","Parameters","--","--","--","--","--","stepsize",":","float",",","optional","Maximum","stepsize","in","any","dimension","random_gen",":","{","None",",","int",",","`","numpy.random.Generator","`",",","`","numpy.random.RandomState","`","}",",","optional","If","`","seed","`","is","None","(","or","`","np.random","`",")",",","the","`","numpy.random.RandomState","`","singleton","is","used",".","If","`","seed","`","is","an","int",",","a","new","``","RandomState","``","instance","is","used",",","seeded","with","`","seed","`",".","If","`","seed","`","is","already","a","``","Generator","``","or","``","RandomState","``","instance","then","that","instance","is","used","."]
code: def __call__(self, x):
      x += self.random_gen.uniform(
          -self.stepsize, self.stepsize, np.shape(x)
      )
      return x
  
imports: import numpy
  import math
  from numpy import cos, sin
  import scipy.optimize
  from scipy._lib._util import check_random_state
label_desc: Use image node_id 2 for calling the RandomDisplacement obj's underlying member method code with example usage: obj.__call__(x) and returns: x