<![CDATA[Math Is Fun Forum / working out which addends from a list will add up to a given value.]]>2012-05-02T23:23:36ZFluxBBhttp://www.mathisfunforum.com/viewtopic.php?id=17719<![CDATA[Re: working out which addends from a list will add up to a given value.]]>I wasn't even thinking about doing it by hand. It would be insane. Don't you think I have learned at least a little from you?]]>http://www.mathisfunforum.com/profile.php?id=1187862012-05-02T23:23:36Zhttp://www.mathisfunforum.com/viewtopic.php?pid=216229#p216229<![CDATA[Re: working out which addends from a list will add up to a given value.]]>You could do it but just do not do it by hand.]]>http://www.mathisfunforum.com/profile.php?id=337902012-05-02T23:14:30Zhttp://www.mathisfunforum.com/viewtopic.php?pid=216227#p216227<![CDATA[Re: working out which addends from a list will add up to a given value.]]>I think that you would have to let this one to procedural programming,because it is too much to write every function separately.]]>http://www.mathisfunforum.com/profile.php?id=1187862012-05-02T22:42:36Zhttp://www.mathisfunforum.com/viewtopic.php?pid=216223#p216223<![CDATA[Re: working out which addends from a list will add up to a given value.]]>Some times it is impossible to avoid. This one took about 5 minutes.]]>http://www.mathisfunforum.com/profile.php?id=337902012-05-02T22:35:58Zhttp://www.mathisfunforum.com/viewtopic.php?pid=216219#p216219<![CDATA[Re: working out which addends from a list will add up to a given value.]]>Oh,the sum function. But wouldn't it be time consuming to write out that many functions?]]>http://www.mathisfunforum.com/profile.php?id=1187862012-05-02T22:30:59Zhttp://www.mathisfunforum.com/viewtopic.php?pid=216215#p216215<![CDATA[Re: working out which addends from a list will add up to a given value.]]>Same thing I was attempting to get you to do in Maxima. M works in the same way.]]>http://www.mathisfunforum.com/profile.php?id=337902012-05-02T22:28:21Zhttp://www.mathisfunforum.com/viewtopic.php?pid=216213#p216213<![CDATA[Re: working out which addends from a list will add up to a given value.]]>Wait,I don't understand what you would do to get the result.]]>http://www.mathisfunforum.com/profile.php?id=1187862012-05-02T22:27:25Zhttp://www.mathisfunforum.com/viewtopic.php?pid=216212#p216212<![CDATA[Re: working out which addends from a list will add up to a given value.]]>You do not use even them to do it. M supports polynomial arithmetic and rational functions. In C++ you write a polynomial class.]]>http://www.mathisfunforum.com/profile.php?id=337902012-05-02T22:25:14Zhttp://www.mathisfunforum.com/viewtopic.php?pid=216209#p216209<![CDATA[Re: working out which addends from a list will add up to a given value.]]>Wow,any of the people who thought me English would kill me if I said that.

So,how do you use lists for setting up GFs?

]]>http://www.mathisfunforum.com/profile.php?id=1187862012-05-02T22:21:11Zhttp://www.mathisfunforum.com/viewtopic.php?pid=216207#p216207<![CDATA[Re: working out which addends from a list will add up to a given value.]]>Python does do some functional programming.]]>http://www.mathisfunforum.com/profile.php?id=337902012-05-02T22:19:19Zhttp://www.mathisfunforum.com/viewtopic.php?pid=216204#p216204<![CDATA[Re: working out which addends from a list will add up to a given value.]]>So,do you mean like ordered and unordered lists like in Python? At least I think I saw them there.]]>http://www.mathisfunforum.com/profile.php?id=1187862012-05-02T22:17:51Zhttp://www.mathisfunforum.com/viewtopic.php?pid=216202#p216202<![CDATA[Re: working out which addends from a list will add up to a given value.]]>Pointers are a bane to humanity. My brother was the only programmer that liked them. They are very powerful but too dangerous for the modern programmer so they were eliminated in Java.

The functional way does not need them.

]]>http://www.mathisfunforum.com/profile.php?id=337902012-05-02T22:16:20Zhttp://www.mathisfunforum.com/viewtopic.php?pid=216200#p216200<![CDATA[Re: working out which addends from a list will add up to a given value.]]>Lists made out of pointers?]]>http://www.mathisfunforum.com/profile.php?id=1187862012-05-02T22:11:34Zhttp://www.mathisfunforum.com/viewtopic.php?pid=216197#p216197<![CDATA[Re: working out which addends from a list will add up to a given value.]]>Lists!]]>http://www.mathisfunforum.com/profile.php?id=337902012-05-02T22:08:08Zhttp://www.mathisfunforum.com/viewtopic.php?pid=216194#p216194<![CDATA[Re: working out which addends from a list will add up to a given value.]]>I hate goto.