fmpz_mat_scalar_mul_2exp, fmpz_mat_scalar_tdiv_q_2exp
Synopsis
#include <flint/fmpz_mat.h>void fmpz_mat_scalar_mul_2exp(fmpz_mat_t B, const fmpz_mat_t A, ulong exp)sourcevoid fmpz_mat_scalar_tdiv_q_2exp(fmpz_mat_t B, const fmpz_mat_t A, ulong exp)sourceSets B = 2^{\mathit{exp}} A, respectively B to the entries of A / 2^{\mathit{exp}} rounded towards zero. Aliasing is allowed.
Cite this page
The FLINT team, “fmpz_mat_scalar_mul_2exp, fmpz_mat_scalar_tdiv_q_2exp (fmpz_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_mat/fmpz_mat_scalar_mul_2exp.html (generated 2026-10-20).
@misc{flint-doc-fmpz-mat-fmpz-mat-scalar-mul-2exp,
author = {{The FLINT team}},
title = {{fmpz\_mat\_scalar\_mul\_2exp, fmpz\_mat\_scalar\_tdiv\_q\_2exp (fmpz\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_mat/fmpz_mat_scalar_mul_2exp.html},
note = {Generated 2026-10-20}
}