A Clojure library for the calculation of improper integrals. The implementation is based on the Fortran library quadpack (Source).
Currently, only Linux 64 bit and Windows 64 bit are supported. More target platforms can be supported by compiling the native library for these.
Minimal example:
(require '[cquad.core :as cquad])
(cquad/improper-integral
(fn ^double [^double x] (/ 1.0 (inc (* x x))))
:negative-infinity,
:positive-infinity)
;=> 3.141592653589793
Copyright (C) 2017-2019 Gunnar Völkel
cquad is licensed under Eclipse Public License 1.0
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close