File:Ack3b600.jpg: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Dmitrii Kouznetsov
No edit summary
(== Summary == Importing file)
Tag: Server-side upload
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
== Summary ==
== Summary ==
{{Image_Details|user
Importing file
|description  = [[Complex map]] of [[tetration]] to base <math>b=\exp(1/\mathrm e)</math>
|author      = [[User:Dmitrii Kouznetsov|Dmitrii Kouznetsov]]
|date-created = August 2014
|pub-country  = Japan
|notes        = I plan to use this image in the article
D.Kouznetsov. Holomorphic ackermann. 2015, in preparation.
|versions    = http://mizugadro.mydns.jp/t/index.php/File:Ack3a600.jpg
The real-real plot of this function is one of curves at http://en.citizendium.org/wiki/File:Tetreal10bx10d.png
|versions    = http://mizugadro.mydns.jp/t/index.php/File:Ack3b600.jpg
}}
== Licensing ==
{{CC|by|3.0}}
 
==[[C++]] generator of map==
Files
[[ado.cin]],
[[conto.cin]],
[[e1etf.cin]]
should be loaded to the working directory in order to compile the code below.
 
<nowiki>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#define DB double
#define DO(x,y) for(x=0;x<y;x++)
#include <complex>
#define z_type std::complex<double>
#define Re(x) x.real()
#define Im(x) x.imag()
#define I z_type(0.,1.)
#include "e1etf.cin"
#include "conto.cin"
 
int main(){ int j,k,m,m1,n; DB x,y, p,q, t; z_type z,c,d, cu,cd;
 
int M=601,M1=M+1;
int N=461,N1=N+1;
 
DB X[M1],Y[N1], g[M1*N1],f[M1*N1], w[M1*N1]; // w is working array.
char v[M1*N1]; // v is working array
FILE *o;o=fopen("tet1ma.eps","w");ado(o,602,202);
fprintf(o,"301 101 translate\n 10 10 scale\n");
DO(m,M1)X[m]=-30.+.1*(m);
DO(n,200)Y[n]=-10.+.05*n;
        Y[200]=-.01;
        Y[201]= .01;
for(n=202;n<N1;n++) Y[n]=-10.+.05*(n-1.);
for(m=-30;m<31;m++){if(m==0){M(m,-10.2)L(m,10.2)} else{M(m,-10)L(m,10)}}
for(n=-10;n<11;n++){ M( -30,n)L(30,n)}
fprintf(o,".008 W 0 0 0 RGB S\n");
DO(m,M1)DO(n,N1){g[m*N1+n]=9999; f[m*N1+n]=9999;}
 
DO(n,N1){y=Y[n];
DO(m,M1)
          {x=X[m]; //printf("%5.2f\n",x);
          z=z_type(x,y);
          c=E1ETF(z);
          p=Re(c);q=Im(c);
          if(p>-99. && p<99. && q>-99. && q<99. ){ g[m*N1+n]=p;f[m*N1+n]=q;}
        }}
 
fprintf(o,"1 setlinejoin 2 setlinecap\n"); p=1;q=.5;
for(m=-10;m<10;m++)for(n=2;n<10;n+=2)conto(o,f,w,v,X,Y,M,N,(m+.1*n),-q, q); fprintf(o,".02 W 0 .6 0 RGB S\n");
for(m=0;m<10;m++) for(n=2;n<10;n+=2)conto(o,g,w,v,X,Y,M,N,-(m+.1*n),-q, q); fprintf(o,".02 W .9 0 0 RGB S\n");
for(m=0;m<10;m++) for(n=2;n<10;n+=2)conto(o,g,w,v,X,Y,M,N, (m+.1*n),-q, q); fprintf(o,".02 W 0 0 .9 RGB S\n");
for(m=1;m<10;m++) conto(o,f,w,v,X,Y,M,N, (0.-m),-p,p); fprintf(o,".08 W .9 0 0 RGB S\n");
for(m=1;m<10;m++) conto(o,f,w,v,X,Y,M,N, (0.+m),-p,p); fprintf(o,".08 W 0 0 .9 RGB S\n");
                    conto(o,f,w,v,X,Y,M,N, (0. ),-p,p); fprintf(o,".08 W .6 0 .6 RGB S\n");
for(m=-9;m<10;m++) conto(o,g,w,v,X,Y,M,N, (0.+m),-p,p); fprintf(o,".08 W 0 0 0 RGB S\n");
 
fprintf(o,"showpage\n%c%cTrailer",'%','%'); fclose(o);
system("epstopdf tet1ma.eps");
system(  "open tet1ma.pdf");
getchar(); system("killall Preview");
}
 
</nowiki>

Latest revision as of 19:53, 11 March 2022

Summary

Importing file

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current19:53, 11 March 2022Thumbnail for version as of 19:53, 11 March 20225,130 × 1,776 (1 MB)Maintenance script (talk | contribs)== Summary == Importing file

The following page uses this file:

Metadata