jit_scalar function

Adds the 'jit_scalar' class to the input

Adds the 'jit_scalar' class to the input

Allows disambiguating length 1 vectors from scalars when passing them to the jit.

jit_scalar(x)

Arguments

  • x: a length 1 R vector.
  • Maintainer: Daniel Falbel
  • License: MIT + file LICENSE
  • Last published: 2025-02-14