Basic functions in the hyper2 package
1 2 3 4 5 6 7 8 9 10 11
A hyper2 object
A list whose elements specify the brackets of a hyper2 object
A vector of powers;
A character vector specifying the names of p_1 through p_n.
These are the basic functions of the hyper2 package. Function
hyper() is the low-level creator function;
a bit more user-friendly and attempts to coerce its arguments into a
suitable form; for example, a matrix is interpreted as rows of brackets.
is_valid_hyper2() tests for valid input, returning a
size() returns the (nominal) length n of
nonnegative vector p=(p_1,...,p_n)
where p_1+...+p_n=1. Note that function
lhyper2() takes the vector
Robin K. S. Hankin
p1 * (p1 + p2)^4 * p2^2 * (p2 + p3)^5 * p3^3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.