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.7.4 or higher

Example

Clone this repo and open its dir, then run:

# python3 example.py lu|cs|ms|h|g

Or if you have some matrix file which is split by white space:

# python3 example.py -f matrix lu|cs|ms|h|g

Usage

Import this package:

import libb.factorization as lbb

Apply methods on matrix and fetch the result:

P, L, U = lbb.LUFactorization(A=A_matrix)
Q, R = lbb.ClassicalSchmidtDecomposition(A=A_matrix)
Q, R = lbb.ModifiedSchmidtDecomposition(A=A_matrix)
Q, R = lbb.HouseholderReduction(A=A_matrix)
Q, R = lbb.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.2.tar.gz (6.1 kB view hashes)

Uploaded Source

Built Distribution

lib_b-1.0.2-py3-none-any.whl (19.6 kB view hashes)

Uploaded Python 3

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