FLINT3.7.0-dev

bool_mat_pow_ui

Synopsis#include <flint/bool_mat.h>
void bool_mat_pow_ui(bool_mat_t B, const bool_mat_t A, ulong exp)source

Sets B to A^{\mathit{exp}} by binary exponentiation, with A^0 the identity matrix. Throws an exception if A is not square.

Cite this page

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