FLINT3.7.0-dev

acb_mzeta_mzv_index, acb_mzeta_mzv_index_composition

Synopsis#include <flint/acb_mzeta.h>
ulong acb_mzeta_mzv_index(const ulong * s, slong r)source
slong acb_mzeta_mzv_index_composition(ulong * s, ulong m)source

Conversions between an admissible index ss and the integer m=(1y)2m = (1 y)_2 where x0yx1x_0 y x_1 is the word of ss (written with the digits 0=x00 = x_0, 1=x11 = x_1), as in PARI/GP's zetamultconvert: the indices of weight kk are 2k−2≤m<2k−12^{k-2} \le m < 2^{k-1}. The first function returns 0 if ss is not admissible or its weight exceeds FLINT_BITS; the second writes the index to s (room for k−1k - 1 entries) and returns its depth.

Cite this page

The FLINT team, “acb_mzeta_mzv_index, acb_mzeta_mzv_index_composition (acb_mzeta.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/acb_mzeta/acb_mzeta_mzv_index.html (generated 2026-11-07).