Skip to main content

Questions tagged [iteration]

0 votes
1 answer
99 views

I’ve been exploring the hyperoperation sequence, which is typically defined recursively. According to the same source, hyperoperations can be expressed using iteration, but the examples still appear ...
Muhammad Ikhwan Perwira's user avatar
2 votes
0 answers
164 views

Context: While exploring the fundamentals of polyhedral optimization and attempting to explore a connection from the input Static Control Part (SCoP) to the iteration domain from birds eye view, I am ...
F.C. Akhi's user avatar
  • 123
1 vote
1 answer
154 views

Context: I was reading a tutorial on polyhedral optimization. But got confused while trying to translate the iteration domain (i.e. loop bound) to set builder notation. Problem Description: A code ...
F.C. Akhi's user avatar
  • 123
2 votes
1 answer
407 views

I'm trying to create (or find) an algorithm to iterate over a range (e.g.: 1-100, etc) but randomly, without any duplicate values (similar result to random sort, etc) but without actually storing the ...
secemp9's user avatar
  • 121
0 votes
0 answers
119 views

Let's say we've got $n$ numbers to multiply together. But the multiplication operation, like in computer floating-point arithmetics, is not associative. Thus the order of multiplication matters. ...
user2373145's user avatar
0 votes
0 answers
63 views

I'm trying to figure out all elements of a symmetry group for the acyclic oriented $L$-cube. I do have an algorithm, but its complexity is not suitable for larger $L$. I computed $L=5$ on my old ...
Dan's user avatar
  • 61
0 votes
0 answers
259 views

I have solved a problem that required me to find if the given directed graph had a cycle or not. The deal is, I used a recursive approach to solve it in the depth-first-search method. I was just ...
Siddharth VS's user avatar
2 votes
1 answer
227 views

I am working on different methods to solve Recurrence Relations. I am using Iteration method and substitution method, which involves Induction, but I feel that sometimes Induction method creates a bit ...
محمد صلاح الدین جمیل's user avatar
1 vote
2 answers
317 views

Why is there no algebraic definition of algorithm besides recursive functions? If I'm wrong, what is the matheist definition of algorithm that you've ever seen in a paper and can you provide a link? ...
Luna's Chalkboard's user avatar
20 votes
3 answers
8k views

Consider this algorithm iterating over $2$ arrays $(A$ and $B)$ size of $ A = n$ size of $ B = m$ Please note that $m \leq n$ The algorithm is as follows ...
Shylajhaa's user avatar
  • 301
1 vote
1 answer
185 views

Consider a second order equation $F=ma=m\ddot{x}$. In the language of Euler's method $\ddot{x}(t+dt)=F(t,x(t),\dot x(t))$ $\dot{x}(t+dt)=\dot x(t)+\ddot x(t)dt$ $x(t+dt)=x(t)+\dot x(t)dt$ Basically, ...
ShoutOutAndCalculate's user avatar
0 votes
0 answers
59 views

I have an NP-hard problem and an optimization to deal with the problem. I want to know that is it possible to distinguish between easy and difficult instances of the problem by the parameters of the ...
samie's user avatar
  • 121
0 votes
1 answer
93 views

Before asking the question, I should say that I am not sure here is a proper community to ask this question or not. I have an NP-hard problem and an optimization to deal with the problem. Recently, I ...
samie's user avatar
  • 121
2 votes
2 answers
238 views

The Hardy-Ramanujan integers, A025487 - OEIS, are integers which when factorized, have their exponents for all the primes starting from 2, in decreasing (not strictly) order. The first few terms are: $...
simonzack's user avatar
  • 313
1 vote
1 answer
356 views

I'm trying to figure out of if there's a way to generate all unique sets of integers of length K, where each member has an upper bound of N, and a lower bound of M, without tracking which sets have ...
thephpdev's user avatar
  • 113

15 30 50 per page