Chapter 1. Discrete Maths

Table of Contents

specfun_combine — Returns the all the combinations of the given vectors.
specfun_combinerepeat — Returns repeated combinations with replacement.
specfun_factorial — The factorial function
specfun_factoriallog — The log-factorial function
specfun_nchoosek — Returns the binomial number (n,k).
specfun_pascal — Returns the Pascal matrix.
specfun_subset — Generate all combinations of k values from x without replacement.