class_docstr: Lie algebra of the general linear group.
  
  This is the space of matrices.
  
  Parameters
  ----------
  n : int
      Integer representing the shape of the matrices: n x n.
docstr: Compute the coefficient in the usual matrix basis.
  
  This simply flattens the input.
  
  Parameters
  ----------
  matrix_representation : array-like, shape=[..., n, n]
      Matrix.
  
  Returns
  -------
  basis_representation : array-like, shape=[..., dim]
      Representation in the basis.
docstr_tok: ["Compute","the","coefficient","in","the","usual","matrix","basis",".","This","simply","flattens","the","input",".","Parameters","--","--","--","--","--","matrix_representation",":","array-like",",","shape=","[","...",",","n",",","n","]","Matrix",".","Returns","--","--","--","-","basis_representation",":","array-like",",","shape=","[","...",",","dim","]","Representation","in","the","basis","."]
code: def basis_representation(self, matrix_representation):
      """Compute the coefficient in the usual matrix basis.
  
      This simply flattens the input.
  
      Parameters
      ----------
      matrix_representation : array-like, shape=[..., n, n]
          Matrix.
  
      Returns
      -------
      basis_representation : array-like, shape=[..., dim]
          Representation in the basis.
      """
      return self._mat_space.flatten(matrix_representation)
  
imports: import geomstats.algebra_utils
  import geomstats.backend
  from geomstats.geometry.base import VectorSpaceOpenSet
  from geomstats.geometry.lie_algebra import MatrixLieAlgebra
  from geomstats.geometry.lie_group import MatrixLieGroup
  from geomstats.geometry.matrices import Matrices, MatricesMetric
label_desc: Use image node_id 4 for calling the SquareMatrices obj's underlying member method code with example usage: obj.basis_representation(matrix_representation) and returns: self