MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: how to effectively define a subsection function


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},
> 


  • Prev by Date: a terdragon like Rauzy Pisot tile IFS
  • Next by Date: Re: pattern matching and droping elements from list of lists.
  • Previous by thread: how to effectively define a subsection function
  • Next by thread: Re: how to effectively define a subsection function