ファイル:RationalRepresentation.pdf

提供: testwiki
ナビゲーションに移動 検索に移動
    元のファイル (1,047 × 1,047 ピクセル、ファイルサイズ: 7キロバイト、MIME タイプ: application/pdf)

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

    概要

    解説
    English: Representation of rational numbers (Q) as pairs of integers, equivalent pairs on the same line.
    Français : Représentation des nombres rationnels comme des paires de nombres entiers, les paires équivalentes sur le même ligne.
    日付
    原典 投稿者自身による著作物
    作者 TomT0m
    その他のバージョン
    このファイルのベクター画像 (SVG) が利用できます。 使う目的に対し、元画像よりもSVGがより優れている場合、SVG画像を使用して下さい。

    File:RationalRepresentation.pdf → File:Rational Representation.svg

    ベクターグラフィックスの詳細については、コモンズのSVG変換を参照ください。
    SVGのMediaWikiのサポートに関する情報もあります。

    他言語
    Alemannisch ∙ العربية ∙ беларуская (тарашкевіца) ∙ български ∙ বাংলা ∙ català ∙ нохчийн ∙ čeština ∙ dansk ∙ Deutsch ∙ Ελληνικά ∙ English ∙ British English ∙ Esperanto ∙ español ∙ eesti ∙ euskara ∙ فارسی ∙ suomi ∙ français ∙ Frysk ∙ galego ∙ Alemannisch ∙ עברית ∙ हिन्दी ∙ hrvatski ∙ magyar ∙ հայերեն ∙ Bahasa Indonesia ∙ Ido ∙ italiano ∙ 日本語 ∙ ქართული ∙ 한국어 ∙ lietuvių ∙ македонски ∙ മലയാളം ∙ Bahasa Melayu ∙ မြန်မာဘာသာ ∙ norsk bokmål ∙ Plattdüütsch ∙ Nederlands ∙ norsk nynorsk ∙ norsk ∙ occitan ∙ polski ∙ prūsiskan ∙ português ∙ português do Brasil ∙ română ∙ русский ∙ sicilianu ∙ Scots ∙ slovenčina ∙ slovenščina ∙ српски / srpski ∙ svenska ∙ தமிழ் ∙ ไทย ∙ Türkçe ∙ татарча / tatarça ∙ українська ∙ vèneto ∙ Tiếng Việt ∙ 中文 ∙ 中文(中国大陆) ∙ 中文(简体) ∙ 中文(繁體) ∙ 中文(马来西亚) ∙ 中文(新加坡) ∙ 中文(臺灣) ∙ +/−
    新しいSVG画像

    PDF 開発
    InfoField
     この PDF ラスター画像はAsymptoteで作成されました。

    Source code

    Source of the file, in Asymptote (vector graphics language): RationalRepresentation.asy

    import settings;
    import graph;
    import math;
     
     
    pdfviewer="/usr/bin/evince";
    psviewer="evince";
     
    
    // parameters
    
    int num=10;
     
     
    int gcd(int a,int b){
    	if(b==0){
    		return a;
    	}else{
    		return gcd(b,a-quotient(a,b)*b);
    	}
    }
    bool isPrimeWith(int a,int b){
    	return gcd(a,b)==1;
    }
    
     
    pen color_rational(int x,int y){
    
    	if(y==0){
    		return white;
    	}else{
    		real ratio = x
    /y;
    		return rgb(0.5*(1+ratio),0.7*(1+ratio),0.3*(1-ratio));
    	}
    }
    unitsize(2,2);
     
    picture damier;
    // unitsize(damier,1,1);
    size(damier,5000,5000,(-100,-100),(100,100));
     
    dot(damier,(0,0));
    dot(damier,(-num,-num),invisible);
    dot(damier,(num,num),invisible);
     
     
     
    for(int x=-num; x<=num;++x){	
     
    	for(int y=-num; y<=num;++y){
     
    		
    		pen p=color_rational(x,y);
     
    		if(y>0){
    			pair far;
    			if(isPrimeWith(abs(x),abs(y)) ){
    				far=(x*100,y*100);
    				drawline(damier,(0,0),far,p);
    			}
    		}
    
    		if(y==0){
     
    			dot(damier,(x,y));
    			dot(damier,(x,y),rgb(0.9,0.9,0.9));
    
    		}else
    			dot(damier,(x,y),p);
     
    	}
    }
    
    dot(damier,(0,0));
    dot(damier,(0,0),rgb(0.9,0.9,0.9));
    add(damier.fit(),(0,0));
    // drawing the equivalent classes
    

    ライセンス

    Public domain この著作物は、著作者であるTomT0mによって権利が放棄され、パブリックドメインとされました。これは全世界で適用されます。
    一部の国では、これが法的に可能ではない場合があります。その場合は、次のように宣言します。
    TomT0mは、あらゆる人に対して、法により必要とされている条件を除き、如何なる条件も課すことなく、あらゆる目的のためにこの著作物を使用する権利を与えます。

    キャプション

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

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

    題材

    11 12 2009

    application/pdf

    7,153 バイト

    1,047 ピクセル

    1,047 ピクセル

    43626b6d8e1b28a95d8d7bb3ac434c6d5587fff0

    ファイルの履歴

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

    日時サムネイル寸法利用者コメント
    現在の版2009年12月11日 (金) 22:592009年12月11日 (金) 22:59時点における版のサムネイル1,047 × 1,047 (7キロバイト)wikimediacommons>TomT0m{{Information |Description={{en|1=Representation of rational numbers (Q) as pairs of integers, equivalent pairs on the same line.}} {{fr|1=Représentation des nombres rationnels comme des paires de nombres entiers, les paires équivalentes sur le même li

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