Skip to main content

Generate a sympy matrix fast

Project description

matrix-generator

PyPI version

This is a python program that helps you to make a sympy matrix easily. This module uses sympy, python library for simbolic mathmatics.

By using this generator, you can create a new sympy matrix with only entering the dimension size and elements.

Dependencies

The following dependencies are required

Download

 $ pip install mgenerator

Example

    from mgenerator import *

    foo = new() # makes new sympy Matrix object. You will enter elements
    foo = new(1,2) # makes new sympy Matrix with 1 raw and 2 column

    ef(foo) # makes foo as Echelon form
    rf(foo) # makes foo as Reduced Echelon form

    num = 3
    ran(num) #finds image num elements vector range

    #used in finding eigenvalues
    char(foo, 3) #makes characteristic polynomial equation, and finds soluton with 3*3 matrix

    orthon(foo) #makes orthogonal basis matrix

    vec(2,1) #makes the vector (2,1)

Instructions

  1. new( ):
  • When you make a mistake, just enter 'Enter'. It will make new matrix
  • You can use any type of componenent(int,float,string), even a fraction like 1/2
  1. ran( ):
  • First you have to find echelon form of linear combination's agmented coefficient matrix
  • Put coefficients of the range. Ex) If the range is ax-by-cz = 0 -> enter a,-b,-c
  1. char( ):
  • Put a Matrix and number of the matrix dimension ( if 2 by 2 matrix, enter 2 )

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

mgenerator-0.1.2-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file mgenerator-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: mgenerator-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for mgenerator-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 307d56430a66967f788a0d38e35aeaba04227d80463b898ecdc5ea2f1317bc4c
MD5 1da85257f93834d43523db574a89feec
BLAKE2b-256 3e489a3f1480a14615e5355734a409d5b346536e36a78e0883540d0dd101a858

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