class_docstr: Represents probability space for
  Matrix Distributions.
class_docstr_tok: ["Represents","probability","space","for","Matrix","Distributions","."]
docstr: Internal sample method
  
  Returns dictionary mapping RandomMatrixSymbol to realization value.
code: def sample(self, size=(), library="scipy", seed=None):
      """
      Internal sample method
  
      Returns dictionary mapping RandomMatrixSymbol to realization value.
      """
      return {
          self.value: self.distribution.sample(
              size, library=library, seed=seed
          )
      }
  
imports: from math import prod
  from sympy.core.basic import Basic
  from sympy.core.numbers import pi
  from sympy.core.singleton import S
  from sympy.functions.elementary.exponential import exp
  from sympy.functions.special.gamma_functions import multigamma
  from sympy.core.sympify import sympify, _sympify
  from sympy.matrices import ImmutableMatrix, Inverse, Trace, Determinant, MatrixSymbol, MatrixBase, Transpose, MatrixSet, matrix2numpy
  from sympy.stats.rv import _value_check, RandomMatrixSymbol, NamedArgsMixin, PSpace, _symbol_converter, MatrixDomain, Distribution
  from sympy.external import import_module
label_desc: Use image node_id 6 for calling the MatrixPSpace obj's underlying member method code with example usage: obj.sample(size, library, seed) and returns: dict