powered by
ppi runs 4ti2's ppi program to compute the primitive partition identities, that is, the Graver basis of 1:N.
ppi(N, dir = tempdir(), quiet = TRUE, shell = FALSE, ...)
A postive integer > 2
Directory to place the files in, without an ending /
If FALSE, messages the 4ti2 output
Messages the shell code used to do the computation
Additional arguments to pass to the function
A matrix containing the basis as its columns (for easy addition to tables)
graver()
# NOT RUN { if (has_4ti2()) { ppi(3) t(ppi(3)) %*% 1:3 plot_matrix(ppi(3)) graver(t(1:3)) plot_matrix(graver(t(1:3))) ppi(5, quiet = FALSE, shell = TRUE) } # }
Run the code above in your browser using DataLab