2023-08-11 15:32:56 +0200 | commented answer | simplify fractions in a matrix Thank you so much! It works. |
2023-08-11 15:32:37 +0200 | marked best answer | simplify fractions in a matrix Here is the code I used in SageMath computations. var('a11,a12,a21,a22,b1,b2') A = matrix([[a11,a12,b1],[a21,a22,b2]]) A.add_multiple_of_row(1,0,-a21/a11) pretty_print(A) The output is as follows. Is it possible to simplify the entries in the form a/b? Thanks for your time. |
2023-08-11 15:32:37 +0200 | received badge | ● Scholar (source) |
2023-08-11 08:50:57 +0200 | asked a question | simplify fractions in a matrix simplify fractions in a matrix Here is the code I used in SageMath computations. var('a11,a12,a21,a22,b1,b2') A = matr |
2023-07-14 17:30:23 +0200 | received badge | ● Popular Question (source) |
2023-06-06 14:50:58 +0200 | received badge | ● Famous Question (source) |
2022-12-23 12:58:40 +0200 | received badge | ● Supporter (source) |
2022-12-21 15:35:26 +0200 | asked a question | A linear algebra question A linear algebra question Is it possible to solve this linear algebra question by SageMath? Given column vectors v1=[1, |
2022-05-17 14:46:15 +0200 | received badge | ● Notable Question (source) |
2021-03-25 07:34:41 +0200 | received badge | ● Popular Question (source) |
2020-05-13 15:43:35 +0200 | commented answer | Latex and SageMath Thank you so much. It seems that I'd better type the matrix into the system since I just occasionally use sagemath. |
2020-05-12 19:20:56 +0200 | commented question | Latex and SageMath Are you able to give me some reference to read? |
2020-05-12 10:03:08 +0200 | commented question | Latex and SageMath Thanks a lot for replying my question. |
2020-05-12 04:12:43 +0200 | received badge | ● Student (source) |
2020-05-12 04:12:08 +0200 | asked a question | Latex and SageMath I donot know how to exactly state my question. I gonna give an example. Step 1. Type in A=matrix([[1,-3,-4,3],[-4,6,-2,3],[-3,7,6,-4]]) Step 2. latex(A) gives the latex code for this matrix. My question is that given a latex code, is there a way to converts to SageMath code? I am new to SageMath. As an instructor of math for 5 years, I have many resources prepared in latex code. So I really wanna converts them to SageMath instead of type it again. Thank you in advance. |