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.
Questions tagged [notation]
633 questions
6
votes
2 answers
How to add "Arabian" or "Microtone" or "Quarter-tone" support to jMusic?
I have been working lately on a program that transcribes WAV files having a single and monophonic instrument, more likely this instrument is Vocal.
This program converts the given WAV file into Sheet Music or "SCORE".
The thing is:
I want to draw…

Xtremeaiy
- 149
- 1
- 2
6
votes
1 answer
Double value to scientific notation with fixed exponent C#
I am having value double value = 1427799000;
I would like to convert it to scientific notation where the values exponent must always 10^11 (E+11).
I have tried following but it is not working.
Console.WriteLine(value.ToString("00.##E+11",…

John
- 351
- 4
- 16
6
votes
8 answers
define double constant as hexadecimal?
I would like to have the closest number below 1.0 as a floating point. By reading wikipedia's article on IEEE-754 I have managed to find out that the binary representation for 1.0 is 3FF0000000000000, so the closest double value is actually…

martinus
- 17,736
- 15
- 72
- 92
6
votes
1 answer
coq: A left-recursive notation must have an explicit level
I have seen a Coq notation definition for "evaluates to" as follows:
Notation "e '||' n" := (aevalR e n) : type_scope.
I am trying to change the symbol '||' to something else as || is often times used for logical or. However, I always get an error
…

thor
- 21,418
- 31
- 87
- 173
6
votes
2 answers
Is there a way to disable a specific notation in Coq?
I'd like, in Coqide, to have the proof state not use a certain notation (but still use all others).
Is this possible?

Atsby
- 2,277
- 12
- 14
6
votes
1 answer
Ways to work around Mathematica Notation bug?
Mathematica offers the Notation package to define custom notation, and it seems to work great until I save a notebook with custom notation as a package and try to use Needs["..."] to import the new notation. As documented on the Mathematica mailing…

Chris Granade
- 913
- 7
- 21
6
votes
1 answer
How do I load a Camel Property into a Bean?
I have been reading the following page on Camel properties: http://camel.apache.org/using-propertyplaceholder.html and also reading the book "Camel In Action".
I found Chapter 6 of "Camel In Action" very helpful in defining Camel properties, and I…

erj2code
- 301
- 5
- 9
- 19
6
votes
2 answers
What does this notation involving angle brackets mean?
I'm reading Async in C# 5.0, and the section on the compiler transform contains this snippet:
public Task AlexsMethod()
{
d__0 stateMachine = new d__0();
stateMachine.<>4__this = this;
…

Matthew
- 28,056
- 26
- 104
- 170
6
votes
3 answers
Entity Relation notation in text
Is there a standard (non-graphical) notation for Entity Relationships?
right now I'm using my own janky notation:
User >> Photo , (1-many)
User > Profile , (1-1 hasOne)
Profile < User , (1-1 belongsTo)
Photo << User , (many-1 belongsTo)
Photo <>…

cardflopper
- 976
- 2
- 12
- 19
6
votes
2 answers
How to use scientific notation with variable in C++?
I wanna know if it is possible to use the scientific notation with variables?
For example:
int n;
cin >> n;
int x = 1en;
instead of
int x = 1e8
Is it possible? If yes, how?

Milad R
- 1,854
- 9
- 25
- 36
5
votes
4 answers
PHP try-catch supports short notation?
Is this legal? Not near my work computer so can't test
try
someClass::someStaticFunction();
catch(Exception $e)
$e->getMessage();
Specifically the lack of brackets, similar to an if-else statement
if(someBool)
…

PandemoniumSyndicate
- 2,855
- 6
- 29
- 49
5
votes
2 answers
Why does +e canceled and -e not?
System.out.println(2e+5);
Above line's output is,
200000.0
While below line's,
System.out.println(2e-5);
output is,
2.0e-5
Why does 2e-5 is not solved down with -10^5 giving the output,
0.00002

Roshana Pitigala
- 8,437
- 8
- 49
- 80
5
votes
1 answer
Automatically format a measurement into engineering units in Java
I'm trying to find a way to automatically format a measurement and unit into a String in engineering notation. This is a special case of scientific notation, in that the exponent is always a multiple of three, but is denoted using kilo, mega,…

SamWest
- 132
- 1
- 8
5
votes
2 answers
Calculating Big O Notation with Recursion
I have try to understand the Big O Notation worst case runtime.
But I still don't quite understand it.
This is some code that I wrote recently:
def g(n):
if n==0:
return 1
elif n==1:
return 2
else:
n_div=n//2
…

Vik
- 53
- 4
5
votes
0 answers
Why is System.Math.PI in all caps (or a public field)?
In .Net 4.5, System.Math.PI is written as such, in all caps. Microsoft's own Capitalization Conventions state that Pascal casing is to be used for all public members. Also, their conventions on Names of Type Members mention that all public static…

Bas
- 1,946
- 21
- 38