class_docstr: Class for the space of matrices (m, n).
  
  Parameters
  ----------
  m, n : int
      Integers representing the shapes of the matrices: m x n.
class_docstr_tok: ["Class","for","the","space","of","matrices","(","m",",","n",")",".","Parameters","--","--","--","--","--","m",",","n",":","int","Integers","representing","the","shapes","of","the","matrices",":","m","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.flatten(matrix_representation)
  
imports: import logging
  import math
  from functools import reduce
  import geomstats.backend
  import geomstats.errors
  from geomstats.algebra_utils import flip_determinant, from_vector_to_diagonal_matrix
  from geomstats.geometry.base import MatrixVectorSpace
  from geomstats.geometry.euclidean import EuclideanMetric
  from geomstats.vectorization import repeat_out
label_desc: Use image node_id 4 for calling the Matrices obj's underlying member method code with example usage: obj.basis_representation(matrix_representation) and returns: self