(self)
alias ``reset``, set all state variables to initial values
alias ``reset``, set all state variables to initial values
alias reset set all state variables to initial values
def initialize(self):
        """alias ``reset``, set all state variables to initial values"""
        N = self.N
        self.mean = array(self.x0, copy=True)
        self.sigma = self.sigma0
        self.sigmai = np.ones(N)
        self.ps = np.zeros(N)  # path for individual and globalstep-size(s)
        self.r = np.zeros(N)
        self.pr = 0         # cumulation for zr = N(0,1)
        self.sigma_r = 0
def initialize ( self ) : N = self . N self . mean = array ( self . x0 , copy = True ) self . sigma = self . sigma0 self . sigmai = np . ones ( N ) self . ps = np . zeros ( N ) # path for individual and globalstep-size(s) self . r = np . zeros ( N ) self . pr = 0 # cumulation for zr = N(0,1) self . sigma_r = 0