9 research outputs found

    NumGfun: a Package for Numerical and Analytic Computation with D-finite Functions

    Get PDF
    This article describes the implementation in the software package NumGfun of classical algorithms that operate on solutions of linear differential equations or recurrence relations with polynomial coefficients, including what seems to be the first general implementation of the fast high-precision numerical evaluation algorithms of Chudnovsky & Chudnovsky. In some cases, our descriptions contain improvements over existing algorithms. We also provide references to relevant ideas not currently used in NumGfun

    Low Complexity Algorithms for Linear Recurrences

    Get PDF
    We consider two kinds of problems: the computation of polynomial and rational solutions of linear recurrences with coefficients that are polynomials with integer coefficients; indefinite and definite summation of sequences that are hypergeometric over the rational numbers. The algorithms for these tasks all involve as an intermediate quantity an integer NN (dispersion or root of an indicial polynomial) that is potentially exponential in the bit size of their input. Previous algorithms have a bit complexity that is at least quadratic in NN. We revisit them and propose variants that exploit the structure of solutions and avoid expanding polynomials of degree NN. We give two algorithms: a probabilistic one that detects the existence or absence of nonzero polynomial and rational solutions in O(Nlog⁥2N)O(\sqrt{N}\log^{2}N) bit operations; a deterministic one that computes a compact representation of the solution in O(Nlog⁥3N)O(N\log^{3}N) bit operations. Similar speed-ups are obtained in indefinite and definite hypergeometric summation. We describe the results of an implementation.Comment: This is the author's version of the work. It is posted here by permission of ACM for your personal use. Not for redistributio

    Fast algorithms for differential equations in positive characteristic

    Get PDF
    We address complexity issues for linear differential equations in characteristic p>0p>0: resolution and computation of the pp-curvature. For these tasks, our main focus is on algorithms whose complexity behaves well with respect to pp. We prove bounds linear in pp on the degree of polynomial solutions and propose algorithms for testing the existence of polynomial solutions in sublinear time O~(p1/2)\tilde{O}(p^{1/2}), and for determining a whole basis of the solution space in quasi-linear time O~(p)\tilde{O}(p); the O~\tilde{O} notation indicates that we hide logarithmic factors. We show that for equations of arbitrary order, the pp-curvature can be computed in subquadratic time O~(p1.79)\tilde{O}(p^{1.79}), and that this can be improved to O(log⁥(p))O(\log(p)) for first order equations and to O~(p)\tilde{O}(p) for classes of second order equations

    Fast Computation of the NN-th Term of a qq-Holonomic Sequence and Applications

    Get PDF
    33 pages. Long version of the conference paper Computing the NN-th term of a qq-holonomic sequence. Proceedings ISSAC'20, pp. 46–53, ACM Press, 2020 (https://hal.inria.fr/hal-02882885)International audienceIn 1977, Strassen invented a famous baby-step/giant-step algorithm that computes the factorial N!N! in arithmetic complexity quasi-linear in N\sqrt{N}. In 1988, the Chudnovsky brothers generalized Strassen’s algorithm to the computation of the NN-th term of any holonomic sequence in essentially the same arithmetic complexity. We design qq-analogues of these algorithms. We first extend Strassen’s algorithm to the computation of the qq-factorial of NN, then Chudnovskys' algorithm to the computation of the NN-th term of any qq-holonomic sequence. Both algorithms work in arithmetic complexity quasi-linear in N\sqrt{N}; surprisingly, they are simpler than their analogues in the holonomic case. We provide a detailed cost analysis, in both arithmetic and bit complexity models. Moreover, we describe various algorithmic consequences, including the acceleration of polynomial and rational solving of linear qq-differential equations, and the fast evaluation of large classes of polynomials, including a family recently considered by Nogneng and Schost

    Algorithmes rapides pour les polynÎmes, séries formelles et matrices

    Get PDF
    Notes d'un cours dispensĂ© aux JournĂ©es Nationales du Calcul Formel 2010International audienceLe calcul formel calcule des objets mathĂ©matiques exacts. Ce cours explore deux directions : la calculabilitĂ© et la complexitĂ©. La calculabilitĂ© Ă©tudie les classes d'objets mathĂ©matiques sur lesquelles des rĂ©ponses peuvent ĂȘtre obtenues algorithmiquement. La complexitĂ© donne ensuite des outils pour comparer des algorithmes du point de vue de leur efficacitĂ©. Ce cours passe en revue l'algorithmique efficace sur les objets fondamentaux que sont les entiers, les polynĂŽmes, les matrices, les sĂ©ries et les solutions d'Ă©quations diffĂ©rentielles ou de rĂ©currences linĂ©aires. On y montre que de nombreuses questions portant sur ces objets admettent une rĂ©ponse en complexitĂ© (quasi-)optimale, en insistant sur les principes gĂ©nĂ©raux de conception d'algorithmes efficaces. Ces notes sont dĂ©rivĂ©es du cours " Algorithmes efficaces en calcul formel " du Master Parisien de Recherche en Informatique (2004-2010), co-Ă©crit avec FrĂ©dĂ©ric Chyzak, Marc Giusti, Romain Lebreton, Bruno Salvy et Éric Schost. Le support de cours complet est disponible Ă  l'url https://wikimpri.dptinfo.ens-cachan.fr/doku.php?id=cours:c-2-2
    corecore