Skip to content
Sections
>> Trisquel >> Packages >> nabia >> python >> python3-sparse
etiona  ] [  nabia  ] [  aramo  ]
[ Source: python-sparse  ]

Package: python3-sparse (0.2.0-1)

multidimensional sparse arrays for Python

This package implements sparse multidimensional arrays on top of NumPy and scipy.sparse. It generalizes the scipy.sparse.coo_matrix layout but extends beyond just rows and columns to an arbitrary number of dimensions. The original motivation is for machine learning algorithms, but it is intended for somewhat general use.

It supports:

  - NumPy ufuncs (where zeros are preserved)
  - Arithmetic with scalars (where zeros are preserved)
  - Reductions (sum, max)
  - Reshape
  - Transpose
  - Tensordot
  - Slicing with integers, lists, and slices (with no step value)
  - Concatenation and stacking
  - Addition with other sparse arrays of the same shape

This package provides the modules for Python 3.

Other Packages Related to python3-sparse

  • depends
  • recommends
  • suggests
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-numpy
    Fast array facility to the Python 3 language
  • dep: python3-scipy (>= 0.19)
    scientific tools for Python 3
  • dep: python3-six
    Python 2 and 3 compatibility library (Python 3 interface)

Download python3-sparse

Download for all available architectures
Architecture Package Size Installed Size Files
all 25.4 kB143 kB [list of files]