| Author |
Comment/Response |
Bob
|
05/25/04 04:35am
I am a beginner, and I'm sure this is easy for you veterans out there, but...
I'm working on an optimization program with a number of deisgn variables. My question is how to define a function of a number if lists.
I have lists of constants involved in the system, along with a single list of the design variables. I am trying to minimize an objective function which is two sums. I have each of the lists indexed to the sum iterators, and when I simply use f=(my function), I get a correct answer for my test case. But, I cannot seem to find the correct format/syntax for the form, f[x_, y_, z_, a_]:= (myfunction).
I will continue to pore over the Mathematica book, but I would appreciate any help.
I've attached a portion of a notebook.
Attachment: help note!!.nb, URL: , |
|