Re: how to effectively define a subsection function

*To*: mathgroup at smc.vnet.net*Subject*: [mg49768] Re: how to effectively define a subsection function*From*: BobHanlon at aol.com*Date*: Fri, 30 Jul 2004 06:02:20 -0400 (EDT)*Sender*: owner-wri-mathgroup at wolfram.com

z[x_, y_] := 1 /; x^2+y^2<1; z[x_,y_] := 0; Table[{x=Random[],y=Random[],z[x,y]},{20}] Bob Hanlon > In a message dated Thu, 29 Jul 2004 12:42:07 +0000 (UTC), < > dbjunxiao at hotmail.com> writes: For example, if I want to specify Z[x_,y_] to have > different function form at different region of R{x,y}, >