LIB-B
A library contains implements of factorization supporting multiple methods and data types.
- LU Factorization
- Schmidt Decomposition (classical/modified)
- Householder Reduction
- Givens Reduction
Environment
Python 3.4 or higher
Install
pip install lib-b
Usage
# libb -h
If you have some matrix file which is split by white space:
# libb -f matrix lu|cs|ms|h|g
Usage in script
Import it:
import libb
Load matrix(from stdin or opened file):
A_matrix, row_num, col_num = libb.LoadMatrix(src=stdin)
Apply methods on matrix (any struct that supports index operator []) and fetch the result:
P, L, U = libb.LUFactorization(A=A_matrix)
Q, R = libb.ClassicalSchmidtDecomposition(A=A_matrix)
Q, R = libb.ModifiedSchmidtDecomposition(A=A_matrix)
Q, R = libb.HouseholderReduction(A=A_matrix)
Q, R = libb.GivensReduction(A=A_matrix)
Release files for lib-b 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lib-b-1.0.3.tar.gz | 6.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lib_b-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.2 kB
Release files / lib-b-1.0.3.tar.gz
| Download URL | lib-b-1.0.3.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
424746c4008f74113cdab77b8071db1ba67a09189ae5e0ec4c9b5486a2aa52b0
|
|
BLAKE2b-256 checksum How to use checksums |
b331de892fce784c4f86610e2e3f19de88d57e3d3eba82703257bedd9fcd0538
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6
|
Release files / lib_b-1.0.3-py3-none-any.whl
| Download URL | lib_b-1.0.3-py3-none-any.whl |
|---|---|
| Size | 20.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b88f12e7b78f7130ed7fbb0feb33b34c529f2e230ef8fc9c584e96a78b2f0b7f
|
|
BLAKE2b-256 checksum How to use checksums |
a732ded3728f927e1f07715b824c6e590766c864de6606f1ae12810e264cbf38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6
|