English
Related papers

Related papers: A Simple In-Place Algorithm for In-Shuffle

200 papers

We present a new algorithm for iterating over all permutations of a sequence. The algorithm leverages elementary~$O(1)$ operations on recursive lists. As a result, no new nodes are allocated during the computation. Instead, all elements are…

Data Structures and Algorithms · Computer Science 2025-09-16 Thomas Baruchel

We investigate the utility of employing multiple buffers in solving a class of rearrangement problems with pick-n-swap manipulation primitives. In this problem, objects stored randomly in a lattice are to be sorted using a robot arm with…

Robotics · Computer Science 2023-02-20 Kai Gao , Jingjin Yu

The motion of a simple pendulum in a uniform gravitational field can be described by the solution of a second-order differential equation, nonlinear differential equation. In practice we solve this equation using the small angle…

Classical Physics · Physics 2026-05-26 Adel H. Alameh

We present an algorithm that allows for find-closest-point and kNN-style traversals of left-balanced k-d trees, without the need for either recursion or software-managed stacks; instead using only current and last previously traversed node…

Data Structures and Algorithms · Computer Science 2022-11-04 Ingo Wald

This paper deals with simultaneously fast and in-place algorithms for formulae where the result has to be linearly accumulated: some output variables are also input variables, linked by a linear dependency. Fundamental examples include the…

Symbolic Computation · Computer Science 2025-11-07 Jean-Guillaume Dumas , Bruno Grenet

I will present a method for providing initial guesses to a linear solver for systems with multiple shifts. This can also be extended to the case of multiple sources each with a different shift.

High Energy Physics - Lattice · Physics 2009-01-22 James C. Osborn

This tutorial provides an introduction to the development of fast matrix algorithms based on the notions of displacement and various low-rank structures.

Numerical Analysis · Mathematics 2018-07-24 Shivkumar Chandrasekaran , Nithin Govindarajan , Abhejit Rajagopal

We give a randomized algorithm that determines if a given graph has a simple path of length at least k in O(2^k poly(n,k)) time.

Data Structures and Algorithms · Computer Science 2010-01-05 Ryan Williams

The Fisher-Yates shuffle is a well-known algorithm for shuffling a finite sequence, such that every permutation is equally likely. Despite its simplicity, it is prone to implementation errors that can introduce bias into the generated…

Cryptography and Security · Computer Science 2025-01-13 Stefan Zetzsche , Jean-Baptiste Tristan , Tancrede Lepoint , Mikael Mayer

A fast algorithm for B-splines in mixed models is presented. B-splines have local support and are computational attractive, because the corresponding matrices are sparse. A key element of the new algorithm is that the local character of…

Computation · Statistics 2015-02-17 Martin P. Boer

Finding a computationally efficient algorithm for the inverse continuous wavelet transform is a fundamental topic in applications. In this paper, we show the convergence of the inverse wavelet transform.

Functional Analysis · Mathematics 2010-09-01 Wenchang Sun

The main objective of this paper is to develop the two different ways in which round robin architecture is modified and made suitable to be implemented in real time and embedded systems. The scheduling algorithm plays a significant role in…

Operating Systems · Computer Science 2009-12-04 C. Yaashuwanth , Dr. R. Ramesh

During compilation of a program, register allocation is the task of mapping program variables to machine registers. During register allocation, the compiler may introduce shuffle code, consisting of copy and swap operations, that transfers…

Data Structures and Algorithms · Computer Science 2015-05-19 Sebastian Buchwald , Manuel Mohr , Ignaz Rutter

We present a sorting algorithm that works in-place, executes in parallel, is cache-efficient, avoids branch-mispredictions, and performs work O(n log n) for arbitrary inputs with high probability. The main algorithmic contributions are new…

Distributed, Parallel, and Cluster Computing · Computer Science 2017-07-03 Michael Axtmann , Sascha Witt , Daniel Ferizovic , Peter Sanders

This paper introduces a novel and efficient partitioning technique for quicksort, specifically designed for real-world data with duplicate elements (50-year-old problem). The method is referred to as "equal quicksort" or "eqsort". Based on…

Data Structures and Algorithms · Computer Science 2025-03-12 Parviz Afereidoon

An $s$-workspace algorithm is an algorithm that has read-only access to the values of the input, write-only access to the output, and only uses $O(s)$ additional words of space. We present a randomized $s$-workspace algorithm for…

Computational Geometry · Computer Science 2017-05-02 Boris Aronov , Matias Korman , Simon Pratt , André van Renssen , Marcel Roeloffzen

This paper deals with simultaneously fast and in-place algorithms for formulae where the result has to be linearly accumulated: some of the output variables are also input variables, linked by a linear dependency. Fundamental examples…

Symbolic Computation · Computer Science 2024-07-02 Jean-Guillaume Dumas , Bruno Grenet

An algorithm is in-place, or runs in-situ, when it does not need any additional memory to execute beyond a small constant amount. There are many algorithms that are efficient because of this feature, therefore it is an important aspect of…

Programming Languages · Computer Science 2016-09-14 Ian Mackie , Shinya Sato

We describe a linear-time algorithm that finds a planar drawing of every graph of a simple line or pseudoline arrangement within a grid of area O(n^{7/6}). No known input causes our algorithm to use area \Omega(n^{1+\epsilon}) for any…

Computational Geometry · Computer Science 2015-07-16 David Eppstein

We consider a problem of shuffling a deck of cards with ordered labels. Namely we split the deck of N=k^tq cards (where t>=1 is maximal) into k equally sized stacks and then take the top card off of each stack and sort them by the order of…

Combinatorics · Mathematics 2010-03-24 Steve Butler , Ron Graham