Pascal matrix (source code)

= Pascal matrix
{wiki=Pascal_matrix}

A Pascal matrix, named after the French mathematician Blaise Pascal, is a specific type of matrix that is defined using binomial coefficients. An \\(n \\times n\\) Pascal matrix \\(P_n\\) is defined as follows: \\\[ P_n\[i, j\] = \\binom\{i + j\}\{j\} \\\] for \\(i, j = 0, 1, 2, \\ldots, n-1\\).