code: def rfftfreq(n: int, d: ArrayLike = 1.0, *, dtype=None) -> Array:
      dtype = dtype or dtypes.canonicalize_dtype(jnp.float_)
      if isinstance(n, (list, tuple)):
          raise ValueError(
              "The n argument of jax.numpy.fft.rfftfreq only takes an int. "
              "Got n = %s." % list(n)
          )
  
      elif isinstance(d, (list, tuple)):
          raise ValueError(
              "The d argument of jax.numpy.fft.rfftfreq only takes a single value. "
              "Got d = %s." % list(d)
          )
  
      if n % 2 == 0:
          k = jnp.arange(0, n // 2 + 1, dtype=dtype)
  
      else:
          k = jnp.arange(0, (n - 1) // 2 + 1, dtype=dtype)
  
      return k / jnp.array(d * n, dtype=dtype)
  
imports: from __future__ import annotations
  from collections.abc import Sequence
  import operator
  import numpy
  from jax import dtypes
  from jax import lax
  from jax._src.lib import xla_client
  from jax._src.util import safe_zip
  from jax._src.numpy.util import check_arraylike, _wraps
  from jax._src.numpy import lax_numpy
  from jax._src.numpy import ufuncs, reductions
  from jax._src.typing import Array, ArrayLike
label_desc: Use image node_id 21 for calling a global function with example usage: rfftfreq(n, d) and returns: unknown