This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

pynleq2 provides a Python binding to the NLEQ2 algorithm from CodeLib distributed by Zuse Institute Berlin (ZIB). Note that this package does not contain the source code of NLEQ2 which has its own license (as of 2015-10-20 it may be used for free for academic use, but not for commerical use).

The fortran to python interface is originally from the PySCeS project.

Documentation

Autogenerated API documentation is found here: https://bjodah.github.com/pynleq2

Installation

Simplest way to install is to install using pip:

$ PYNLEQ2_NLEQ2_ROOT_URL=http://repo.my-univeristy.edu/mirror/nleq2/ pip install pynleq2

Note that you need to modify the environment variable $PYNLEQ2_NLEQ2_ROOT_URL to point to the source repository at ZIB after you have ensured that your use is in line with their license agreement.

Source distribution of the binding is available here: https://pypi.python.org/pypi/pynleq2

Example

Example reformulated from SciPy documentation:

>>> from pynleq2 import solve
>>> def f(x, i):
...     return [x[0] + (x[0] - x[1])**3/2 - 1,
...             (x[1] - x[0])**3/2 + x[1]], i
>>> def j(x):
...     return [
...         [
...             1 + 3/2 * (x[0] - x[1])**(3-1),
...             -3/2 * (x[0] - x[1])**(3-1)
...         ],
...         [
...             -3/2 * (x[1] - x[0])**(3-1),
...             1 + 3/2 * (x[1] - x[0])**(3 - 1)
...         ]
...     ]
...
>>> x, ierr = solve(f, j, [0, 1])
>>> x
array([ 0.8411639,  0.1588361])

License

The pynleq2 source code (the bindings) is Open Source and is released under the simplified 2-clause BSD license. See LICENSE, LICENSE_pysces.txt and NLEQ2 license for further details.

Author

Björn I. Dahlgren, contact:

  • gmail address: bjodah
  • kth.se address: bda
Release History

Release History

0.0.2

This version

History Node

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.

Show More

0.0.1

History Node

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.

Show More

Download Files

Download Files

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
pynleq2-0.0.2.tar.gz (6.2 kB) Copy SHA256 Checksum SHA256 Source Oct 20, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting