ファイル:Diffeomorphism of a square.svg

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

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

    解説 Illustration of a diffeomorphism.
    日付 (UTC)
    原典 self-made with MATLAB
    作者 Oleg Alexandrov
    Public domain この作品の著作権者である私は、この作品についての権利を放棄しパブリックドメインとします。これは全世界で適用されます。
    一部の国では、これが法的に可能ではない場合があります。その場合は、次のように宣言します。
    私は、あらゆる人に対して、法により必要とされている条件を除き、如何なる条件も課すことなく、あらゆる目的のためにこの著作物を使用する権利を与えます。

    Source code (MATLAB)

    % Compute a diffeomorphism from a square to a square which leave
    % the boundary fixed.
    
    function main()
    
       N = 20; % num of grid points
       epsilon = 0.1; % displacement for each small diffeomorphism
       num_comp = 10; % number of times the diffeomorphism is composed with itself
       
       S = linspace(-1, 1, N);
    
       [X, Y] = meshgrid(S);
    
       Z = X; W = Y;
    
       % take num_comp compositions of the same small diffeomorphism
       for iter = 1:num_comp
    
          for i=1:N
             for j=1:N
                
                [Z(i, j), W(i, j)] = small_diffeo(Z(i, j), W(i, j), epsilon);
                
             end
          end
    
       end
       
       % graphing settings
       lw = 2;
       mycolor = [1, 0, 0.1];
       small = 0.1;
       
       figure(1); clf; hold on;
       for i=1:N
          plot(X(:, i), Y(:, i), 'linewidth', lw, 'color', mycolor);
          plot(X(i, :), Y(i, :), 'linewidth', lw, 'color', mycolor);
       end
       axis([-1-small, 1+small, -1-small, 1+small]);
       axis equal; axis off;
       
       figure(2); clf; hold on;
       for i=1:N
          plot(Z(:, i), W(:, i), 'linewidth', lw, 'color', mycolor);
          plot(Z(i, :), W(i, :), 'linewidth', lw, 'color', mycolor);
       end
       axis([-1-small, 1+small, -1-small, 1+small]);
       axis equal; axis off;
       
    function [z, w] = small_diffeo(x, y, epsilon);
    
       A1=epsilon*(cos(pi*x)+1)*(cos(pi*y)+1)/4.0;
       A2=epsilon*cos(pi*x/2)*cos(pi*y/2);
    
       A = (A1+A2)/2;
       
       z = x +(-y)*A;
       w = y +( x)*A;
    

    キャプション

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

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

    題材

    18 1 2008

    39,732 バイト

    f892772c37d83c74b38f6fbe4ffc0ea04f9380df

    ファイルの履歴

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

    日時サムネイル寸法利用者コメント
    現在の版2009年2月16日 (月) 11:032009年2月16日 (月) 11:03時点における版のサムネイル560 × 560 (39キロバイト)wikimediacommons>Erik del Toro Streb''stroke-linecap:round'' for better locking corners

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