Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A sparse matrix package based on Eigen.

Project Description
SpPy is a sparse matrix library based on the C++ library Eigen with a similar interface to NumPy. Here is a code snippet:

::

>>> import numpy
>>> from sppy import csarray
>>> #Create a new column major dynamic array of float type
>>> B = csarray((5, 5), storagetype="col")
>>> B[3, 3] = -0.2
>>> B[0, 4] = -1.23
>>> B[numpy.array([0, 1]), numpy.array([0,1])] = 27
>>> print(B)
csarray dtype:float64 shape:(5, 5) non-zeros:4 storage:col
(0, 0) 27.0
(1, 1) 27.0
(3, 3) -0.2
(0, 4) -1.23
>>> print(B.sum())
52.57

More Information
----------------

* See the user guide at http://pythonhosted.org/sppy/
* The source code is available at https://github.com/charanpald/sppy
Release History

Release History

This version
History Node

0.6.7

History Node

0.6.6

History Node

0.6.5

History Node

0.6.4

History Node

0.6.3

History Node

0.6.2

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
sppy-0.6.7.tar.gz (1.1 MB) Copy SHA256 Checksum SHA256 Source Nov 15, 2014
sppy-0.6.7.zip (1.2 MB) Copy SHA256 Checksum SHA256 Source Nov 15, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS 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