Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Solution basis of underdetermined equation set in python

I have an underdetermined equation set (m equations of n variables, m smaller than n). As such, if it is solvable then the set of solutions are a linear space (if it is a homogenic set) or affine space (non-homogenic).

Is there an easy way in Python (possibly with other libraries) to obtain this space - for example, a basis of which?

Thanks.

like image 834
R S Avatar asked May 22 '26 06:05

R S


1 Answers

Use linalg package from SciPy

like image 145
vartec Avatar answered May 24 '26 21:05

vartec



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!