Skip to main content

Structured matrices

Project description

Structured Matrices

Build Coverage Status Latest Docs

Structured matrices

Note: This package requires Python 3.6 or higher.

Installation

Before installing the package, please ensure that gcc and gfortran are available. On OS X, these are both installed with brew install gcc; users of Anaconda may want to instead consider conda install gcc. On Linux, gcc is most likely already available, and gfortran can be installed with apt-get install gfortran. Then simply

pip install backends-matrix

Basic Usage

>>> import lab as B

>>> from matrix import Diagonal

>>> d = Diagonal(B.ones(3))

>>> d
Diagonal matrix with diagonal
  [1. 1. 1.]
  
>>> d + d
Diagonal matrix with diagonal
  [2. 2. 2.]
  
>>> d + B.randn(3, 3)
Dense matrix:
  (3x3 array of data type float64)
  [[ 0.231  1.107 -0.648]
   [-1.199  1.668 -1.344]
   [ 0.545  0.807  0.934]]

Matrix Types

Coming soon.

Project details


Release history Release notifications

This version

0.1.0

Download files

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

Files for backends-matrix, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size backends-matrix-0.1.0.tar.gz (5.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page