FLINT3.7.0-dev

gr_stirling_s1u_ui_vec, gr_stirling_s1_ui_vec, gr_stirling_s2_ui_vec

Synopsis#include <flint/gr_special.h>
int gr_stirling_s1u_ui_vec(gr_ptr res, ulong x, slong len, gr_ctx_t ctx)source
int gr_stirling_s1_ui_vec(gr_ptr res, ulong x, slong len, gr_ctx_t ctx)source
int gr_stirling_s2_ui_vec(gr_ptr res, ulong x, slong len, gr_ctx_t ctx)source

Write the row S(x, 0), S(x, 1), \ldots, S(x, \mathit{len} - 1) of the respective Stirling numbers to res. For a two-dimensional table, gr_mat_stirling is faster than repeated calls.

Cite this page

The FLINT team, “gr_stirling_s1u_ui_vec, gr_stirling_s1_ui_vec, gr_stirling_s2_ui_vec (gr_special.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_special/gr_stirling_s1u_ui_vec.html (generated 2026-10-20).