code: def test_continuous_derivative():
      def f(params, x):
          return jnp.sin(params * x)
  
      domain = geometry.Domain((8,), (1.0,))
      a = Continuous(1.5, domain, f)
      b = operators.derivative(a)
      da = lambda p, x: p * jnp.cos(p * x)
  
      p = jnp.asarray([2.0])
  
      f1 = b(p)
      f2 = da(1.5, p)
      assert jnp.allclose(f1, f2)
  
file_path: jaxdf/tests/test_differential.py
imports: import jax
  from jax import jit, make_jaxpr
  from jax import numpy
  from jaxdf import *
label_desc: Use image node_id 7 for calling a global function with example usage: test_continuous_derivative() and returns: jnp