def local_to_global_param(self, d, *args): """ Convert parameter(s) from local domain 0 <= u,v <= 1 to global domain a <= u,v <= b. :param str d: Direction ('u' or 'v'). :param args: Local parameter(s). :return: Global parameter(s). """ if d.lower() in ['u']: return local_to_global_param(self._u0, self._u1, *args) else: return local_to_global_param(self._v0, self._v1, *args)
def local_to_global_param(self, *args): """ Convert parameter(s) from local domain 0 <= u <= 1 to global domain a <= u <= b. :param args: Local parameter(s). :return: Global parameter(s). """ return local_to_global_param(self._a, self._b, *args)
def local_to_global_param(self, *args): """ Convert parameter(s) from local domain 0 <= u <= 1 to global domain a <= u <= b. :param args: Local parameter(s). :return: Global parameter(s). :rtype: float or list of floats """ return local_to_global_param(self._u0, self._u1, *args)