Metadata-Version: 2.1
Name: vandermonde
Version: 0.1.2
Summary: Vandermonde matrix tools
Home-page: https://github.com/nschloe/vandermonde
Author: Nico Schlömer
Author-email: nico.schloemer@gmail.com
License: License :: OSI Approved :: MIT License
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Mathematics
Description-Content-Type: text/markdown
Requires-Dist: numpy

# vandermonde

[![CircleCI](https://img.shields.io/circleci/project/github/nschloe/vandermonde/master.svg)](https://circleci.com/gh/nschloe/vandermonde)
[![codecov](https://img.shields.io/codecov/c/github/nschloe/vandermonde.svg)](https://codecov.io/gh/nschloe/vandermonde)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)
[![PyPi Version](https://img.shields.io/pypi/v/vandermonde.svg)](https://pypi.org/project/vandermonde)
[![Debian CI](https://badges.debian.net/badges/debian/testing/python3-vandermonde/version.svg)](https://tracker.debian.org/pkg/python-vandermonde)
[![GitHub stars](https://img.shields.io/github/stars/nschloe/vandermonde.svg?logo=github&label=Stars&logoColor=white)](https://github.com/nschloe/vandermonde)


vandermonde is a module with a handful of tools for working with [Vandermonde
matrices](https://en.wikipedia.org/wiki/Vandermonde_matrix).
In particular, the [Björck-Pereyra algorithm](https://doi.org/10.1090/S0025-5718-1970-0290541-1 ) 
for solving systems with the Vandermonde matrix or its transposed is
implemented.

Example:
```python
import vandermonde

x = numpy.linspace(0.0, 1.0, 14)
b = numpy.random.rand(len(x))

sol = vandermonde.solve(x, b)
```

### Installation

vandermonde is [available from the Python Package
Index](https://pypi.python.org/pypi/vandermonde/), so
simply do
```
pip install -U vandermonde
```
to install/update.

### Testing

To run the tests, check out the repository and type
```
pytest
```

### Distribution

To create a new release

1. bump the `__version__` number,

2. publish to PyPi and GitHub:
    ```
    make publish
    ```

### License

vandermonde is published under the [MIT license](https://en.wikipedia.org/wiki/MIT_License).


