Coder Social home page Coder Social logo

frankiehuangg / interpol Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 34 KB

TUI programs to calculate the polynomial interpolation in multiple different programming languages

Makefile 0.15% C 17.39% Python 23.14% Sage 5.82% Go 12.57% Java 23.23% Jupyter Notebook 4.87% TypeScript 12.84%
interpolation polynomial-interpolation

interpol's Introduction

Interpol (Interpolation of Polynomials)

I made this repository as a "playground" for testing various programming languag es that i used, want to use, and are interested in. I will try my best to adher e to each conventional programming language syntax to prevent code replication b etween languages, while providing a somewhat similar function for each different programming languages. I've also provided some test cases available in the folde r Test.

I've only tested these code in my local machine running Arch Linux. The input fi le must be on the following format

n
x1 y1
x2 y2
x3 y3
...
xn yn
xn+1 yn+1

Where n denotes the highest degree and the pair (xi, yi) denotes the point p assed by the function. The input must have at minimum n + 1 number of points.

Requirements and setup for each languages are available in the corresponding dir ectories.

Programming Languages

Language Progress
Ada
ARM Assembly
Assembly x86
Assembly x64
B
Bash
C Done
Clojure
Cobol
Crystal
C++
C#
D
Dart
Elixir
Elm
Erlang
Flow
Fortran
F#
Gambas
Gleam
Go Done
Groovy
Haskell
Haxe
Java Done
Javascript
Julia
Kotlin
Lisp
Lua
Matlab
Nim
OCaml
Octave
Objective-C
Perl
PHP
Purescript
Prolog
Python 2 Done
Python 3 Done
R Done
Racket
Ruby
Rust
Sagemath Done
Scala
Sieve
Solidity
SPARK
SQL
Swift
Typescript Done
V
Vala
Vimscript
Zig

Acknowledgements

  • This project was inspired by one of the questions from the Distributed Systems Laboratory Assistant Selection
  • Many thanks to yveschris for providing the vandermonde matrix inverse algorithm
  • README template by @flynerdplREADME

interpol's People

Contributors

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