code: def apply_to_vector(self, vector):
          
          if isinstance(vector, np.ndarray):
              vector = vector.tolist()
  
          libfn = utils.get_lib_fn('transformVector%s' % (self._libsuffix))
          return np.asarray(libfn(self.pointer, vector))
docs: Apply transform to a vector
  
          Arguments
          ---------
          vector : list/tuple
              vector to which the transform will be applied
  
          Returns
          -------
          list : transformed vector