LinearDiophantineEq
1 Attachment(s)
LinearDiophantineEq: will solve equation a*x+b*y=c
where x and y are integers, nothing special about it. https://www.techiedelight.com/find-general-solution-linear-diophantine-equation/ https://raw.githubusercontent.com/wandering007/algorithms/master/extended_gcd.cpp |
Quote:
Git |
Quote:
One may ask what if x and y are not integers but real numbers, then we will have an infinite number of solutions: for each x value there is a y value and for each y value there is a x value, which is another way of saying we don't have enough information about x and y from a single equation. |
All times are GMT +8. The time now is 15:56. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX