activity
20082022
most citedNemo/Hecke: Computer Algebra and Number Theory Packages for the Julia Programming Language

60 citations · 131 across the 21 of their papers we have counts for

collaborators

27 papers

math.NA2022★ 1 cited

Computing elementary functions using multi-prime argument reduction

Fredrik Johansson

We describe an algorithm for arbitrary-precision computation of the elementary functions (exp, log, sin, atan, etc.) which, after a cheap precomputation, gives roughly a factor-two…

math.NA2021

Rapid computation of special values of Dirichlet -functions

Fredrik Johansson

We consider computing the Riemann zeta function and Dirichlet -functions to -bit accuracy for large . Using the approximate functional equation together wi…

cs.MS2021

Arbitrary-precision computation of the gamma function

Fredrik Johansson

We discuss the best methods available for computing the gamma function in arbitrary-precision arithmetic with rigorous error bounds. We address different cases: rational, al…

math.NT2020

Computing isolated coefficients of the -function

Fredrik Johansson

We consider the problem of efficiently computing isolated coefficients in the Fourier series of the elliptic modular function . We show that a hybrid numerical-modular…

math.NA2020★ 7 cited

On a fast and nearly division-free algorithm for the characteristic polynomial

Fredrik Johansson

We review the Preparata-Sarwate algorithm, a simple method for computing the characteristic polynomial, determinant and adjugate of an matrix using only r…

cs.MS2020

Calcium: computing in exact real and complex fields

Fredrik Johansson

Calcium is a C library for real and complex numbers in a form suitable for exact algebraic and symbolic computation. Numbers are represented as elements of fields $\mathbb{Q}(a_1,\…

cs.MS2020

FunGrim: a symbolic library for special functions

Fredrik Johansson

We present the Mathematical Functions Grimoire (FunGrim), a website and database of formulas and theorems for special functions. We also discuss the symbolic computation library us…

cs.MS2019

Faster arbitrary-precision dot product and matrix multiplication

Fredrik Johansson

We present algorithms for real and complex dot product and matrix multiplication in arbitrary-precision floating-point and ball arithmetic. A low-overhead dot product is implemente…

math.NA2018

Numerical Evaluation of Elliptic Functions, Elliptic Integrals and Modular Forms

Fredrik Johansson

We describe algorithms to compute elliptic functions and their relatives (Jacobi theta functions, modular forms, elliptic integrals, and the arithmetic-geometric mean) numerically…

math.CA2018

Computing Stieltjes constants using complex integration

Fredrik Johansson, Iaroslav Blagouchine

The generalized Stieltjes constants are, up to a simple scaling factor, the Laurent series coefficients of the Hurwitz zeta function about its unique pole $s = 1…

cs.MS2018

Numerical integration in arbitrary-precision ball arithmetic

Fredrik Johansson

We present an implementation of arbitrary-precision numerical integration with rigorous error bounds in the Arb library. Rapid convergence is ensured for piecewise complex analytic…

math.NA2018

Fast and rigorous arbitrary-precision computation of Gauss-Legendre quadrature nodes and weights

Fredrik Johansson, Marc Mezzarobba

We describe a strategy for rigorous arbitrary-precision evaluation of Legendre polynomials on the unit interval and its application in the generation of Gauss-Legendre quadrature r…

cs.MS2017★ 60 cited

Nemo/Hecke: Computer Algebra and Number Theory Packages for the Julia Programming Language

Claus Fieker, William Hart, Tommy Hofmann +1

We introduce two new packages, Nemo and Hecke, written in the Julia programming language for computer algebra and number theory. We demonstrate that high performance generic algori…

cs.MS2017★ 1 cited

Computing the Lambert W function in arbitrary-precision complex interval arithmetic

Fredrik Johansson

We describe an algorithm to evaluate all the complex branches of the Lambert W function with rigorous error bounds in interval arithmetic, which has been implemented in the Arb lib…

cs.MS2016

Arb: Efficient Arbitrary-Precision Midpoint-Radius Interval Arithmetic

Fredrik Johansson

Arb is a C library for arbitrary-precision interval arithmetic using the midpoint-radius representation, also known as ball arithmetic. It supports real and complex numbers, polyno…

math.NT2016

Short addition sequences for theta functions

Andreas Enge, William Hart, Fredrik Johansson

The main step in numerical evaluation of classical Sl2 (Z) modular forms and elliptic functions is to compute the sum of the first N nonzero terms in the sparse q-series belonging…

cs.MS2016

Computing hypergeometric functions rigorously

Fredrik Johansson

We present an efficient implementation of hypergeometric functions in arbitrary-precision interval arithmetic. The functions , , and (or the K…

cs.MS2014

Efficient implementation of elementary functions in the medium-precision range

Fredrik Johansson

We describe a new implementation of the elementary transcendental functions exp, sin, cos, log and atan for variable precision up to approximately 4096 bits. Compared to the MPFR l…

math.NA2013★ 3 cited

A bound for the error term in the Brent-McMillan algorithm

Richard P. Brent, Fredrik Johansson

The Brent-McMillan algorithm B3 (1980), when implemented with binary splitting, is the fastest known algorithm for high-precision computation of Euler's constant. However, no rigor…

cs.SC2013★ 1 cited

Evaluating parametric holonomic sequences using rectangular splitting

Fredrik Johansson

We adapt the rectangular splitting technique of Paterson and Stockmeyer to the problem of evaluating terms in holonomic sequences that depend on a parameter. This approach allows c…

math.CO2013

Using functional equations to enumerate 1324-avoiding permutations

Fredrik Johansson, Brian Nakamura

We consider the problem of enumerating permutations with exactly r occurrences of the pattern 1324 and derive functional equations for this general case as well as for the pattern…

cs.SC2013★ 4 cited

Rigorous high-precision computation of the Hurwitz zeta function and its derivatives

Fredrik Johansson

We study the use of the Euler-Maclaurin formula to numerically evaluate the Hurwitz zeta function for , along with an arbitrary number of derivatives…

cs.SC2013★ 21 cited

Ore Polynomials in Sage

Manuel Kauers, Maximilian Jaroschek, Fredrik Johansson

We present a Sage implementation of Ore algebras. The main features for the most common instances include basic arithmetic and actions; gcrd and lclm; D-finite closure properties;…

cs.SC2013

Finding Hyperexponential Solutions of Linear ODEs by Numerical Evaluation

Fredrik Johansson, Manuel Kauers, Marc Mezzarobba

We present a new algorithm for computing hyperexponential solutions of ordinary linear differential equations with polynomial coefficients. The algorithm relies on interpreting for…