class_docstr: This discretization assumes that the field is a linear function of the
  parameters contained in `Linear.params`.
class_docstr_tok: ["This","discretization","assumes","that","the","field","is","a","linear","function","of","the","parameters","contained","in","`","Linear.params","`","."]
code: def __eq__(self, other):
      return tree_equal(self, other) * (self.domain == other.domain)
  
imports: import warnings
  from typing import Callable, TypeVar
  import equinox
  from equinox import tree_equal
  from jax import eval_shape
  from jax import numpy
  from jax import vmap
  from jaxtyping import PyTree
  from jaxdf.core import Field
  from jaxdf.geometry import Domain
label_desc: Use image node_id 1 for calling the Linear obj's underlying member method code with example usage: obj.__eq__(other) and returns: unknown