RE: Assigment statements
- To: mathgroup at smc.vnet.net
- Subject: [mg9897] RE: [mg9833] Assigment statements
- From: Jean-Marie THOMAS <jmthomas at cybercable.tm.fr>
- Date: Sun, 30 Nov 1997 20:16:44 -0500
- Sender: owner-wri-mathgroup at wolfram.com
testPoint={x=Random[],y=Random[],f[x,]} will keep its value until the
preceding line is evaluated again. If, from session to another session
you want to generate random set, see notes for SeedRandom[].
-----Message d'origine-----
De: Drs. E. Smulders, RTD [SMTP:sds at eltn.utwente.nl] Date: vendredi 28
novembre 1997 11:36 A: mathgroup at smc.vnet.net
Objet: [mg9833] Assigment statements
Dear mathematica users,
Yesterday I decided to try wether it's possible with Mathematica (2.2)
to do interpolation on a suface defined by datapoints {xi,yi,zi}; i~
number of points.
To test this I decided to generate a test-set of points something like
{xi=Random[], yi=Random[], f(xi,yi)}. I failed ?! It seems each time I
call an xi or yi they are reassigned a new random number.
How to solve this problem, and also: is it a good idea to use MM for the
purpose stated above ?
Regards, Edwin Smulders.