class_docstr: Class for the vector space of lower triangular matrices of size n.
  
  Parameters
  ----------
  n : int
      Integer representing the shapes of the matrices: n x n.
class_docstr_tok: ["Class","for","the","vector","space","of","lower","triangular","matrices","of","size","n.","Parameters","--","--","--","--","--","n",":","int","Integer","representing","the","shapes","of","the","matrices",":","n","x","n","."]
docstr: Compute the basis of the vector space of lower triangular.
  
  Returns
  -------
  basis : array-like, shape=[dim, n, n]
      Basis matrices of the space.
docstr_tok: ["Compute","the","basis","of","the","vector","space","of","lower","triangular",".","Returns","--","--","--","-","basis",":","array-like",",","shape=","[","dim",",","n",",","n","]","Basis","matrices","of","the","space","."]
code: def _create_basis(self):
      """Compute the basis of the vector space of lower triangular.
  
      Returns
      -------
      basis : array-like, shape=[dim, n, n]
          Basis matrices of the space.
      """
      tril_idxs = gs.ravel_tril_indices(self.n)
      vector_bases = gs.cast(
          gs.one_hot(tril_idxs, self.n * self.n),
          dtype=gs.get_default_dtype(),
      )
      return gs.reshape(vector_bases, [-1, self.n, self.n])
  
file_path: geomstats/geomstats/geometry/lower_triangular_matrices.py
imports: import geomstats.backend
  from geomstats.geometry.base import MatrixVectorSpace
  from geomstats.geometry.matrices import Matrices, MatricesMetric
label_desc: Use image node_id 3 for calling the LowerTriangularMatrices obj's underlying member method code with example usage: obj._create_basis() and returns: gs