cmatrix.mirror¶
- cmatrix.mirror()¶
Local util mirror constructor to Pascal triangle generator.
Parameters
Type
Description
array
int list
The list containing the first half of the binomial coefficients suit.
dim
int
The dimension of the binomial coefficients suit.
- Returns
- list
Pascal triangle mirror line from an half size one
Examples
>>> mirror([1,3],4) [1, 3, 3, 1]