Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

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


  • 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