But all such triples are non-primitive. I.e. they are of the form (ka, kb, kc) with k>1.
So all Pythagorean triples can be generated as a scaled primitive triple (a,b,c) that is generated by Euclid's formula from m,n.
Just pointing out what the theoretical documentation says. A stream should have operations for empty, current, and next. You don't want implementation details leaking into the abstract model.
I wrote something to make it simple to embed C++ in Excel. It is useful for pushing business logic into platform independent code that can be integrated into back end production systems. One bonus is the original spreadsheet has unit tests vetted by the business users.
https://github.com/xlladdins/xll
Attention Everyone!!! We have just found our killer AI app!!! Just imagine, you no longer need to talk to friends, family, or waste time on social networks to get a list of books you are never going to read!!!
I can't wait to start buying tulip bulbs for pennies on the dollar.
reply