code: def conjugate(q):
      """Compute the conjugate of a quaternion."""
      return jnp.concatenate([-im(q), re(q)], axis=-1)
  
file_path: nerfies/nerfies/quaternion.py
imports: from jax import numpy
  from jax.numpy import linalg
label_desc: Use image node_id 5 for calling a global function with example usage: conjugate(q) and returns: jnp