Skip to main content

A library contains implements of factorization supporting multiple methods and data types

Project description

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)

Project details


Download files

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

Source Distribution

lib-b-1.0.3.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

lib_b-1.0.3-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

Details for the file lib-b-1.0.3.tar.gz.

File metadata

  • Download URL: lib-b-1.0.3.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for lib-b-1.0.3.tar.gz
Algorithm Hash digest
SHA256 424746c4008f74113cdab77b8071db1ba67a09189ae5e0ec4c9b5486a2aa52b0
MD5 9d2e1dc4f122d9f5efd74b9f27f4aed6
BLAKE2b-256 b331de892fce784c4f86610e2e3f19de88d57e3d3eba82703257bedd9fcd0538

See more details on using hashes here.

File details

Details for the file lib_b-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: lib_b-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 20.8 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for lib_b-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b88f12e7b78f7130ed7fbb0feb33b34c529f2e230ef8fc9c584e96a78b2f0b7f
MD5 badec94b7a97e82a74a8b874489d1a56
BLAKE2b-256 a732ded3728f927e1f07715b824c6e590766c864de6606f1ae12810e264cbf38

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page