ファイル:Amoeba3.svg

提供: testwiki
ナビゲーションに移動 検索に移動
    元のファイル (SVG ファイル、1,584 × 1,258 ピクセル、ファイルサイズ: 2キロバイト)

    このファイルはウィキメディア・コモンズのものであり、他のプロジェクトで使用されている可能性があります。 ウィキメディア・コモンズでのファイル解説ページにある説明を以下に示します。

    概要

    解説
    English: The amoeba of P(z,w)=1+z+z2+z3+z2w3+10zw+12z2w+10z2w2
    日付
    原典 次の画像を基にした投稿者自身による著作物: Amoeba3.png:  次のものによる: Oleg Alexandrov
    作者
    原作:
     
    ベクタ:
    SVG 開発
    InfoField
     このベクター画像のソースコードは 正しくありません。エラーがひとつあります.
     このW3C-無効 三角法は不明のSVGツールで作成されました。
    この画像には画像編集が施されています。原本に対して次のデジタル的な変更が行われました。
    編集内容:​Vectorization
    編集前の原本:​Amoeba3.png: 
    編集者:​Zerodamage

    ライセンス

    この作品の著作権者であるZerodamageは、この作品を以下のライセンスで提供しています。
    w:ja:クリエイティブ・コモンズ
    表示 継承
    このファイルはクリエイティブ・コモンズ 表示-継承 3.0 非移植ライセンスのもとに利用を許諾されています。
    帰属:
    あなたは以下の条件に従う場合に限り、自由に
    • 共有 – 本作品を複製、頒布、展示、実演できます。
    • 再構成 – 二次的著作物を作成できます。
    あなたの従うべき条件は以下の通りです。
    • 表示 – あなたは適切なクレジットを表示し、ライセンスへのリンクを提供し、変更があったらその旨を示さなければなりません。これらは合理的であればどのような方法で行っても構いませんが、許諾者があなたやあなたの利用行為を支持していると示唆するような方法は除きます。
    • 継承 – もしあなたがこの作品をリミックスしたり、改変したり、加工した場合には、あなたはあなたの貢献部分を元の作品とこれと同一または互換性があるライセンスの下に頒布しなければなりません。

    Source code

    % find the amoeba of a polynomial, see
    % http://en.wikipedia.org/wiki/Amoeba_%28mathematics%29
    
    % consider a polynomial in z and w
    %f[z_, w_] = 1 + z + z^2 + z^3 + z^2*w^3 + 10*z*w + 12*z^2*w + 10*z^2*w^2
    
    % as a polynomial in w with coeffs polynonials in z, its coeffs are 
    % [z^2, 10*z^2, 12*z^2+10*z, 1 + z + z^2 + z^3] (from largest to smallest)
    
    % as a polynomial in z with coeffs polynonials in w, its coeffs are 
    % [1, 1+w^3+12*w+10*w^2, 1+10*w, 1] (from largest to smallest)
    
    function main()
    
       figure(3); clf; hold on;
       axis([-10, 10, -6, 7]); axis equal; axis off;
       fs = 20; set(gca, 'fontsize', fs);
       
       ii=sqrt(-1);
       tiny = 100*eps;
       
       Ntheta = 300;
       NR=      400; NRs=100; % NRs << NR  
    
       % LogR is a vector of numbers, not uniformly distributed (more points where needed).
       A=-10; B=10; AA = -0.1; BB = 0.1; 
       LogR  = [linspace(A, B, NR-NRs), linspace(AA, BB, NRs)]; LogR = sort (LogR);
       R     = exp(LogR);
    
       % a vector of angles
       Theta = linspace(0, 2*pi, Ntheta);
    
       Rho = zeros(1, 3*Ntheta); % will store the absolute values of the roots
       One = ones (1, 3*Ntheta);
    
       % draw the 2D figure as union of horizontal pieces and then union of vertical pieces
       for type=1:2
    
    	  for count_r = 1:NR
    		 count_r
    		 
    		 r = R(count_r);
    		 for count_t =1:Ntheta
    			
    			theta = Theta (count_t);
    
    			if type == 1
    			   z=r*exp(ii*theta);
    			   Coeffs = [z^2, 10*z^2, 12*z^2+10*z, 1 + z + z^2 + z^3];
    			else
    			   w=r*exp(ii*theta);
    			   Coeffs = [1, 1+w^3+12*w+10*w^2, 1+10*w, 1];
    			end
    
    			% find the roots of the polynomial with given coefficients
    			Roots = roots(Coeffs);
    
                            % log |root|. Use max() to avoid log 0.
    			Rho((3*count_t-2):(3*count_t))= log (max(abs(Roots), tiny)); 
    		 end
    		 
    
    		 % plot the roots horizontally or vertically
    		 if type == 1
    			plot(LogR(count_r)*One, Rho, 'b.');
    		 else
    			plot(Rho, LogR(count_r)*One, 'b.');
    		 end
    		 
    	  end
    
       end
       
       saveas(gcf, 'amoeba3.eps', 'psc2');
    
    % A function I decided not to use, but which may be helpful in the future.   
    %function find_gaps_add_to_curves(count_r, Rho)
    %
    %   global Curves;
    %   
    %   Rho = sort (Rho);
    %   k = length (Rho);
    %
    %   av_gap = sum(Rho(2:k) - Rho (1:(k-1)))/(k-1);
    %
    %   % top-most and bottom-most curve
    %   Curves(1, count_r)=Rho(1); Curves(2, count_r)=Rho(k);
    %
    %   % find the gaps, which will give us points on the curves limiting the amoeba
    %   count = 3;
    %   for j=1:(k-1)
    %	  if Rho(j+1) - Rho (j) > 200*av_gap
    %
    %		 Curves(count, count_r) = Rho(j);   count = count+1;
    %		 Curves(count, count_r) = Rho(j+1); count = count+1;
    %	  end
    %   end
    
    % The polynomial in wiki notation
    %<math>P(z_1, z_2)=1 + z_1\,</math>
    %<math>+ z_1^2 + z_1^3 + z_1^2z_2^3\,</math>
    %<math>+ 10z_1z_2 + 12z_1^2z_2\,</math>
    %<math>+ 10z_1^2z_2^2.\,</math>
    

    元のアップロードログ

    This image is a derivative work of the following images:

    • Amoeba3.png licensed with PD-self
      • 2007-03-02T15:45:04Z Oleg Alexandrov 1267x1006 (12078 Bytes) Made by myself with Matlab.
      • 2007-03-02T15:39:58Z Oleg Alexandrov 1267x1006 (12205 Bytes) Made by myself with Matlab.
      • 2007-03-02T11:10:55Z Oleg Alexandrov 122x100 (1293 Bytes) Made by myself with Matlab.
      • 2007-03-02T11:08:58Z Oleg Alexandrov 1208x1006 (27215 Bytes) Made by myself with Matlab.
      • 2007-03-02T11:04:24Z Oleg Alexandrov 1267x833 (15788 Bytes) Made by myself with Matlab.
      • 2007-03-02T11:04:05Z Oleg Alexandrov 1267x833 (15788 Bytes) Made by myself with Matlab.
      • 2007-03-02T11:01:12Z Oleg Alexandrov 1356x914 (21608 Bytes) Made by myself with Matlab.
      • 2007-03-02T10:59:51Z Oleg Alexandrov 1378x972 (18538 Bytes) Made by myself with Matlab.
      • 2007-03-02T10:48:46Z Oleg Alexandrov 1378x972 (18538 Bytes) Made by myself with Matlab.

    Uploaded with derivativeFX

    キャプション

    このファイルの内容を1行で記述してください

    このファイルに描写されている項目

    題材

    8 8 2012

    664f58e7f87f6929da77154dce1a3465f7390cd0

    2,109 バイト

    1,258 ピクセル

    1,584 ピクセル

    ファイルの履歴

    過去の版のファイルを表示するには、その版の日時をクリックしてください。

    日時サムネイル寸法利用者コメント
    現在の版2012年8月8日 (水) 15:492012年8月8日 (水) 15:49時点における版のサムネイル1,584 × 1,258 (2キロバイト)wikimediacommons>Zerodamage== {{int:filedesc}} == {{Information |Description=== |Source={{Derived from|Amoeba3.png|display=50}} |Date=2012-08-08 14:48 (UTC) |Author=*File:Amoeba3.png: Oleg Alexandrov *derivative work: [[User:{{subst:REVISIONUSER}}|...

    このファイルを使用しているページはありません。