Loading [MathJax]/jax/output/HTML-CSS/jax.js
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 9 years ago

d125q gravatar image

Enumerate all solutions to linear system over finite field

Assume I have a matrix A and a vector b, both over some finite field GF(q). I would like to enumerate _all_ solutions to Ax=b (there are only finitely many).

I can generate a particular solution using A b, and I can generate the nullspace of A using A.rightkernel(), but how should I combine the two to enumerate all solutions?

click to hide/show revision 2
No.2 Revision

Enumerate all solutions to linear system over finite field

Assume I have a matrix A and a vector b, both over some finite field GF(q). I would like to enumerate _all_ solutions to Ax=b (there are only finitely many).

I can generate a particular solution using $A A \ b$, b and I can generate the nullspace of A using A.rightkernel(), A.right_kernel(), but how should I combine the two to enumerate all solutions?