Questions tagged [notation]

Notation refers to a specific way of writing various concepts, functions, etc. Usually it is introduced to abbreviate complicated expressions and make common idioms more readable.

633 questions
0
votes
1 answer

I can't seem to figure out how to properly pass parameters with pure pointer notation

I'm trying to modify a previous program I wrote using pure pointer notation. It's a program that generates a random string of 40 uppercase letter, takes input of up to 20 uppercase letter, and input of a character. The program replaces reoccurring…
user1681673
  • 368
  • 1
  • 6
  • 28
0
votes
1 answer

Can't get user input using getchar() and pointer notation in C

I'm changing a program from normal array notation to pure pointer notation and I can't receive user input using getchar() in a while loop. I printed out was the program was receiving and it output upside down question marks. I wasn't sure why this…
user1681673
  • 368
  • 1
  • 6
  • 28
0
votes
1 answer

Notation to distinguish class inheritance and module inclusion

When the ancestors of a module are displayed, for example with String: String, Comparable, Object, Kernel, BasicObject some of them (String, Object, BasicObject) are classes and others are not. Is there a notation to distinguish them? A possible…
sawa
  • 165,429
  • 45
  • 277
  • 381
0
votes
1 answer

Get Windows images notation

I'm developping an images Manager program in Java. I would like to retrieve the notations, and eventually other informations like date or key words available in Windows explorer. Is there any way to retrieve those informations?
AxelF
  • 109
  • 3
  • 15
0
votes
2 answers

Can Big-O and Big-theta be used interchangibly?

I am studying the book Introduction to Algorithms, by Thomas H. Corman. I am studying the asymptotic notation. One thing is bothering me, because the author stated that: f(n)=Big-theta(g(n)) implies f(n)=Big-O(g(n)) , since Big-theta notation is…
kTiwari
  • 1,488
  • 1
  • 14
  • 21
0
votes
1 answer

Removing scientific notation in excel

I have a spreadsheet which has 100s of rows but some of them have scientific notation which is quite giving a problem in calculations. Does anyone knows how to remove that... Thanks
mkumars
  • 501
  • 3
  • 9
  • 19
0
votes
4 answers

using OpenText to avoid saving in scientific notation

I've tried to use the OpenText method described in this post on a file which looks like this: Ref,AccNum,SCode,RollNum 999,15697668,404040,4921817045040610 When I run this code the fourth column still appears in scientific…
-1
votes
1 answer

Hexadecimal notation

I am reading a datasheet which uses the prefix 0x (e.g. 0x2185AD12) to indicate the hexadecimal notation used. Suddenly, for this one diagram, they use a trailing h (e.g. 2185AD12h). Is this just some inconsistency I can gloss over, or does the h…
Randomblue
  • 112,777
  • 145
  • 353
  • 547
-1
votes
1 answer

Normal to RPN conversion

I have a question. Is (3+4)*(5+6+7*8)*(1*9+2*8) equal to 34 + 56 + 78 + * + 19 * 28 * + * in RPN notation?
mmm
  • 1
  • 1
-1
votes
1 answer

Normalizing a board game notation

I have a board game notation for the game of Hnefatafl which I need to rotate clockwise. In the game of Hnefatafl we use a 11x11 board with files from A to K and ranks numbered from 1 to 11. So, here are the first three moves from the…
-1
votes
1 answer

JS - On a callback, What's the difference of using parenthesis and / or brackets on it?

I'm currently using react and I have noticed that the behaviour may change depending on how a callback is used. (Not sure if this is called notation). To illustrate my question, let's use Array.map(). Array.map(el=> return el.name); Array.map((el)=>…
Germán
  • 1,007
  • 1
  • 7
  • 20
-1
votes
2 answers

Concise notation for NumPy array creation

NumPy arrays are extremely convenient for expressing many common vector and array operations. The standard notation is: import numpy as np v = np.array([1, 2, 3, 4]) u = np.array([0.3, 0.4, 0.5]) I have many cases where I need a lot of different…
Paul Jurczak
  • 7,008
  • 3
  • 47
  • 72
-1
votes
1 answer

How do i change a number into fixed notation, like K, M, or B, in Javascript?

I'm trying to change a number into a fixed notation, for example when the number is over 1000, change the number into x.x K, and so far everything i have tried has failed. You can see my code if you go to this link:…
-1
votes
1 answer

How could one draw a semibreve (whole note) in Java Swing?

I am creating a class to handle the creation of musical notation in my music training app, which is being built with Java Swing. As such, I am using the font Bravura for most of the symbols such as the treble clef and accidentals (using the Graphics…
-1
votes
1 answer

Difference between recursive calls and normal calls

Let there be a function f(); void f(int n) { if(n<=1) return; f(n-1); f(n-1); } I have 2 major questions regarding this code: What is the total number of recursive calls? What is the total number of calls? and also What is the time…