File:Relative numbers representation.svg
From testwiki
Jump to navigation
Jump to search
Original file (SVG file, nominally 512 × 494 pixels, file size: 11 KB)
Contents
This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.
Summary
| DescriptionRelative numbers representation.svg |
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. |
| Date | |
| Source | Own work |
| Author | TomdFr |
| Other versions | File:Relatives Numbers Representation.png |
| SVG development InfoField | |
| Source code InfoField | Asymptote code// 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);
|
Licensing
| Public domainPublic domainfalsefalse |
| I, the copyright holder of this work, release this work into the public domain. This applies worldwide. In some countries this may not be legally possible; if so: I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law. |
Captions
Add a one-line explanation of what this file represents
Items portrayed in this file
depicts
25 November 2009
10,821 byte
image/svg+xml
5ebe5208fe4a794ceb00902eb23f92123af8bd54
File history
Click on a date/time to view the file as it appeared at that time.
| Date/Time | Thumbnail | Dimensions | User | Comment | |
|---|---|---|---|---|---|
| current | 04:00, 31 January 2018 | 512 × 494 (11 KB) | wikimediacommons>Perhelion | fix librsvg bug phab:T35245 |
File usage
There are no pages that use this file.