Coder Social home page Coder Social logo

cot4500project2's Introduction

Interpolation and Numerical Methods

This repository contains Python code for various interpolation and numerical methods implemented as part of an assignment.

How to Run

To run the program, follow these steps:

  1. Ensure you have Python 3 installed on your system.
  2. Navigate to the root directory of the project.
  3. Install the required dependencies by running the following command: pip3 install -r requirements.txt
  4. Once the dependencies are installed, you can execute the program by running the following command: python3 -m src.test.test_assignment_2

This command runs the test script test_assignment_2.py located in the src/test directory.

Description

This codebase provides implementations for the following numerical methods:

  • Neville's Algorithm for polynomial interpolation.
  • Newton's Forward Difference Method for polynomial interpolation.
  • Hermite Divided Difference Method for polynomial interpolation with derivatives.
  • Cubic Spline Interpolation.

Each method is implemented as a separate module under the src/main directory. The test cases for these methods can be found in the src/test directory.

File Structure

  • src/main: Contains the implementations of the numerical methods.
  • src/test: Contains the test cases for the implemented methods.
  • requirements.txt: Lists the dependencies required to run the code.
  • README.md: This file, providing an overview of the project and instructions for running the code.

cot4500project2's People

Contributors

aruiz1998 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.