FLINT3.7.0-dev

ca_mat_set_ca

Synopsis#include <flint/ca_mat.h>
void ca_mat_set_ca(ca_mat_t y, const ca_t x, ca_ctx_t ctx)source

Sets y to the matrix with x on the main diagonal and zeros elsewhere (it need not be square).

Cite this page

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