ASKSAGE: Sage Q&A Forum - Latest question feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 03 Feb 2016 13:08:49 -0600Will "solve_right" return integer solutions if one exists?https://ask.sagemath.org/question/32430/will-solve_right-return-integer-solutions-if-one-exists/ If A is an integer matrix and b is an integer vector, then will the command `A.solve_right(b)` return an integer vector if the equation Ax=b is solvable over the integers?
done_with_fishWed, 03 Feb 2016 13:08:49 -0600https://ask.sagemath.org/question/32430/Solving system of linear equations over GF(2)https://ask.sagemath.org/question/32145/solving-system-of-linear-equations-over-gf2/ I tried solving system of equations using Matrix's solve_right(x) method. However, I want to check if the solution is unique. How can I achieve this? For a square matrix I do it by checking if A.determinant() != 0 (where A is the coefficients matrix). Is there some built in function to test uniqueness of matrix equation solution? I would like to return the solution if it is unique and show a message if there is no solution, or multiple solutions exist.
Thank you in advance!gilievSun, 10 Jan 2016 09:02:14 -0600https://ask.sagemath.org/question/32145/solving homogeneous system of linear equationshttps://ask.sagemath.org/question/8552/solving-homogeneous-system-of-linear-equations/The system is written on the form Ax=0. I know this can be done by using, for example,
solve([eq1==0,eq2==0],x1,x2)
But this is somewhat complex. I wonder if the system can be directly solved by A.solve_right or some other simpler notation? lainmeWed, 14 Dec 2011 02:53:03 -0600https://ask.sagemath.org/question/8552/