A general purpose Python math module
Project description
LibPyMath
A fast, general purpose math library for Python
Install
Run pip install libpymath to dowload and install libpymath for your system. There are also wheels provided for many of the latest Python versions on Windows, Mac OS* and Linux thanks to the cibuildwheel project.
Features and usage
Matrix math
Easily create, manipulate and perform calculations with dense matrices. The matrices themselves are stored and manipulated with optimised C code, resulting in faster operations and more efficient calculations. To further increase the speed of the calculations, when libpymath imported into a project for the first time, it runs some tests on the CPU to find the optimal number of threads to use for the matrix calculations.
The matrix library contains many features, such as:
- Elementwise addition, subtraction, multiplication and division with another matrix
- Addition, subtraction, multiplication and division by a scalar
- Matrix transpose,
- Matrix product,
- Filling a matrix with ascending values, descending values, random values or a single value
- Getting or setting values
- Creating a matrix from data
- Mapping with sigmoid, tanh, ReLU and leaky ReLU, as well as their derivatives
- Getting the matrix as a Python list
- Supports pickling with the standard library
picklemodule - Formatting and printing a matrix
* Due to Clang on Mac OS the wheels do not support OpenMP, meaning some matrix operations may be slower than on other operating systems.
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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file libpymath-0.5.4.tar.gz.
File metadata
- Download URL: libpymath-0.5.4.tar.gz
- Upload date:
- Size: 35.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e817d68dd2b304c03ff65226e222716bedb433cf14d03604b1d5908422fbed4e
|
|
| MD5 |
04a022eaa87be0fbdac2579c294771b3
|
|
| BLAKE2b-256 |
179aff4c3c14f1c8561f262fd93f41a4c83317285d44992a5d7fdde66d0e530c
|
File details
Details for the file libpymath-0.5.4-cp38-cp38-win_amd64.whl.
File metadata
- Download URL: libpymath-0.5.4-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 46.8 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75b2557276662a983d1b87f87deb5b920bf5e4ccd199f5c2d926edce60ec8d71
|
|
| MD5 |
ef7651c8ead9d99b0cece978c98aefbc
|
|
| BLAKE2b-256 |
0b8b6a79a427760308304ab41600ab491a9acf16a8ada3a47f88e47d1f4dd2e8
|
File details
Details for the file libpymath-0.5.4-cp38-cp38-manylinux1_x86_64.whl.
File metadata
- Download URL: libpymath-0.5.4-cp38-cp38-manylinux1_x86_64.whl
- Upload date:
- Size: 127.9 kB
- Tags: CPython 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e74f7ab6944a73b48b8407ffa4f78030af629cc89431f005a11e5f440d41182a
|
|
| MD5 |
fa0318f4d317b5ebe2ec66e9a84866ff
|
|
| BLAKE2b-256 |
7af531e6b8c3db372743c8008215c1725c17459a2e0ef37242f9aa2f9b8f7c68
|
File details
Details for the file libpymath-0.5.4-cp38-cp38-manylinux1_i686.whl.
File metadata
- Download URL: libpymath-0.5.4-cp38-cp38-manylinux1_i686.whl
- Upload date:
- Size: 127.0 kB
- Tags: CPython 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05941005e96cdda68f29be8f843be9f0bf432f7cdeadfbef4f89ef67d53558ca
|
|
| MD5 |
a73633f663e4258ccdb7c1ba0d49497a
|
|
| BLAKE2b-256 |
a944e50f35cb3a28b49e5d2e6d8755b83102db9cbfde19135badc1be31be9336
|
File details
Details for the file libpymath-0.5.4-cp38-cp38-macosx_10_9_x86_64.whl.
File metadata
- Download URL: libpymath-0.5.4-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 51.7 kB
- Tags: CPython 3.8, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f57bbca22cad39e100250724cf552e6801a724e64a39956af258a0db3643366
|
|
| MD5 |
55b2ae3364dba508b4f8f696622403b3
|
|
| BLAKE2b-256 |
f2f7abf66c119d9ded2e3f8842113b1f8a6cd9c9b53576136f10be20901b5a6d
|
File details
Details for the file libpymath-0.5.4-cp37-cp37m-manylinux1_x86_64.whl.
File metadata
- Download URL: libpymath-0.5.4-cp37-cp37m-manylinux1_x86_64.whl
- Upload date:
- Size: 126.7 kB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
caa400ce61a36fc43ffd7cd97bf3bfb393bb8b484150398ebe5db5fe82a0ce09
|
|
| MD5 |
8f010833bc5ff9441801a879602fbfc2
|
|
| BLAKE2b-256 |
ab8f1af39fc30d7c6b6b7d8b39068c8a3235870f1df9fa44bf33264ce8bee84f
|
File details
Details for the file libpymath-0.5.4-cp37-cp37m-manylinux1_i686.whl.
File metadata
- Download URL: libpymath-0.5.4-cp37-cp37m-manylinux1_i686.whl
- Upload date:
- Size: 125.9 kB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bdfcbf61240dc96073728f285554982d562de2d2dda35af011667fefae024b23
|
|
| MD5 |
d7c9ffee2f48897c210c92929f6c01c9
|
|
| BLAKE2b-256 |
2d7ed5a8366c56246371bb1a6aca9e605bbe349723da786bd0572061dc67b416
|
File details
Details for the file libpymath-0.5.4-cp37-cp37m-macosx_10_9_intel.whl.
File metadata
- Download URL: libpymath-0.5.4-cp37-cp37m-macosx_10_9_intel.whl
- Upload date:
- Size: 85.9 kB
- Tags: CPython 3.7m, macOS 10.9+ Intel (x86-64, i386)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80c9cb88cf0534c7bc50ef2ff4b9dc7f84196eb6affb2011d668d62fb0992640
|
|
| MD5 |
800e3f44d6ce0fa8af5b3a3fc3d6952f
|
|
| BLAKE2b-256 |
1dd4abdbada34ef0e20e2760f347717e3043e3ff0950d26d662450fc27e80421
|
File details
Details for the file libpymath-0.5.4-cp36-cp36m-manylinux1_x86_64.whl.
File metadata
- Download URL: libpymath-0.5.4-cp36-cp36m-manylinux1_x86_64.whl
- Upload date:
- Size: 126.7 kB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15b8ca139f6632e084119b4d70390d94bfa54025b1d13e38a19b21d70e7e4b9b
|
|
| MD5 |
4ea0c40daf3a52d031feeddc57741c75
|
|
| BLAKE2b-256 |
ab74d9511c8bf687c1e22e0f512376ac8d96381ac9672b4cb22924aff2b1b0bb
|
File details
Details for the file libpymath-0.5.4-cp36-cp36m-manylinux1_i686.whl.
File metadata
- Download URL: libpymath-0.5.4-cp36-cp36m-manylinux1_i686.whl
- Upload date:
- Size: 125.9 kB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4bf7935b89b9dd39c14287c29300e31094c954620cc4884eeff342ac72ae778
|
|
| MD5 |
e6b50525b078c45c58d533acb92bc5c2
|
|
| BLAKE2b-256 |
8a3233dbf99233dd0c0d92887ac5152bae61ec25609fa72a754711580422d959
|
File details
Details for the file libpymath-0.5.4-cp36-cp36m-macosx_10_9_intel.whl.
File metadata
- Download URL: libpymath-0.5.4-cp36-cp36m-macosx_10_9_intel.whl
- Upload date:
- Size: 85.9 kB
- Tags: CPython 3.6m, macOS 10.9+ Intel (x86-64, i386)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f41cc329b280c50a2e0fe1c94eeb1610cd163680651aecc2b487b9a665980f6d
|
|
| MD5 |
bb449a142d0e2113a96ef1db8748277a
|
|
| BLAKE2b-256 |
1a37da0c73973d3e719874f56b192c45dc72005017aca6b09bb2dfce3f7d9e07
|
File details
Details for the file libpymath-0.5.4-cp35-cp35m-manylinux1_x86_64.whl.
File metadata
- Download URL: libpymath-0.5.4-cp35-cp35m-manylinux1_x86_64.whl
- Upload date:
- Size: 126.7 kB
- Tags: CPython 3.5m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0449d3e31f8043e6110ec9064772b050d33ccdd6698b23624f0c66db74a04515
|
|
| MD5 |
7f64621b5b67ca39b8c708e605baeb73
|
|
| BLAKE2b-256 |
d7bda30ae005ae7445913202781fd8b63f96ea52d98dd0b02067e00befea4a13
|
File details
Details for the file libpymath-0.5.4-cp35-cp35m-manylinux1_i686.whl.
File metadata
- Download URL: libpymath-0.5.4-cp35-cp35m-manylinux1_i686.whl
- Upload date:
- Size: 125.9 kB
- Tags: CPython 3.5m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9f0a834aa923428414a6ed737b1b8c9e2be06638c43fe2c9695669897080354
|
|
| MD5 |
77a32f992e85584088bc945ed584dc55
|
|
| BLAKE2b-256 |
6b8411688e731217664c09f9283642caa00e80f0753b1c07f7c0df2241bce5d8
|
File details
Details for the file libpymath-0.5.4-cp35-cp35m-macosx_10_9_intel.whl.
File metadata
- Download URL: libpymath-0.5.4-cp35-cp35m-macosx_10_9_intel.whl
- Upload date:
- Size: 85.9 kB
- Tags: CPython 3.5m, macOS 10.9+ Intel (x86-64, i386)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
befe299e9b57815fb167b292fc00263cbb262305a41860f84308dfd1ca91642a
|
|
| MD5 |
d57e96851477cda29e63941a4e366516
|
|
| BLAKE2b-256 |
c7fd57e41574fa72d5e3d506341ad88a633a68788bac16bbea21b724ed192e27
|