Skip to main content

Seals - Numeric Calculus

This python namespace is made for applied Numeric Calculus of Linear Algebra. It is made with the following objectives in mind:

  • Scan csv files to make a numpy matrix.

  • Write a matrix into a csv file.

  • Insert user input into a matrix or a vector.

  • Calculate Eigenvalues and his Eigenvectors.

  • Use methods to proccess the matrices.

    • Identity Matrix
    • Gauss Elimination
    • Inverse Matrix
    • Cholesky Decomposition
    • LU Decomposition
    • Cramer

Syntax

To call the package scan use the syntax: from yoshi_seals import scan. The package also has a function for Numpy arrays and Pandas dataframes, and used the following syntax scan.np(path) for Numpy and scan.pd(path) for Pandas, where path is the path to your directory.

To call the package write use the syntax: from yoshi_seals import write. The package also has a function for Numpy arrays and Pandas dataframes, and uses the following syntax write.np(array,path) for Numpy, where array is the matrix that you desire to output and path is the path to your directory, and write.pd(df,path) for Pandas, where df is the matrix that you desire to output and path is the path to your directory.

To call the package insert use the syntax: from yoshi_seals import insert. The package also has a function for matrix and another for vector, and it has the following syntax insert.function(array), where insert is the Python Module and function is either a matrix or a vector and array is either a matrix or a vector.

There is also a function that given a matrix it return all real eigenvalues and all real eigenvectors, this function uses the power method to find the eigenvalues and inverse power method for the eigenvector.

Processes

To call the module process use the syntax: from yoshi_seals import process as sl, where sl is an alias and will be used to call functions: sl.inverse(array).

  • The function gauss returns a numpy vector containing the vector of variables from the augmented matrix. sl.gauss(A,b), which A is the coefficient matrix and b is the constants vector.

  • The function inverse returns a numpy inverse matrix of the matrix passed into to it, and it has the following syntax sl.inverse(matrix), which matrix is a square matrix.

  • The function cholesky returns a numpy vector containing the vector of variables from the coefficient matrix and the constants vector, and it has the following syntax sl.cholesky(A,b), which A is the coefficient matrix and b is the constants vector.

  • The function decomposition returns a numpy vector containing the vector of variables from the coefficient matrix and the constants vector, and it has the following syntax sl.decomposition(A,b), which A is the coefficient matrix and b is the constants vector.

  • The function cramer returns a numpy vector containing the vector of variables from the coefficient matrix and the constants vector, and it has the following syntax sl.cramer(A,b), which A is the coefficient matrix and b is the constants vector.

Installation

To install the package from source cd into the directory and run:

pip install .

or run

pip install yoshi-seals

Metadata

Release files for yoshi-seals 2.0.3654499742

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for yoshi-seals 2.0.3654499742
File Interpreter ABI Platform
yoshi_seals-2.0.3654499742-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details

Release files / yoshi_seals-2.0.3654499742-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL yoshi_seals-2.0.3654499742-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 963.0 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
fa2bd775a552ff9c16d608923eb6264082b28dbf8f731fca37761be805705355
BLAKE2b-256 checksum
How to use checksums
c91542c3f07a0657da6cd3511e14b41662da1c307ecc8075e89e9827efde5aae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.8

Release history Release notifications | RSS feed

2.1

1 release file

This release

2.0.3654499742 This release

1 release file

1.3.3

2 release files

1.3.2

2 release files

1.3

2 release files

1.2.1

2 release files

1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page