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
0
votes
1 answer
Can't get value from object key using .notation or bracket notation
for(j=0;j

Rawle Juglal
- 395
- 4
- 17
0
votes
2 answers
Calculate Big O Notation
I currently have the following pseudo code, and I am trying to figure out why the answer to the question is O(n).
sum = 0;
for (i = 0; i < n; i++) do
for (j = n/3;j < 2*n; j+= n/3) do
sum++;
I thought the answer would be O(n^2) since…

BeginnerC96
- 9
- 6
0
votes
1 answer
Uniform Cost Search algorithm pseudocode/ocaml notation
I am just wondering if anyone can help me understand some of the notation involved in this pseudocode/ocaml notation algorithm for Uniform Cost Search.
This is the algorithm we were given:
Input: Graph G = (V, E), Start state s, Set of goal states…

toastedDeli
- 570
- 5
- 28
0
votes
1 answer
What's the name of notation?
Could anyone tell me what's the name of this notation? I mean all those () [] {} brackets? Where can I find theirs meaning?
CREATE TABLE Nazwa_relacji
({nazwa_atrybutu typ_atrybutu [{NOT NULL} | NULL]
[DEFAULT…

tryhuma
- 25
- 1
- 6
0
votes
0 answers
Infix to Postfix Java Algorithm Issue
So I was assigned to create an method which takes in a string in infix notation as a parameter and returns a string in postfix notation.
My code seems to work for most examples I throw at it, but a few inputs cause wacky results.
public class…

Sam Nayerman
- 135
- 1
- 1
- 8
0
votes
1 answer
Export musical note data to midi
I've created some basic musical notation software in C#. I have a "Sound" class that contains useful properties (Note, NoteType (Semibreve, quaver, etc.). I currently have functions that can use instances of these "Sound" classes to create frequency…

Sophie Coyne
- 1,018
- 7
- 16
0
votes
0 answers
Unknown mathematical notation
I'm reading a patent document with the following mathematical notation:
P.sub.V(S4)
Does anyone recognise this notation? I would like to convert this to a more readable format. The patent document has a lot of formulas. The notation above is easy…

ISJ
- 509
- 2
- 8
- 17
0
votes
0 answers
Mathematical Set In Set-Builder And Set-Roster Notation
All subsets of Z that have an even number of members. For example, the set{1,2,3,4}would be in this set, but{1,2,3}would not be in the set.
I thought that it would be something like {A ⊆ ℤ | |A| / 2 ∈ ℤ} in set-builder and {infinity?} in…
user4780686
0
votes
1 answer
is there a better, more lightweight way to access session data in codeigniter view?
Is there a more lightweight way to access session data in a view with codeigniter than posted here?
i think about soemthing like {session.myparameter}.
thanks for help

helle
- 11,183
- 9
- 56
- 83
0
votes
2 answers
double scientific notation in macro
I was wondering if I can create macro that creating value with custom "shift" (or other way to create it in compile time). I mean, concatenate two numbers or something...
Something like that (of course it's not working):
#define CUSTOM_DOUBLE(shift)…

Popiel
- 183
- 3
- 13
0
votes
0 answers
How to remove the E7 when a number is too high?
I'm working on my application and i need to increase my float by 0.2 on every click but when the float is high i get this problem
This is my float:
11162061
And the output is :
1.1162061E7
But i need the value without the E7 and without the dot…
user5123498
0
votes
1 answer
Java- Notation for /variable/
When writing a method in java, I noticed that these two functions return the same value.
// Riemann-Siegel theta function using the approximation by the Stirling series
public static double theta (double t) {
return (t/2.0 *…

Axion004
- 943
- 1
- 11
- 37
0
votes
1 answer
Javascript: Short time notation
At the moment I'm involved in making a scheduling application. In this application we want to make sure our users are able to insert times very quickly. So here is my plan (see JSfiddle link below):
I want my users to click on one of the empty table…

Robert
- 39
- 7
0
votes
0 answers
documentation function parameter notation meaning
I have a question about what a particular set of notation means. I am using the rangy javascript library to do some work and I often run across the notation
rangy.createClassApplier(String theClass[, Object options[, Array tagNames]])
How do i…

intrepistar_88
- 544
- 1
- 4
- 11
0
votes
1 answer
Calculating in Polish notation
I have this code:
#include
#include
#include “stack.h”
int main (int argc, char *argv[]) {
char *a = argv[1];
int N = strlen(a);
stack polish(N); int el;
for (int i = 0; i < N; i++){
if (a[i] == '+'){
…

m r
- 11
- 2