FLINT3.7.0-dev

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)source
void fmpz_mat_scalar_tdiv_q_2exp(fmpz_mat_t B, const fmpz_mat_t A, ulong exp)source

Sets 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).