class_docstr: Class for the psd matrices.
  
  The class is redirecting to the correct embedding manifold.
  The stratum PSD rank k if the matrix is not full rank.
  The top stratum SPD if the matrix is full rank.
  The whole stratified space of PSD if no rank is specified.
  
  Parameters
  ----------
  n : int
      Integer representing the shapes of the matrices : n x n.
  k : int
      Integer representing the rank of the matrices.
class_docstr_tok: ["Class","for","the","psd","matrices",".","The","class","is","redirecting","to","the","correct","embedding","manifold",".","The","stratum","PSD","rank","k","if","the","matrix","is","not","full","rank",".","The","top","stratum","SPD","if","the","matrix","is","full","rank",".","The","whole","stratified","space","of","PSD","if","no","rank","is","specified",".","Parameters","--","--","--","--","--","n",":","int","Integer","representing","the","shapes","of","the","matrices",":","n","x","n.","k",":","int","Integer","representing","the","rank","of","the","matrices","."]
docstr: Instantiate class from one of the parent classes.
docstr_tok: ["Instantiate","class","from","one","of","the","parent","classes","."]
code: def __new__(
      cls,
      n,
      k,
      equip=True,
  ):
      """Instantiate class from one of the parent classes."""
      if n > k:
          return RankKPSDMatrices(n, k, equip=equip)
      if n == k:
          return SPDMatrices(n, equip=equip)
      raise NotImplementedError(
          "The PSD matrices is not implemented yet."
      )
  
imports: import geomstats.backend
  from geomstats.geometry.fiber_bundle import FiberBundle
  from geomstats.geometry.full_rank_matrices import FullRankMatrices
  from geomstats.geometry.general_linear import GeneralLinear
  from geomstats.geometry.manifold import Manifold
  from geomstats.geometry.matrices import Matrices, MatricesMetric
  from geomstats.geometry.quotient_metric import QuotientMetric
  from geomstats.geometry.spd_matrices import SPDEuclideanMetric, SPDMatrices
  from geomstats.geometry.special_orthogonal import SpecialOrthogonal
  from geomstats.geometry.symmetric_matrices import SymmetricMatrices
label_desc: Use image node_id 1 for calling the PSDMatrices obj's underlying member method code with example usage: obj.__new__(cls, n, k, equip) and returns: RankKPSDMatrices, SPDMatrices