GithubHelp home page GithubHelp logo

mathsem2's Introduction

Linear Algebra

Installation

Clone this repository to your project directory.

Run pip install -r requirements.txt to install dependencies.

Documentation

example:

import sem2.NA_Matrix as nam

print(help(nam)) # Module Help
print(help(nam.jacobi)) # function help

Linear Analysis

Run the LA_main.py file in the Module

windows: python sem2\LA_main.py

linux: python3 sem2/LA_main.py

Numerical Analysis

Matrices

import:

import sem2.NA_Matrix as nam

The NA_Matrix submodule in the module contains Jacobi and Gauss seidel iteration methods majorly. Everything here is a numpy array, so be sure to input the proper type if you do not want errors. You can check the documentation by using help(NA_Matrix).

Poynomial

import:

import sem2.NA_Polynomial as nap

bisection, newtonRapson, fixed_point, secant -> all of them use the inbuilt functions of the python. example:

def f(x):
    return x**2 -1 

or you could use lambda's:

f = lambda x: x**2 -1 

The Interpolation functions, simple_interpolation, newton_interpolation, newton_error, legrange_interpolation use sympy functions.

example of making sympy functions:

import sympy

x = sympy.symbols('x')

f = x**2 - 1
# You can pass this function in the required places.
# There are also other inbuilt functions in sympy.
g = sympy.sin(x)
h = sympy.exp(x)

Integration

import

import sem2.NA_Integration as nai

trapezoidal_rule, trapezoidal_error, simpson_rule, simpson_error are the functions present here. The same sympy functions are used here.

Author Details

Yelisetty Karthikeya S M (A.K.A. Lurkingryuu)
contact: Gmail

mathsem2's People

Contributors

lurkingryuu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.