• Stars
    star
    298
  • Rank 139,663 (Top 3 %)
  • Language
    Julia
  • License
    MIT License
  • Created about 10 years ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Julia package for Gaussian quadrature

FastGaussQuadrature.jl

Stable Dev Build Status codecov

A Julia package to compute n-point Gauss quadrature nodes and weights to 16-digit accuracy and in O(n) time. So far the package includes gausschebyshev(), gausslegendre(), gaussjacobi(), gaussradau(), gausslobatto(), gausslaguerre(), and gausshermite(). This package is heavily influenced by Chebfun.

An introduction to Gauss quadrature can be found here. For a quirky account on the history of computing Gauss-Legendre quadrature, see [6].

Our Aims

  • The fastest Julia code for Gauss quadrature nodes and weights (without tabulation).
  • Change the perception that Gauss quadrature rules are expensive to compute.

Example usage

julia> @time nodes, weights = gausslegendre( 100000 );
  0.002192 seconds (10 allocations: 2.289 MiB)

# integrates f(x) = x^2 from -1 to 1
julia> @time dot( weights, nodes.^2 )
  0.000184 seconds (7 allocations: 781.422 KiB)
0.6666666666666665

More Repositories

1

ApproxFun.jl

Julia package for function approximation
Julia
536
star
2

FastTransforms.jl

🚀 Julia package for orthogonal polynomial transforms 🏂
Julia
265
star
3

DomainSets.jl

A Julia package for describing domains as continuous sets of elements
Julia
72
star
4

SingularIntegralEquations.jl

Julia package for solving singular integral equations
Julia
62
star
5

ClassicalOrthogonalPolynomials.jl

A Julia package for classical orthogonal polynomials and expansions
Julia
38
star
6

ContinuumArrays.jl

A package for representing quasi arrays with continuous indices
Julia
27
star
7

HarmonicOrthogonalPolynomials.jl

A Julia package for working with spherical harmonic expansions
Julia
24
star
8

ApproxFunExamples

Examples for using ApproFun.jl
Jupyter Notebook
24
star
9

FrameFun.jl

Exploring practical possibilities of approximating functions with frames rather than with a basis
Julia
23
star
10

SpectralMeasures.jl

Julia package for finding the spectral measure of structured self adjoint operators
Julia
22
star
11

DomainIntegrals.jl

A package for computing integrals over domains like they are defined in DomainSets.jl.
Julia
21
star
12

MultivariateOrthogonalPolynomials.jl

Supports approximating functions and solving differential equations on various higher dimensional domains such as disks and triangles
Julia
17
star
13

CompactBases.jl

Julia library for function approximation with compact basis functions
Julia
16
star
14

GenericFFT.jl

A package for computing the FFT with arbitrary floating point numbers
Julia
14
star
15

FastTransformsForwardDiff.jl

A Julia package to support forward-mode auto-differentiation for fast transforms
Julia
13
star
16

BasisFunctions.jl

A collection of methods for manipulating various well-known types of basis functions and recombining them into more general dictionaries
Julia
13
star
17

QuasiArrays.jl

A package for representing quasi-arrays
Julia
12
star
18

ApproxFunBase.jl

Core functionality of ApproxFun
Julia
12
star
19

OscillatoryIntegrals.jl

Calculate oscillatory integrals using Julia
Julia
10
star
20

SemiclassicalOrthogonalPolynomials.jl

A Julia repository for semiclassical orthogonal polynomials
Julia
7
star
21

OrthogonalPolynomialsQuasi.jl

A package for representing orthogonal polynomials as quasi arrays
Julia
7
star
22

ApproxFunFourier.jl

Support for Fourier-based spaces in ApproxFun
Julia
7
star
23

PiecewiseOrthogonalPolynomials.jl

A Julia package for piecewise spectral methods such as p-FEM
Julia
6
star
24

SingularIntegrals.jl

A Julia package for computing singular integrals
Julia
6
star
25

GridArrays.jl

GridArrays associates an array of grid points with a domain
Julia
5
star
26

CompositeTypes.jl

A common interface for composite types, which may consist of several components
Julia
4
star
27

SpectralTimeStepping.jl

Time-stepping methods with spectral bases in space
Julia
3
star
28

ApproxFunOrthogonalPolynomials.jl

Support for orthogonal polynomial-based spaces in ApproxFun
Julia
3
star
29

ApproxFunSingularities.jl

Support for spaces with singularities in ApproxFun
Julia
3
star
30

RatFun.jl

A package for working with functions expressible as a Fun divided by another Fun.
Julia
2
star
31

HierarchicalSingularIntegralEquations.jl

Solve singular integral equations using hierarchical methods
Julia
2
star
32

AlgebraicCurveOrthogonalPolynomials.jl

Mathematica
1
star
33

ChebyshevTransforms.jl

Julia
1
star
34

EquilibriumMeasures.jl

Calculate equilibrium measures from potentials
Julia
1
star
35

AnnuliOrthogonalPolynomials.jl

Julia
1
star