GithubHelp home page GithubHelp logo

knut0815 / fakenodes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pog87/fakenodes

0.0 0.0 0.0 1.24 MB

Python code for Fake Nodes interpolation approach.

License: GNU General Public License v3.0

Python 0.19% Jupyter Notebook 99.81%

fakenodes's Introduction

FakeNodes

Python code for Fake Nodes interpolation approach.

Fake nodes approach gives the possibility to obtain a better interpolation without getting new samples!

For the implementation of the fake nodes approach in 2D we refer to https://github.com/pog87/FakeNodes2D

Quote this work

To use this work in any scientific report or publication, please cite:

  • S. De Marchi, F. Marchetti, E. Perracchione, D. Poggiali, Polynomial interpolation via mapped bases without resampling link, JCAM.

fig1

What are Fake Nodes

Fake Nodes is a novel approach to numerical interpolation that aims to achieve a better interpolation without having to get new samples. You can use your samples as they were taken at better/more representative nodes, cheating with the interpolation domain by applying a map.

In terms of code: suppose you have an interpolation function

def my_fancy_interpolator(x,y,xx):
  .......
  .......
  return yy

and a mapping S = lambda x: ...., if you want to use the fake nodes interpolation it is sufficient to call

yy = my_fancy_interpolator(S(x),y,S(xx))

...very simple, isn't it? Yet the theory standing behind this scheme is not that trivial..check it out!.

fig2

In the next notebooks, we will show the treatment of two classical phenomena in polynomial interpolation: the Runge effect and the Gibbs effect.

fig3

fakenodes's People

Contributors

cesc14 avatar emmaa89 avatar pog87 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.