Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'problem with "apply"' topicStudent Support Forum > General > Archives > "problem with "apply""

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
Brian
02/09/13 5:13pm

In Response To 'Re: problem with'
---------
Thank you very much for your help!

Regarding your comment about using Sequence - I have read about this function, but I can't see how to use it. I would like to have something like:

Sum[ f[a] , {a[[1]],0,n} , {a[[2]],0,n} , .... , {a[[N]],0,n} ]

The problem is that the number of arguments I'm putting into Sum is variable. The only way I know of to do this is to make the arguments into a list, which can be made of arbitrary size, and then use Apply. It seems I would also need to put an arbitrary number of arguments into Sequence, so I would be back at the original problem, but maybe I'm missing something. Could you explain the best way to solve this kind of problem? Thanks again!

URL: ,

Subject (listing for 'problem with "apply"')
Author Date Posted
problem with "apply" Brian 02/08/13 00:11am
Re: problem with yehuda 02/09/13 10:27am
Re: Re: problem with Brian 02/09/13 5:13pm
Re: problem with yehuda 02/11/13 08:41am
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic