Giter Site home page Giter Site logo

Interpolate about galario HOT 3 CLOSED

mtazzari avatar mtazzari commented on August 25, 2024
Interpolate

from galario.

Comments (3)

mtazzari avatar mtazzari commented on August 25, 2024

To generalize interpolate to nx, ny matrix :

  1. change nx -> ny in interpolate_core because of the row-wise computation of base
  2. to call interpolate_h and interpolate_d with the correct ny, we must add ny to the inputs of all the functions that take the data matrix, e.g. galario_sample etc.

I have already tried to implement 1. just to run test_galario and it seems to work fine. This must be propagated with 2.

from galario.

fredRos avatar fredRos commented on August 25, 2024

I rewrote interpolate_core to be more readable and added the matching equations. I also maded it work for our data format. Interesting that only ny, not nx is needed as an argument. I guess the row index is implicit in indu. To really make it work for a nonsquare matrix. indv has to use a dv such that dv != du is allowed. Currently it's not possible.

But with these fixes, the tests don't pass anymore

from galario.

mtazzari avatar mtazzari commented on August 25, 2024

I fixed this in 039b42f.

from galario.

Related Issues (20)

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.