|
[Date Index]
[Thread Index]
[Author Index]
Re: parameter restrictions
- To: mathgroup at smc.vnet.net
- Subject: [mg32437] Re: [mg32428] parameter restrictions
- From: BobHanlon at aol.com
- Date: Sun, 20 Jan 2002 04:28:15 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
In a message dated 1/19/02 8:05:36 PM, sosolala at hotmail.com writes:
>I am using Mathematica 4.0 and have a question about parameter restrictions.
>
>How can I define the range of values of a parameter, e.g. that alpha must
>be
>positive or that (alpha + beta) must be less than unity?
>
>Although it may be a very simple question (and/or answer) I would be
>delighted if I get an answer.
>
f[x_, a_?Positive] := a*x;
f[x_, a_?Positive, b_?NonNegative] := a^x*b /; (a+b) < 1;
Bob Hanlon
Chantilly, VA USA
Prev by Date:
3D plot of 3 lists of points need to show change vector arrows
Next by Date:
Re: combining lists
Previous by thread:
parameter restrictions
Next by thread:
Re: parameter restrictions
|