tests/testthat/test-Dixon.R

test_that("Dixon functions relation", {
  z <- 1 + 2i
  expect_equal(
    cm(z)^3 + sm(z)^3, as.complex(1)
  )
})

Try the jacobi package in your browser

Any scripts or data that you put into this service are public.

jacobi documentation built on Nov. 19, 2023, 1:08 a.m.