So far I have used sagemath one command at one. I need solve hundreds of equations, with coefficients from text file and print output to text file. Sage enables environment like Python?
| 1 | initial version |
So far I have used sagemath one command at one. I need solve hundreds of equations, with coefficients from text file and print output to text file. Sage enables environment like Python?
So far I have used sagemath one command at one.
once.
I need solve hundreds of equations, with coefficients from text file and print output to text file.
Sage enables environment like Python?
So far I have used sagemath one command at once. I need solve hundreds of equations, with coefficients from text file and print output to text file. Sage enables environment like Python?
I want create input.sage file with equations like
eqA1 =1.754223-1.189676*x-0.908315*y+0.686618*x^2-0.725235*x*y-1.352818*y^2 == 0
eqB1 =1.463137-0.511047*x-0.297305*y-1.671951*x^2-0.100824*x*y-1.717723*y^2 == 0
eqA2 =
eqB2 =
.........
in main command/file do load('input.sage') and in loop solve its, and save results to text file
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.