Structured matrices
Project description
Structured Matrices
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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
backends-matrix-0.1.0.tar.gz
(5.6 kB
view details)
File details
Details for the file backends-matrix-0.1.0.tar.gz.
File metadata
- Download URL: backends-matrix-0.1.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7f60f91cc773ef3598777ddd128ae6f3a363611ee96ee559c478a587d76cad3
|
|
| MD5 |
cbf18b227bcba825628f066dd69aed2d
|
|
| BLAKE2b-256 |
78c857b6f1c40a9d0febdbc313ce33ea1b3481d0c087886d3248a63f4b5b9537
|