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

is there an index to be accessed in the CI foreach with {}-Notation?

i'm new with Codeigniter,and whish to know if i can access any kind of iterator for the foreach with {}-Notation in my views. The thing is, i'm having a list which should be devided after each x items. example (what i would like to do:
    {list} …
helle
  • 11,183
  • 9
  • 56
  • 83
0
votes
1 answer

Why I get different result when try Suzuki Abe border following method?

In the paper by Suzuki Abe, I try the border following algorithm from their example:, and here the algorithm: My result from their algorithm is It's different from the paper result, the result become -2 when in paper 2, when I process step 3.4…
user3794938
  • 73
  • 2
  • 8
0
votes
1 answer

Prefix notation - Java

while (strToken.hasMoreTokens()) { String i = strToken.nextToken(); char ch = ' '; ch = i.charAt(0); int operand; int operator; if(Character.isDigit(ch)) { operand = Integer.parseInt(i); …
Jeremy
  • 113
  • 2
  • 14
0
votes
1 answer

Trying to figure out Big 0 notations for my program

Hello I am trying to figure out the big 0 notation for my code but having trouble with it. I am new to algorithms and don't know what processes increase 0(n) to 0(n2) for example. package gmit; import java.util.*; import java.io.*; import…
Tim Daiber
  • 348
  • 3
  • 6
  • 19
0
votes
2 answers

How does |E| differ from E and |V| differ from V?

I am looking at code to find complexity of deep first search (DFS). How does O(|V| + |E|) differ from O(V+E). What is the meaning of |·| around V and E? Does it mean the "sum of all vertices" is represented as |V| ?
JavaDeveloper
  • 5,320
  • 16
  • 79
  • 132
0
votes
0 answers

What is the meaning of the notation C{...}, L{...} (specifically in Python, Twisted)?

I'm learning Python's Twisted, and have to use their docstrings for help, as the documentation isn't the best. Fortunately the source code has good docstrings. For example I'm learning to use a LoopingCall (class documentation, source code). But…
TCAllen07
  • 1,294
  • 16
  • 27
0
votes
1 answer

concerning big-oh notation and proving or disproving

So I'm completely lost on big-oh notation. In my assignment I am supposed to prove or disprove the following using the formal definition. 3n³ - 7n² + 100n - 36 is in O(n³) and n²/log(n) + 3n is in O(n²) Can someone help me with these and tell…
Kevin
  • 5
  • 3
0
votes
0 answers

Algorithm Notation on Journal

I am having trouble read algorithm in a journal. It's about border following by Suzuki and Abe. I just wondering, what is the meaning of left arrow (<-) on picture below, (i2,j2) <- (i,j-1). I'm will be very glad if you can help explain this…
felangga
  • 553
  • 8
  • 22
0
votes
1 answer

Need information on Big O Notation

Bit of a random question for you. If you have a method that has to check every single individual place inside an array, would it be okay to say that this method has notation of O(n)? The reason i'm not sure if my answer is correct is due to the fact…
user4201880
0
votes
2 answers

What is the time complexity of the following equation

I'm having a few problems working out the time complexity using Big-O notation. This is the equation: 88n^2 logn + 81 + 3n^3 + 12n I can figure it out I'm guessing its something like: O(n^2 logn) or O(n^3) Thanks in advance.
ed-wright
  • 73
  • 1
  • 12
0
votes
1 answer

Object bracket notation in definition of an Object in javascript

var events = { addEvent: function(element, type, fn, capture){ element.addEventListener(type, fn, capture); }, removeEvent: function(){ …
zEn feeLo
  • 1,877
  • 4
  • 25
  • 45
0
votes
1 answer

matlab scientific vs exponential notation

I have a problem with Matlab. Mainly 5*10^-15!=5e-15. Depending on how I declare a number (e or 10^) it is different saved (5.000000000000001 vs. 5.000000000000000). It makes problems with comparing values declared with calculated (declared were…
Szczupak
  • 3
  • 1
0
votes
1 answer

Incorrect page display with arrow notation in PHP

I'm very new to coding in PHP and I've been trying some courses, but I can't seem to figure this out. I wanted to display a page I had to create in a course, but it seemed like the code "broke up" after the first instance of the arrow notation. This…
Tom
  • 1
0
votes
2 answers

Use a property name stored in a var, dot and bracket notation

I'm on the bracket and dot notation challenge in JS, I understand (more or less) how it works, but I can't with a little point: Why I can't use Dot Notation whwn a property name is stored in a variable? This is undefined: var car = { seats:…
nurro
  • 3
  • 1
0
votes
1 answer

How to read dale-chall mathematical notation?

How do I calculate this dale-chall mathematical notation? or how is it converted to easier pseudo code? I am trying to understand this concept to implement a text readability analyzer. Is it like the following? altough ... how is what comes after…
user4014815