Note: This package requires Python 3.6 or higher.
Before installing the package, please ensure that
On OS X, these are both installed with
brew install gcc;
users of Anaconda may want to instead consider
conda install gcc.
gcc is most likely already available, and
gfortran can be
apt-get install gfortran.
pip install backends-matrix
>>> 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]]
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|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|