class_docstr: Matrix implementation based on DomainMatrix as the internal representation
class_docstr_tok: ["Matrix","implementation","based","on","DomainMatrix","as","the","internal","representation"]
docstr: Returns a mutable version of this matrix
  
  Examples
  ========
  
  >>> from sympy import ImmutableMatrix
  >>> X = ImmutableMatrix([[1, 2], [3, 4]])
  >>> Y = X.as_mutable()
  >>> Y[1, 1] = 5 # Can set values in Y
  >>> Y
  Matrix([
  [1, 2],
  [3, 5]])
docstr_tok: ["Returns","a","mutable","version","of","this","matrix","Examples","========",">",">",">","from","sympy","import","ImmutableMatrix",">",">",">","X","=","ImmutableMatrix","(","[","[","1",",","2","]",",","[","3",",","4","]","]",")",">",">",">","Y","=","X.as_mutable","(",")",">",">",">","Y","[","1",",","1","]","=","5","#","Can","set","values","in","Y",">",">",">","Y","Matrix","(","[","[","1",",","2","]",",","[","3",",","5","]","]",")"]
code: def as_mutable(self):
      """Returns a mutable version of this matrix
  
      Examples
      ========
  
      >>> from sympy import ImmutableMatrix
      >>> X = ImmutableMatrix([[1, 2], [3, 4]])
      >>> Y = X.as_mutable()
      >>> Y[1, 1] = 5 # Can set values in Y
      >>> Y
      Matrix([
      [1, 2],
      [3, 5]])
      """
      return Matrix(self)
  
imports: import random
  from sympy.core.basic import Basic
  from sympy.core.singleton import S
  from sympy.core.symbol import Symbol
  from sympy.core.sympify import sympify
  from sympy.functions.elementary.trigonometric import cos, sin
  from sympy.utilities.decorator import doctest_depends_on
  from sympy.utilities.exceptions import sympy_deprecation_warning
  from sympy.utilities.iterables import is_sequence
  from .exceptions import ShapeError
  from .decompositions import _cholesky, _LDLdecomposition
  from .matrixbase import MatrixBase
  from .repmatrix import MutableRepMatrix, RepMatrix
  from .solvers import _lower_triangular_solve, _upper_triangular_solve
label_desc: Use image node_id 4 for calling the DenseMatrix obj's underlying member method code with example usage: obj.as_mutable() and returns: Matrix