[英]Symbolic solution of linear systems in Java
Consider a typical system of equations like the following: 考虑一个典型的方程组,如下所示:
p x + 3 y = 0
2 x + q y = 0
Where p and q are symbols (they do not take values). 其中p和q是符号(它们不带值)。 I want to solve the system with a symbolic expression, for x and y, containing p and q.
我想用x和y的符号表达式来解决系统,包含p和q。
I tried question How to Solve Equations with Java and How to Solve algebraic equations , but these are interested only in finding the arithmetic (not symbolic) values of x and y. 我试过问题如何用Java解决方程以及如何求解代数方程 ,但这些只对找到x和y的算术(非符号)值感兴趣。
I'd like to know if there are Java packages that can handle symbolic calculation to solve such systems. 我想知道是否有Java包可以处理符号计算来解决这样的系统。
See another question: https://stackoverflow.com/questions/2574949/is-there-something-like-sympy-for-java , its responses point to useful symbolic math libraries usable in Java. 请参阅另一个问题: https : //stackoverflow.com/questions/2574949/is-there-something-like-sympy-for-java ,其响应指向可用于Java的有用的符号数学库。 You could find useful pointers also among the JAS related resources page.
您可以在JAS相关资源页面中找到有用的指针。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.