ファイル:Relative numbers representation.svg

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

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

概要

解説
English: A figure representing the equivalence classes of the relative numbers constructed as a pair of natural numbers. Any relative number (eg. -5) has an infinity of equivalent possible representation, eg. (2,7), (0,5), … The equivalent representations (in red) are on the same blue dotted line, and the number in blue at the end on the line is the corresponding relative number
Français : Une figure représentant les classes d'équivalences entres les paire d'entiers construisant les nombre relatifs.

Chaque nombre relatif (par exemple -5) a une infinité de paire qui le représentent de manière équivalente, (par exemple (2,7), (0,5).

Toutes ces représentation équivalente sont sur la même pointillé bleu, et le nombre relatif qu'elle représentent est au bout de la ligne.
日付
原典 投稿者自身による著作物
作者 TomdFr
その他のバージョン File:Relatives Numbers Representation.png
SVG 開発
InfoField
 このSVGのソースコードは正しい
 この 図式Asymptoteで作成されました。

ライセンス

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

Generation code

In asymptote programming language (w:Asymptote (vector graphics language))

// import settings;
import graph;

// pdfviewer="evince";
// psviewer="evince";

// returns a pair representation of a relative number of the equivalent class
pair pairRepresentation(int n){
	if(n>0){
		return(n,0);
	}else{
		return(0,-n);
	}
}

string nullString(real r){
	return "";
}

void drawCoordinates(pair point, align align=NoAlign){
	label("$("+string(point.x)+","+string(point.y)+")$",point,align);
}

unitsize(50,50);

int num = 10;
int i;

for (i=-1*num ; i<=num ; ++i) {
	pair point = pairRepresentation(i) ;
	dot(point,red);

	// equivalence classes labelled with usual names, in blue
	label("$\mathbf{"+string(i)+"}$",point,5SW,fontsize(17)+blue);

	int j;
	for(j=abs(i);j<num;++j) {
		drawCoordinates(point,E);
		pair nextpoint = point + (1,1);

		draw(point -- nextpoint,blue+Dotted+linewidth(2));
		dot(point,red+linewidth(5));

		point=nextpoint;
	}
	dot(point,red);
	draw(point -- point+(0.5,0.5),blue+Dotted+linewidth(2));
	dot(point,red+linewidth(5));
	drawCoordinates(point,E);
}

// axes

real decay=-0.2;

ticks tick=RightTicks(N=0,n=1,end=false,nullString);
xaxis("$n_1$",YEquals(decay),decay,num+1.0,tick,Arrow);
yaxis("$n_2$",XEquals(decay),decay,num+1.0,LeftTicks(N=0,n=1,end=false,nullString),Arrow);

キャプション

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

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

題材

25 11 2009

ファイルの履歴

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

日時サムネイル寸法利用者コメント
現在の版2018年1月31日 (水) 04:002018年1月31日 (水) 04:00時点における版のサムネイル512 × 494 (11キロバイト)wikimediacommons>Perhelionfix librsvg bug phab:T35245

以下のページがこのファイルを使用しています: