Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 688 results for
theta
- Page 1
Re: theta notation
Programming
Computer Science
11 Years Ago
by deceptikon
Theta
notation is basically the same as Big O notation except … a tight bound (ie. upper and lower). More formally (where
Theta
is the tight bound, O is the upper bound, and… Omega is the lower bound): f(x) =
Theta
(g(x)) iff f(x) = Omega(g(x)) and f…
Re: Time complexity of algorithm
Programming
Computer Science
13 Years Ago
by AuburnMathTutor
Theta
means a "tight" bound in the sense that … of the order, then t(n) is by definition in
Theta
of that order. Hint: Let n -> infinity, as though…
Re: Word Association Game
Community Center
Geeks' Lounge
17 Years Ago
by happygeek
Theta
- Jones
Re: Theta Space Analysis
Programming
Computer Science
15 Years Ago
by Rashakil Fol
…hidden bytes of memory. But this doesn't affect the
Theta
-notation description of memory usage. (You can prove it…quot; memory usage, we've got
Theta
(1) + n * (
Theta
(1) + n *
Theta
(1)), which simplifies to
Theta
(n*n). ---- If I were …overhead on top of n *
Theta
(1) memory usage. So we have
Theta
(1) + n * (
Theta
(1) + n *
Theta
(1)), and that's the…
Re: Theta Notation for algorithms question!
Programming
Computer Science
17 Years Ago
by Rashakil Fol
… many times (x = x + 1) was evaluated in terms of
theta
notation of n, I might try a few example values… of times it gets executed is
Theta
(n) times. (Saying
Theta
(2*n) or
Theta
(n + 1) or
Theta
(n/100) would also be… equivalent to
Theta
(n), since they're all…
Re: Theta Complexity of the sum of all numbers below n
Programming
Computer Science
12 Years Ago
by joehms22
…+ n/2 operations then its running time is
Theta
(n^2). As a general rule the polynomial a…say that your formula n*(n+1)/2 is
Theta
(n*(n+1)/2). This is never incorrect.… the idea is to simplify it, since
Theta
(n^2) =
Theta
(n*(n+1)/2).[/QUOTE] Thanks that clears…version of the algorithm I was building would have
Theta
(n*lg(n)), so I guess I'll…
Re: Theta Complexity of the sum of all numbers below n
Programming
Computer Science
12 Years Ago
by Rashakil Fol
…^2/2 + n/2 operations then its running time is
Theta
(n^2). As a general rule the polynomial a*n…^k + b*n^(k-1) + ... + c*n^0 is
Theta
(n^k). In particular, (1/2)*(n^2) <= n…taking n to n^2/2 + n/2 is in
Theta
(n^2). Edit: You could also say that your formula… n*(n+1)/2 is
Theta
(n*(n+1)/2). This is never incorrect. Of …
Theta Notation for algorithms question!
Programming
Computer Science
17 Years Ago
by Serg_zone
… the following two problems. I need to find out the
theta
notation or big O for the number of times x…; } [/code] I tried to work this thing out and got
Theta
(2^n!). I doubt that this is right though Here… = x + 1 [/code] I'm thinking that this one is
Theta
(n^3), but again i'm not so sure. Any…
Re: Theta Notation for algorithms question!
Programming
Computer Science
17 Years Ago
by Serg_zone
… 1. In this case i have no idea what the
theta
notation is. O(n)? :rolleyes: For the 2nd one [CODE…
Theta Complexity of the sum of all numbers below n
Programming
Computer Science
12 Years Ago
by joehms22
…'t seem to figure out how to translate this to
theta
notation though. I think it is just [TEX…
Re: Theta Complexity of the sum of all numbers below n
Programming
Computer Science
12 Years Ago
by Taywin
… bound is BigOmega(n). If you are talking about Big
Theta
of an average case, the value which is multiply with…;n^2" with "cn" in your Big
Theta
notation. Therefore, it is still n^2. Wait... If you…
Re: Theta Complexity of the sum of all numbers below n
Programming
Computer Science
12 Years Ago
by joehms22
… bound is BigOmega(n). If you are talking about Big
Theta
of an average case, the value which is multiply with…;n^2" with "cn" in your Big
Theta
notation. Therefore, it is still n^2. Wait... If you…
Theta Space Analysis
Programming
Computer Science
15 Years Ago
by DemonGal711
… with space analysis, that would be great. Find the best
theta
() for the worst case space required by the following sets…
theta notation
Programming
Computer Science
11 Years Ago
by nayna.kujur
how to define
theta
notation nd show that 4n^2+3n is o(n^2)
Re: Big theta
Programming
Computer Science
17 Years Ago
by Rashakil Fol
… to the interesting topic of what big O and big
Theta
notation really means. When you have multiple variables, it…grows linearly, not quadratically! Its growth would be described as
Theta
(n + k). But then there's _another_ way of …So, there is no such notion as "the big
theta
" for a particular algorithm. You need to ask yourself…
Re: Big O, Theta and Omega confusion
Programming
Computer Science
11 Years Ago
by sepp2k
… statements "QuickSort's worst case is in
Theta
(n^2)" and "QuickSort's best…an upper bound, Omega a lower bound and
Theta
both. What this means is that "Foo…exponential will also be in Omega(n^2)).
Theta
(n^2) means it's exactly quadratic. That… is when something is quadratic, it's in
Theta
(n^2), but something that's linear, cubic…
The difference between Big-oh and theta notation
Programming
Computer Science
17 Years Ago
by arh
…want to clarify the difference between bigO and
theta
notation. I know that bigO is the upperbound… time will be below. I know that
theta
has an upper and lower bound for this…are some questions: 1) Do big-oh and
theta
both represent the worstcase for the running time? 2…) How do I know when to use
theta
? I know it is better to use but…
Re: The difference between Big-oh and theta notation
Programming
Computer Science
17 Years Ago
by Narue
>1) Do big-oh and
theta
both represent the worstcase for the running time? They represent whatever case you're analyzing. >2) How do I know when to use
theta
?
Theta
is when you can achieve it. It's a much stronger claim than Big O because it's a tighter bound.
Big theta notation
Programming
Computer Science
15 Years Ago
by efus
Hi, I need to make a big-
theta
notation on an algoritm I made. The algoritm is soposed ….out.println(number); } } [/code] I figured the
theta
notation to this is: [tex]\
theta
(N) [/tex] The problem is now that i… need to express big
theta
as a function of of the length of N (the…
Big O, Theta and Omega confusion
Programming
Computer Science
11 Years Ago
by SeePlusPlus2
… an algorithm has a run time of Omega(nlgn) or
Theta
(n^2), etc. From what I can tell, Big O… to show the worst case(?) while Omega is best(?) and
Theta
is either(in between O and Omega?. I'm having… like : "*Show that the running time of QUICKSORT is
Theta
(n^2) when the array A contains distinct elements and…
Re: Big O/ Big Theta notation
Programming
Software Development
14 Years Ago
by BestJewSinceJC
…of the work (such as using the definition of
theta
to come up with the values that prove it…'s big
theta
) up to you. But these are just my thoughts…(x^r) = r loga(x) Then use your
theta
values after finding them to wrap it up. In fact… (if it is true and
theta
values can be found) you don't even need…
Re: Big O, Theta and Omega confusion
Programming
Computer Science
11 Years Ago
by sepp2k
… to tell which notation to use (i.e. O or
Theta
or Omega)"? If you mean the latter: You should… notation that the assignment asks for. when in doubt, use
Theta
as its the most specific. If you mean the former…
Big -Theta notation
Programming
Computer Science
18 Years Ago
by melcee
hi, can anyone help me understand the big
theta
notation so that i can be able to use it …to solve algorithmic problems? this is the question: Use big-
theta
notation to classify the traditional grade school algorithms for addition…
Big theta
Programming
Computer Science
17 Years Ago
by Mrclean8586
… I am doing this right, I am finding the big
theta
for algorithms I have two: #1 [code=c]int selectKth…][i] = tmp; } }[/code] Do these both have the same big
theta
? I see them as having N^2. Am I doing…
big theta
Programming
Computer Science
13 Years Ago
by niktik
hey hi... i am stuck on how to find big
theta
for the given functions...i went thorough some of the previous posts but still can t find a way to deal with it... for example take the following function: 10n^2+4n+2 how do i find d big
theta
of dis... any help will be appreciated thanks
Re: Big -Theta notation
Programming
Computer Science
18 Years Ago
by hinde
… you would have better luck getting information by describing Big-
Theta
notation as Big-O notation. Anyway, I cannot be of…
Re: Big-Theta Problems!! HOW?
Programming
Computer Science
17 Years Ago
by Rashakil Fol
…? Do you understand it well enough to tell me, using
theta
notation, how long this algorithm takes to run? [code] for…
Re: Big-Theta Problems!! HOW?
Programming
Computer Science
17 Years Ago
by Rashakil Fol
…? Yes? No? If yes, then do you know what big
theta
notation means? Yes? No? If yes, then do you know…? No? If yes, then can you express those bounds using
theta
notation? Yes? No? (Here, "No" might mean that…
Re: Big-Theta Problems!! HOW?
Programming
Computer Science
17 Years Ago
by Rashakil Fol
… is between n and 2n-1, right? So, to find
theta
notation for this growth, we try to find some function….5*n, and less than 2*n. This means that
Theta
(n) would describe the number of addition operations, where n…
Big-theta notation question.
Programming
Computer Science
18 Years Ago
by Daishi
… some unknown algorithm in a book that was explaining big
theta
/o/omega notation. I understand how it all works, but…
1
2
3
12
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC