- I'd like to know whether there are any javascript (or other web-technology) based APIs that can interpolate bivariate data, say a set of (x, y) points with weights. Other offline tools like Matlab, R, some python modules perform this well, but I couldn't find any of their bridges for web-based UIs.
- Came across the interpolation classes in Apache Commons' Math library which I thought I could access through some java, but looks like it restricts the x-vector and the y-vector has to be monotonically increasing which is not possible if the sampled weights are in some square pattern. Also it is difficult to store a huge 2D grid of interpolated weights (in double or 2-decimal precision BigDecimal), say 1000*1000, which runs out the heap space.
Would like to get suggestions on either or both of the above points. Thanks.
Aucun commentaire:
Enregistrer un commentaire