Jack_julia {jack} | R Documentation |
Evaluate the Jack polynomials with Julia. This is highly faster.
Jack_julia()
A list of functions having the same names as the R functions of this
package (Jack
, JackPol
, Schur
, etc). The
XXXPol
functions have an argument poly
, whose possible
value is "mvp"
(default) or "gmpoly"
, and this is the
class of the polynomial returned by these functions. See the examples
and the README file.
See JuliaConnectoR-package
for
information about setting up Julia. If you want to directly use Julia,
you can use my package.
library(jack)
if(JuliaConnectoR::juliaSetupOk()){
julia <- Jack_julia()
# numerical evaluation ####
julia$Jack(x = c(2, 2/3), lambda = c(3, 1), alpha = 3/2)
# to pass rational numbers, use strings:
julia$Jack(x = c("2", "2/3"), lambda = c(3, 1), alpha = "3/2")
# symbolic polynomials ####
# for `JackPol`, you can pass a rational `alpha` as a string:
( pol <- julia$JackPol(m = 2, lambda = c(3, 1), alpha = "3/2") )
class(pol)
# you _must_ give `alpha` as a string if you choose `poly = "gmpoly"`
julia$JackPol(m = 2, lambda = c(3, 1), alpha = "3/2", poly = "gmpoly")
JuliaConnectoR::stopJulia()
}