gr_mat_pascal
Synopsis
#include <flint/gr_mat.h>Sets res to a Pascal matrix of binomial coefficients: for triangular 0 the symmetric matrix with entries \binom{i+j}{i} (the rows of Pascal's triangle along the antidiagonals), for 1 the upper triangular matrix with entries \binom{j}{i}, and for -1 the lower triangular matrix with entries \binom{i}{j}.
Cite this page
The FLINT team, “gr_mat_pascal (gr_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_mat/gr_mat_pascal.html (generated 2026-10-20).
@misc{flint-doc-gr-mat-gr-mat-pascal,
author = {{The FLINT team}},
title = {{gr\_mat\_pascal (gr\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr_mat/gr_mat_pascal.html},
note = {Generated 2026-10-20}
}