def update(self, param_vals):
        """Updates all the parameters of the state + rscale(z)"""
        self.update_rscl_x_params(param_vals[self.rscale_mask])
        self.state.update(self.param_names, param_vals[self.globals_mask])
        self.param_vals[:] = param_vals.copy()
        if np.any(np.isnan(self.state.residuals)):
            raise FloatingPointError('state update caused nans in residuals')
def update(self, param_vals):
        """Updates all the parameters of the state + rscale(z)"""
        self.update_rscl_x_params(param_vals[self.rscale_mask])
        self.state.update(self.param_names, param_vals[self.globals_mask])
        self.param_vals[:] = param_vals.copy()
        if np.any(np.isnan(self.state.residuals)):
            raise FloatingPointError('state update caused nans in residuals')
def update ( self , param_vals ) : self . update_rscl_x_params ( param_vals [ self . rscale_mask ] ) self . state . update ( self . param_names , param_vals [ self . globals_mask ] ) self . param_vals [ : ] = param_vals . copy ( ) if np . any ( np . isnan ( self . state . residuals ) ) : raise FloatingPointError ( 'state update caused nans in residuals' )
Updates all the parameters of the state + rscale(z)
Updates all the parameters of the state + rscale ( z )