|
def | _03d_pascal.binomial_array (n) |
| Compute n lines of the binomial array. More...
|
|
def | _03d_pascal.binomial_coefficient (n, m, method=2) |
| Compute \(n\) choose \(m\) or Combination \((n,m)\). More...
|
|
def | _03d_pascal.binomial_cumulative_distribution (p, n, x=None) |
| Compute the probability of getting at most \(x\) successes in \(n\) trials, which is the sum of the first \(x\) terms of the binomial expansion \((p+q)^n\). More...
|
|
def | _03d_pascal.exponent (val, type=False) |
| Return a superscript string for the given value. More...
|
|
def | _03d_pascal.binomial_expansion (e) |
| Compute the binomial expansion of \((x+y)^n\). More...
|
|
def | _03d_pascal.getNextRow (curr_row) |
| Computes the next row of a Pascal triangle, given the current row. More...
|
|
def | _03d_pascal.fmtRow (last_level, r, pad=True) |
| Formats a row of the Pascal triangle. More...
|
|
def | _03d_pascal.pascal (first_level, last_level, center=True) |
| Creates the pascal triangle between two levels. More...
|
|
def | _03d_pascal.pascal2 (first_level, last_level, center=True) |
| Creates the pascal triangle between two levels, using the binomial array. More...
|
|
def | _03d_pascal.main (argv=None) |
| Main function for testing. More...
|
|