class_docstr: Class for manifolds.
  
  Parameters
  ----------
  dim : int
      Dimension of the manifold.
  shape : tuple of int
      Shape of one element of the manifold.
      Optional, default : None.
  default_coords_type : str, {'intrinsic', 'extrinsic', etc}
      Coordinate type.
      Optional, default: 'intrinsic'.
  equip : bool
      If True, equip space with default metric.
  
  Attributes
  ----------
  point_ndim : int
      Dimension of point array.
  default_point_type : str
      Point type: "vector" or "matrix".
code: def __init__(
      self,
      dim,
      shape,
      default_coords_type="intrinsic",
      equip=True,
  ):
      geomstats.errors.check_integer(dim, "dim")
  
      if not isinstance(shape, tuple):
          raise ValueError("Expected a tuple for the shape argument.")
  
      self.dim = dim
      self.shape = shape
      self.default_coords_type = default_coords_type
  
      self.point_ndim = len(self.shape)
      if self.point_ndim == 1:
          self.default_point_type = "vector"
      elif self.point_ndim == 2:
          self.default_point_type = "matrix"
      else:
          self.default_point_type = "other"
  
      if equip:
          self.equip_with_metric()
  
file_path: geomstats/geomstats/geometry/manifold.py
imports: import abc
  import geomstats.backend
  import geomstats.errors
label_desc: Use image node_id 1 to create a new Manifold object from inherited base classes: abc with example: obj = Manifold(dim, shape, default_coords_type, equip)