Skip to main content

No project description provided

Project description

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

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

yoshi_seals-2.1.0.post1.tar.gz (13.5 kB view details)

Uploaded Source

File details

Details for the file yoshi_seals-2.1.0.post1.tar.gz.

File metadata

  • Download URL: yoshi_seals-2.1.0.post1.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1023-azure

File hashes

Hashes for yoshi_seals-2.1.0.post1.tar.gz
Algorithm Hash digest
SHA256 abdca47a80b653a1ceb2ed2645c6435c1591ab431fbcab28d85b79676d036afe
MD5 266f6e0dfda902b912994c69edccaea6
BLAKE2b-256 7cd77ef1fd1cc3952fc40d3b56fc9d7bc1d8fa1af0e27717f3f3a8bf4fd02c00

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