Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'options of myself functions' topicStudent Support Forum > General > "options of myself functions"

Next Comment >Help | Reply To Topic
Author Comment/Response
Nan
08/10/04 10:52am

I want to write a function who has 3 variables and some options. It is easy to deal with the 3 variables, while, how can I do with the OPTIONS?

for example, how can the following two lines match the same function?

f[1,2,3,option1->a,option2->b];
f[1,2,3,option3->c];

these tow lines have different options, how should I define my function f ?
f[x_,y_,z_, ???OPTIONS??? ]:=



URL: ,

Subject (listing for 'options of myself functions')
Author Date Posted
options of myself functions Nan 08/10/04 10:52am
Re: options of myself functions Carlo Teubner 08/11/04 04:17am
Next Comment >Help | Reply To Topic