Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #4212
| Newsgroups | comp.graphics.apps.gnuplot |
|---|---|
| Date | 2019-08-25 06:33 -0700 |
| Message-ID | <ab86c7c7-54d1-434d-bcbd-a60d33e0d13c@googlegroups.com> (permalink) |
| Subject | Intermediate variables in user functions |
| From | layzarc@aol.com |
I have a script that works beautifully that has the following function definitions: phi(x,y) = (1+x)/(1+sqrt(1+(x*x-1)*y)) astig(n,x,y) = phi(x,y)*(1-phi(x,y)*y)*(n-1)**2-(phi(x,y)-n*n)*(n-1+y*(phi(x,y)-n))**2 It would be a lot cleaner if the following was possible: phi(x,y) = (1+x)/(1+sqrt(1+(x*x-1)*y)) astig(n,x,y) = f=phi(x,y) f*(1-f*y)*(n-1)**2-(f-n*n)*(n-1+y*(f-n))**2 Al
Back to comp.graphics.apps.gnuplot | Previous | Next — Next in thread | Find similar
Intermediate variables in user functions layzarc@aol.com - 2019-08-25 06:33 -0700
Re: Intermediate variables in user functions Ethan Merritt <eamerritt@gmail.com> - 2019-08-25 17:46 +0000
Re: Intermediate variables in user functions layzarc@aol.com - 2019-08-25 12:21 -0700
csiph-web