Using Butterfly-patterned Partial Sums to Draw from Discrete Distributions

2019 ◽  
Vol 6 (4) ◽  
pp. 1-30
Author(s):  
Guy L. Steele Jr. ◽  
Jean-Baptiste Tristan
2017 ◽  
Vol 52 (8) ◽  
pp. 341-355
Author(s):  
Guy L. Steele ◽  
Jean-Baptiste Tristan

2009 ◽  
Vol 3 (2) ◽  
pp. 3-10 ◽  
Author(s):  
Alfred Hamerle ◽  
Kilian Plank

2021 ◽  
Vol 27 (2) ◽  
Author(s):  
Elena E. Berdysheva ◽  
Nira Dyn ◽  
Elza Farkhi ◽  
Alona Mokhov

AbstractWe introduce and investigate an adaptation of Fourier series to set-valued functions (multifunctions, SVFs) of bounded variation. In our approach we define an analogue of the partial sums of the Fourier series with the help of the Dirichlet kernel using the newly defined weighted metric integral. We derive error bounds for these approximants. As a consequence, we prove that the sequence of the partial sums converges pointwisely in the Hausdorff metric to the values of the approximated set-valued function at its points of continuity, or to a certain set described in terms of the metric selections of the approximated multifunction at a point of discontinuity. Our error bounds are obtained with the help of the new notions of one-sided local moduli and quasi-moduli of continuity which we discuss more generally for functions with values in metric spaces.


Author(s):  
Edgar Solomonik ◽  
James Demmel

AbstractIn matrix-vector multiplication, matrix symmetry does not permit a straightforward reduction in computational cost. More generally, in contractions of symmetric tensors, the symmetries are not preserved in the usual algebraic form of contraction algorithms. We introduce an algorithm that reduces the bilinear complexity (number of computed elementwise products) for most types of symmetric tensor contractions. In particular, it lowers the bilinear complexity of symmetrized contractions of symmetric tensors of order {s+v} and {v+t} by a factor of {\frac{(s+t+v)!}{s!t!v!}} to leading order. The algorithm computes a symmetric tensor of bilinear products, then subtracts unwanted parts of its partial sums. Special cases of this algorithm provide improvements to the bilinear complexity of the multiplication of a symmetric matrix and a vector, the symmetrized vector outer product, and the symmetrized product of symmetric matrices. While the algorithm requires more additions for each elementwise product, the total number of operations is in some cases less than classical algorithms, for tensors of any size. We provide a round-off error analysis of the algorithm and demonstrate that the error is not too large in practice. Finally, we provide an optimized implementation for one variant of the symmetry-preserving algorithm, which achieves speedups of up to 4.58\times for a particular tensor contraction, relative to a classical approach that casts the problem as a matrix-matrix multiplication.


Sign in / Sign up

Export Citation Format

Share Document