code: def _asvector(self, arr):
          
          result = moveaxis(arr, [-2, -1], [0, 1])
          return self.domain.element(result)
docs: Convert ``arr`` to a `domain` element.
  
          This is the inverse of `_asarray`.