Questions tagged [representation]
291 questions
0
votes
1 answer
Python Create Image in color relative to integer
I need to make an image, in Python, that looks like this but vertical and only green to…

developius
- 1,193
- 9
- 17
0
votes
2 answers
Who needs octal representation?
From my understanding octal digits in a number map to 3 bit segments, and will never truly represent a binary string of 2^n length.
Out of curiosity, When/Why/How is this useful? :-)
..If the base of the primary representation of a word in an…

user76568
- 456
- 4
- 16
0
votes
2 answers
Like ASCII, how characters are assigned binary values in UNICODE?
ASCII uses a 8 bit system. Each character is assigned a unique ASCII value. But UNICODE uses 32 or 64 bit representation. So how the characters are assigned values there? Does C/C++ use UNICODE?

Sankar
- 11
- 2
0
votes
2 answers
How to display a matrix as colors instead of elements in c#
I need to represent a matrix (2D array) as colors instead of array elements.
Lets say, I have a 8x6 matrix as
1 1 1 1 2 2
1 1 1 1 2 2
1 1 1 1 2 2
1 1 1 1 0 0
3 3 3 3 3 0
3 3 3 3 3 0
0 0 0 0 0 0
0 0 0 0 0 0
in this
there are three sub matrices as…

a4ashiq
- 79
- 2
- 8
0
votes
2 answers
How to reestablish double in c++
When representing double number its precision corrupts in some degree. For example number 37.3 can be represented as 37.29999999999991.
I need reestablishing of corrupted double number (My project requires that). One approach is converting double…

Nurlan
- 2,860
- 19
- 47
- 64
0
votes
0 answers
How to flattens empty directories with hidden files in eclipse explorer
I have a project folder like below. And every sub-folder have a .svn hidden folder/file. These folders/files causes the hierarchical representation can NOT flattens empty directories. Yes, it is not EMPTY actually. Can any body help ?
-com
…

Simon Kwok
- 11
- 2
0
votes
1 answer
Ball structuring element representation
Regarding the ball structuring element mentioned here, how can we represent it as a matrix, the same as some structuring elements represented at the same page?

Simplicity
- 47,404
- 98
- 256
- 385
0
votes
3 answers
What is the difference between category/category_id/item_id and category?category_id={}&item_id={} in REST?
I just began looking at REST and was wondering what the basic difference between the two representations was. The first one looks pretty nice to me and the second one has to pass some attribute values but the underlying logic seems to be boiling to…

Legend
- 113,822
- 119
- 272
- 400
0
votes
1 answer
visual basic visualization
I am actually looking to find a IDE, a tool or a plugin (for Visual Studio) to have the possibility to create and customize associations of codes-pictures: so that from a "drawing" or concatenation of figures a functional code can be generated…

Ask
- 1
0
votes
3 answers
Number representation in a common command?
I have a line of code in a piece of C# I'm analyzing.
`random.next(0xf4240, 0x98967f).ToString();'
I know the command line is generating a number between the specified ranges and returning it as a string. Whats a little odd to me is the '0xf' and…

John
- 21
- 2
0
votes
2 answers
When do you decide to represent something as a vector?
In information retrieval, the words in the documents were represented as a "Term Vector", they did it primarily to check the angle between two vectors. When have you represented something as a vector in your work and what is the common heuristic…

unj2
- 52,135
- 87
- 247
- 375
-1
votes
1 answer
Convert an integer to an alphanumeric string with as few characters as possible
I am looking for a way to reduce a decimal integer representation to a string with the fewest characters possible.
E.g. hexadecimal uses the letters A-F on top of the decimal numbers.
hex(123)
Is there a smooth way to make use of all letters to…

caliph
- 1,389
- 3
- 27
- 52
-1
votes
1 answer
Is there any r code that gives an output of a discreate line graph?
I want to represent a discrete line graph similar to this image in r code, please help me. assume any values.
Things the i have tried & the data set is here
bus.stop<-c("Polic Chowk","Regional bus stand","hospital", "Alanpura", "Housing Colony",…

Sork-kal
- 307
- 3
- 10
-1
votes
1 answer
How to set color representation for a bitmap image in wpf
enter image description hereim working on a wpf application that should conver the jpg image to tif with a specefic attributes like 24 bitdepth 300 DPI and color representation of sRGB. i have managed to get through all of them except the color…

pavan varikallu
- 3
- 2
-1
votes
2 answers
Modifying the representation of for loop in C
I have a the given for loop written multiple times and it is annoying to type that everytime.
Note that they are in they are in different functions.so, code optimization isn't the problem here. but instead representation
for(int j=0; j

user3808088
- 87
- 1
- 1
- 10