|
[Date Index]
[Thread Index]
[Author Index]
Re: problems with the definition of a function
- To: mathgroup at smc.vnet.net
- Subject: [mg36674] Re: problems with the definition of a function
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Wed, 18 Sep 2002 02:10:13 -0400 (EDT)
- Organization: Universitaet Leipzig
- References: <am3n85$6tk$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
Clear[f]
f[0, _] := q
f[Pi, _] := p
f[2Pi, _] := r
f[x_, y_] := x^2*y^2
???
Regards
Jens
fabio bagarello wrote:
>
> Hi there!!
> I have quite an easy and annoying problem with mathematica:
> I need to define a function f(x,y) which takes some values for
> x=0,2pi,4pi (indepently of y) and has a different expression for all
> the other values of y. This is easily done for one-dimensional
> functions but I am in serious troubles for my two-dimensional problem:
> any suggestion?
> Thanks a lot,
> Fabio
Prev by Date:
Inv.Interpol.Function
Next by Date:
Converting Between Bases
Previous by thread:
Re: Inv.Interpol.Function
Next by thread:
Re: problems with the definition of a function
|