interpn 0.11.1

N-dimensional interpolation/extrapolation methods, no-std and no-alloc compatible.
Documentation
1
2
<div>                        <script type="text/javascript">window.PlotlyConfig = {MathJaxConfig: 'local'};</script>
        <script charset="utf-8" src="https://cdn.plot.ly/plotly-2.35.2.min.js"></script>                <div id="17983d18-5a0f-4ded-ae65-506171dd050a" class="plotly-graph-div" style="height:430px; width:100%;"></div>            <script type="text/javascript">                                    window.PLOTLYENV=window.PLOTLYENV || {};                                    if (document.getElementById("17983d18-5a0f-4ded-ae65-506171dd050a")) {                    Plotly.newPlot(                        "17983d18-5a0f-4ded-ae65-506171dd050a",                        [{"fill":"toself","fillcolor":"rgba(139, 196, 59, 0.25)","hoverinfo":"skip","line":{"width":0},"mode":"lines","showlegend":false,"x":[1,2,4,6,6,4,2,1],"y":[1.0,1.9095637632932045,3.568451304632911,5.040561830860298,1.0,1.0,1.0,1.0],"type":"scatter","xaxis":"x","yaxis":"y"},{"fill":"toself","fillcolor":"rgba(139, 196, 59, 0.25)","hoverinfo":"skip","line":{"width":0},"mode":"lines","showlegend":false,"x":[1,2,4,6,6,4,2,1],"y":[1.0,1.911796050624072,3.6901940435065166,5.458300163741951,1.0,1.0,1.0,1.0],"type":"scatter","xaxis":"x","yaxis":"y"},{"fill":"toself","fillcolor":"rgba(139, 196, 59, 0.25)","hoverinfo":"skip","line":{"width":0},"mode":"lines","showlegend":false,"x":[1,2,4,6,6,4,2,1],"y":[1.0,1.7557372145605847,2.85180663105751,3.423980003458461,1.0,1.0,1.0,1.0],"type":"scatter","xaxis":"x","yaxis":"y"},{"fill":"toself","fillcolor":"rgba(139, 196, 59, 0.25)","hoverinfo":"skip","line":{"width":0},"mode":"lines","showlegend":false,"x":[1,2,4,6,6,4,2,1],"y":[1.0,1.927382866543171,3.7471938671952776,4.912032840872157,1.0,1.0,1.0,1.0],"type":"scatter","xaxis":"x","yaxis":"y"},{"fill":"toself","fillcolor":"rgba(139, 196, 59, 0.25)","hoverinfo":"skip","line":{"width":0},"mode":"lines","showlegend":false,"x":[1,2,4,6,6,4,2,1],"y":[1.0,2.0378775943320737,4.097078918776231,5.965217135206971,1.0,1.0,1.0,1.0],"type":"scatter","xaxis":"x","yaxis":"y"},{"fill":"toself","fillcolor":"rgba(139, 196, 59, 0.25)","hoverinfo":"skip","line":{"width":0},"mode":"lines","showlegend":false,"x":[1,2,4,6,6,4,2,1],"y":[1.0,2.0175542938118394,4.02687780408489,5.927227662002634,1.0,1.0,1.0,1.0],"type":"scatter","xaxis":"x","yaxis":"y"},{"fill":"toself","fillcolor":"rgba(139, 196, 59, 0.25)","hoverinfo":"skip","line":{"width":0},"mode":"lines","showlegend":false,"x":[1,2,4,6,6,4,2,1],"y":[1.0,1.8501738879237792,3.1630924251290358,4.091061226245809,1.0,1.0,1.0,1.0],"type":"scatter","xaxis":"x","yaxis":"y"},{"fill":"toself","fillcolor":"rgba(139, 196, 59, 0.25)","hoverinfo":"skip","line":{"width":0},"mode":"lines","showlegend":false,"x":[1,2,4,6,6,4,2,1],"y":[1.0,2.0466540439640513,4.210141320292337,6.186974545007201,1.0,1.0,1.0,1.0],"type":"scatter","xaxis":"x","yaxis":"y"},{"line":{"color":"#1f77b4","dash":"solid","width":2},"marker":{"color":"#1f77b4","size":7},"mode":"lines+markers","name":"Linear regular","showlegend":true,"x":[1,2,4,6],"y":[1.0,1.9095637632932045,3.568451304632911,5.040561830860298],"type":"scatter","xaxis":"x","yaxis":"y"},{"line":{"color":"#ff7f0e","dash":"dash","width":2},"marker":{"color":"#ff7f0e","size":7},"mode":"lines+markers","name":"Cubic regular","showlegend":true,"x":[1,2,4,6],"y":[1.0,1.911796050624072,3.6901940435065166,5.458300163741951],"type":"scatter","xaxis":"x","yaxis":"y"},{"line":{"color":"#9467bd","dash":"dot","width":2},"marker":{"color":"#9467bd","size":7},"mode":"lines+markers","name":"B-Spline regular","showlegend":true,"x":[1,2,4,6],"y":[1.0,1.7557372145605847,2.85180663105751,3.423980003458461],"type":"scatter","xaxis":"x","yaxis":"y"},{"line":{"color":"#2ca02c","dash":"dashdot","width":2},"marker":{"color":"#2ca02c","size":7},"mode":"lines+markers","name":"Nearest regular","showlegend":true,"x":[1,2,4,6],"y":[1.0,1.927382866543171,3.7471938671952776,4.912032840872157],"type":"scatter","xaxis":"x","yaxis":"y"},{"line":{"color":"#1f77b4","dash":"longdash","width":2},"marker":{"color":"#1f77b4","size":7},"mode":"lines+markers","name":"Linear rectilinear","showlegend":true,"x":[1,2,4,6],"y":[1.0,2.0378775943320737,4.097078918776231,5.965217135206971],"type":"scatter","xaxis":"x","yaxis":"y"},{"line":{"color":"#ff7f0e","dash":"longdashdot","width":2},"marker":{"color":"#ff7f0e","size":7},"mode":"lines+markers","name":"Cubic rectilinear","showlegend":true,"x":[1,2,4,6],"y":[1.0,2.0175542938118394,4.02687780408489,5.927227662002634],"type":"scatter","xaxis":"x","yaxis":"y"},{"line":{"color":"#9467bd","dash":"solid","width":2},"marker":{"color":"#9467bd","size":7},"mode":"lines+markers","name":"B-Spline rectilinear","showlegend":true,"x":[1,2,4,6],"y":[1.0,1.8501738879237792,3.1630924251290358,4.091061226245809],"type":"scatter","xaxis":"x","yaxis":"y"},{"line":{"color":"#2ca02c","dash":"dash","width":2},"marker":{"color":"#2ca02c","size":7},"mode":"lines+markers","name":"Nearest rectilinear","showlegend":true,"x":[1,2,4,6],"y":[1.0,2.0466540439640513,4.210141320292337,6.186974545007201],"type":"scatter","xaxis":"x","yaxis":"y"}],                        {"template":{"data":{"histogram2dcontour":[{"type":"histogram2dcontour","colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]]}],"choropleth":[{"type":"choropleth","colorbar":{"outlinewidth":0,"ticks":""}}],"histogram2d":[{"type":"histogram2d","colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]]}],"heatmap":[{"type":"heatmap","colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]]}],"heatmapgl":[{"type":"heatmapgl","colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]]}],"contourcarpet":[{"type":"contourcarpet","colorbar":{"outlinewidth":0,"ticks":""}}],"contour":[{"type":"contour","colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]]}],"surface":[{"type":"surface","colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]]}],"mesh3d":[{"type":"mesh3d","colorbar":{"outlinewidth":0,"ticks":""}}],"scatter":[{"fillpattern":{"fillmode":"overlay","size":10,"solidity":0.2},"type":"scatter"}],"parcoords":[{"type":"parcoords","line":{"colorbar":{"outlinewidth":0,"ticks":""}}}],"scatterpolargl":[{"type":"scatterpolargl","marker":{"colorbar":{"outlinewidth":0,"ticks":""}}}],"bar":[{"error_x":{"color":"#2a3f5f"},"error_y":{"color":"#2a3f5f"},"marker":{"line":{"color":"#E5ECF6","width":0.5},"pattern":{"fillmode":"overlay","size":10,"solidity":0.2}},"type":"bar"}],"scattergeo":[{"type":"scattergeo","marker":{"colorbar":{"outlinewidth":0,"ticks":""}}}],"scatterpolar":[{"type":"scatterpolar","marker":{"colorbar":{"outlinewidth":0,"ticks":""}}}],"histogram":[{"marker":{"pattern":{"fillmode":"overlay","size":10,"solidity":0.2}},"type":"histogram"}],"scattergl":[{"type":"scattergl","marker":{"colorbar":{"outlinewidth":0,"ticks":""}}}],"scatter3d":[{"type":"scatter3d","line":{"colorbar":{"outlinewidth":0,"ticks":""}},"marker":{"colorbar":{"outlinewidth":0,"ticks":""}}}],"scattermapbox":[{"type":"scattermapbox","marker":{"colorbar":{"outlinewidth":0,"ticks":""}}}],"scatterternary":[{"type":"scatterternary","marker":{"colorbar":{"outlinewidth":0,"ticks":""}}}],"scattercarpet":[{"type":"scattercarpet","marker":{"colorbar":{"outlinewidth":0,"ticks":""}}}],"carpet":[{"aaxis":{"endlinecolor":"#2a3f5f","gridcolor":"white","linecolor":"white","minorgridcolor":"white","startlinecolor":"#2a3f5f"},"baxis":{"endlinecolor":"#2a3f5f","gridcolor":"white","linecolor":"white","minorgridcolor":"white","startlinecolor":"#2a3f5f"},"type":"carpet"}],"table":[{"cells":{"fill":{"color":"#EBF0F8"},"line":{"color":"white"}},"header":{"fill":{"color":"#C8D4E3"},"line":{"color":"white"}},"type":"table"}],"barpolar":[{"marker":{"line":{"color":"#E5ECF6","width":0.5},"pattern":{"fillmode":"overlay","size":10,"solidity":0.2}},"type":"barpolar"}],"pie":[{"automargin":true,"type":"pie"}]},"layout":{"autotypenumbers":"strict","colorway":["#636efa","#EF553B","#00cc96","#ab63fa","#FFA15A","#19d3f3","#FF6692","#B6E880","#FF97FF","#FECB52"],"font":{"color":"#2a3f5f"},"hovermode":"closest","hoverlabel":{"align":"left"},"paper_bgcolor":"white","plot_bgcolor":"#E5ECF6","polar":{"bgcolor":"#E5ECF6","angularaxis":{"gridcolor":"white","linecolor":"white","ticks":""},"radialaxis":{"gridcolor":"white","linecolor":"white","ticks":""}},"ternary":{"bgcolor":"#E5ECF6","aaxis":{"gridcolor":"white","linecolor":"white","ticks":""},"baxis":{"gridcolor":"white","linecolor":"white","ticks":""},"caxis":{"gridcolor":"white","linecolor":"white","ticks":""}},"coloraxis":{"colorbar":{"outlinewidth":0,"ticks":""}},"colorscale":{"sequential":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"sequentialminus":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"diverging":[[0,"#8e0152"],[0.1,"#c51b7d"],[0.2,"#de77ae"],[0.3,"#f1b6da"],[0.4,"#fde0ef"],[0.5,"#f7f7f7"],[0.6,"#e6f5d0"],[0.7,"#b8e186"],[0.8,"#7fbc41"],[0.9,"#4d9221"],[1,"#276419"]]},"xaxis":{"gridcolor":"white","linecolor":"white","ticks":"","title":{"standoff":15},"zerolinecolor":"white","automargin":true,"zerolinewidth":2},"yaxis":{"gridcolor":"white","linecolor":"white","ticks":"","title":{"standoff":15},"zerolinecolor":"white","automargin":true,"zerolinewidth":2},"scene":{"xaxis":{"backgroundcolor":"#E5ECF6","gridcolor":"white","linecolor":"white","showbackground":true,"ticks":"","zerolinecolor":"white","gridwidth":2},"yaxis":{"backgroundcolor":"#E5ECF6","gridcolor":"white","linecolor":"white","showbackground":true,"ticks":"","zerolinecolor":"white","gridwidth":2},"zaxis":{"backgroundcolor":"#E5ECF6","gridcolor":"white","linecolor":"white","showbackground":true,"ticks":"","zerolinecolor":"white","gridwidth":2}},"shapedefaults":{"line":{"color":"#2a3f5f"}},"annotationdefaults":{"arrowcolor":"#2a3f5f","arrowhead":0,"arrowwidth":1},"geo":{"bgcolor":"white","landcolor":"#E5ECF6","subunitcolor":"white","showland":true,"showlakes":true,"lakecolor":"white"},"title":{"x":0.05},"mapbox":{"style":"light"}}},"xaxis":{"anchor":"y","domain":[0.0,1.0],"title":{"text":"Threads"},"range":[1,6],"showline":true,"linecolor":"black","linewidth":1,"mirror":true,"ticks":"outside","tickcolor":"black","showgrid":false,"zeroline":false},"yaxis":{"anchor":"x","domain":[0.0,1.0],"title":{"text":"Speedup vs. 1 Thread"},"range":[1.0,6],"showline":true,"linecolor":"black","linewidth":1,"mirror":true,"ticks":"outside","tickcolor":"black","showgrid":false,"zeroline":false},"shapes":[{"line":{"color":"black","dash":"dot","width":1},"type":"line","x0":0,"x1":1,"xref":"x domain","y0":1.0,"y1":1.0,"yref":"y"}],"title":{"text":"InterpN Thread Speedup (10000000 Observation Points)","y":0.98,"yanchor":"top"},"margin":{"t":70,"l":60,"r":170,"b":80},"legend":{"orientation":"v","yanchor":"top","y":1.0,"x":1.02,"xanchor":"left"},"font":{"color":"black"},"height":430,"showlegend":true,"plot_bgcolor":"rgba(0,0,0,0)","paper_bgcolor":"rgba(0,0,0,0)"},                        {"responsive": true}                    )                };                            </script>        </div>