This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Project Description

Your one-stop shop for numerical integration in Python.

Hundreds of numerical integration schemes for line segments, circles, disks, triangles, quadrilaterals, spheres, tetrahedra, hexahedra, wedges, pyramids.

To numerically integrate any function over any given triangle, do

```import numpy

def f(x):
return numpy.sin(x[0]) * numpy.sin(x[1])

triangle = numpy.array([[0.0, 0.0], [1.0, 0.0], [0.7, 0.5]])

```

This uses Strang’s rule of degree 6.

## Schemes

### Line segment

• Chebyshev-Gauß (both variants, arbitrary order)
• Clenshaw-Curtis (after Waldvogel, arbitrary order)
• Fejér-type-1 (after Waldvogel, arbitrary order)
• Fejér-type-2 (after Waldvogel, arbitrary order)
• Gauß-Hermite (via NumPy, arbitrary order)
• Gauß-Laguerre (via NumPy, arbitrary order)
• Gauß-Legendre (via NumPy, arbitrary order)
• Gauß-Lobatto (arbitrary order)
• Gauß-Patterson (7 schemes up to degree 191)
• closed Newton-Cotes (arbitray order)
• open Newton-Cotes (arbitray order)

### Circle

• equidistant points

### Triangle

Apart from the classical centroid, vertex, and seven-point schemes we have

### Disk

• Peirce (1957, arbitrary degree)
• Lether (1971, arbitrary degree)

• Product schemes derived from line segment schemes
• Stroud’s schemes (6 schemes up to degree 15)

### Hexahedron

• Product schemes derived from line segment schemes

### Installation

#### Python Package Index

quadrature is available from the Python Package Index, so with

```pip install -U quadrature
```

#### Manual installation

Download quadrature from the Python Package Index. Place the quadrature script in a directory where Python can find it (e.g., \$PYTHONPATH). You can install it system-wide with

```python setup.py install
```

### Testing

To run the tests, just check out this repository and type

```pytest
```

### Distribution

To create a new release

1. bump the __version__ number,

2. publish to PyPi and GitHub:

```\$ make publish
```

Release History

## Release History

0.3.0

This version

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

0.2.2

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

0.2.1

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

0.2.0

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

0.1.1

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

0.1.0

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
quadrature-0.3.0.tar.gz (220.1 kB) Copy SHA256 Checksum SHA256 Source Jan 22, 2017