def __init__(self, dim, mtail, maxpts): """Initialize the system Args: dim: Dimension of the system mtail: Dimension of the polynomial tail maxpts: Initial estimate of maximum number of centers """ self._mtail = mtail self._xmgr = ArrayManager((0, dim), (maxpts, dim)) self._Mmgr = ArrayManager((self.nsys, self.nsys)) self.new_points = 0
def __init__(self, rbfs): """Initialize the surface Args: rbfs: RBF system object """ self._fxmgr = ArrayManager((rbfs.nsys,)) self.coeff = None self.rbfs = rbfs self.dirty = True