FLINT3.7.0-dev

ca_mat_jordan_blocks

Synopsis#include <flint/ca_mat.h>
int ca_mat_jordan_blocks(ca_vec_t lambda, slong * num_blocks, slong * block_lambda, slong * block_size, const ca_mat_t A, ca_ctx_t ctx)source

Computes the block structure of the Jordan canonical form of A and returns 1, or returns 0 on failure. Sets lambda to the distinct eigenvalues, num_blocks to the number of Jordan blocks, and for block i, block_lambda[i] to the index in lambda of its eigenvalue and block_size[i] to its size. The arrays must have room for n entries. The order of the blocks is unspecified. Wrapper of gr_mat_jordan_blocks.

Cite this page

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