1 | initial version |
Okay, I found the solution. Finite vector spaces support iteration, so one can simply do
particular_soln = A.solve_right(b)
for homogeneous_soln in A.right_kernel():
particular_soln + homogeneous_soln
2 | No.2 Revision |
Okay, I found the solution. Finite vector spaces support iteration, so one can simply dodo:
particular_soln = A.solve_right(b)
for homogeneous_soln in A.right_kernel():
particular_soln + homogeneous_soln