You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
277 B
13 lines
277 B
from sympy.tensor.array.ndim_array import NDimArray
|
|
|
|
|
|
class MutableNDimArray(NDimArray):
|
|
|
|
def as_immutable(self):
|
|
raise NotImplementedError("abstract method")
|
|
|
|
def as_mutable(self):
|
|
return self
|
|
|
|
def _sympy_(self):
|
|
return self.as_immutable()
|