parameters: (
          self,
          hilbert: AbstractHilbert,
          afun: Callable,
          coefficient: float = 1.0,
          dtype: Optional[DType] = float,
      )
docstring: r"""
          Args:
              hilbert: The underlying Hilbert space on which the operator is defined
              afun: The potential energy as function of x
              coefficients: A coefficient for the ContinuousOperator object
              dtype: Data type of the matrix elements. Defaults to `np.float64`
docstring_summary: r"""
          Args:
              hilbert: The underlying Hilbert space on which the operator is defined
              afun: The potential energy as function of x
              coefficients: A coefficient for the ContinuousOperator object
              dtype: Data type of the matrix elements. Defaults to `np.float64`
docstring_tokens: r Args : hilbert : The underlying Hilbert space on which the operator is defined afun : The potential energy as function of x coefficients : A coefficient for the ContinuousOperator object dtype : Data type of the matrix elements . Defaults to np . float64
function: def __init__(
          self,
          hilbert: AbstractHilbert,
          afun: Callable,
          coefficient: float = 1.0,
          dtype: Optional[DType] = float,
      ):
          r"""
          Args:
              hilbert: The underlying Hilbert space on which the operator is defined
              afun: The potential energy as function of x
              coefficients: A coefficient for the ContinuousOperator object
              dtype: Data type of the matrix elements. Defaults to `np.float64`
          """
  
          self._afun = afun
  
          self.coefficient = jnp.array(coefficient, dtype=dtype)
  
          super().__init__(hilbert, self.coefficient.dtype)
function_tokens: def __init__ ( self , hilbert : AbstractHilbert , afun : Callable , coefficient : float = 1.0 , dtype : Optional [ DType ] = float , ) : self . _afun = afun self . coefficient = jnp . array ( coefficient , dtype = dtype ) super ( ) . __init__ ( hilbert , self . coefficient . dtype )