ppi {latte} | R Documentation |
Compute the primitive partition identities
Description
ppi runs 4ti2's ppi program to compute the primitive partition identities, that is, the Graver basis of 1:N.
Usage
ppi(N, dir = tempdir(), quiet = TRUE, shell = FALSE, ...)
Arguments
N |
A postive integer > 2 |
dir |
Directory to place the files in, without an ending / |
quiet |
If FALSE, messages the 4ti2 output |
shell |
Messages the shell code used to do the computation |
... |
Additional arguments to pass to the function |
Value
A matrix containing the basis as its columns (for easy addition to tables)
See Also
Examples
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)
}
[Package latte version 0.2.1 Index]