runmat 0.4.5-dev.2 → 0.4.5-dev.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/artifacts/stdlib.snapshot +0 -0
- package/dist/fs/default.d.ts.map +1 -1
- package/dist/fs/default.js +11 -0
- package/dist/fs/default.js.map +1 -1
- package/dist/fs/indexeddb.d.ts.map +1 -1
- package/dist/fs/indexeddb.js +106 -46
- package/dist/fs/indexeddb.js.map +1 -1
- package/dist/generated/builtin-examples-catalog.d.ts.map +1 -1
- package/dist/generated/builtin-examples-catalog.js +1 -1
- package/dist/generated/builtin-examples-catalog.js.map +1 -1
- package/dist/generated/builtins/imshow.d.ts +4 -0
- package/dist/generated/builtins/imshow.d.ts.map +1 -0
- package/dist/generated/builtins/imshow.js +104 -0
- package/dist/generated/builtins/imshow.js.map +1 -0
- package/dist/generated/builtins/interp1.d.ts +4 -0
- package/dist/generated/builtins/interp1.d.ts.map +1 -0
- package/dist/generated/builtins/interp1.js +90 -0
- package/dist/generated/builtins/interp1.js.map +1 -0
- package/dist/generated/builtins/interp2.d.ts +4 -0
- package/dist/generated/builtins/interp2.d.ts.map +1 -0
- package/dist/generated/builtins/interp2.js +88 -0
- package/dist/generated/builtins/interp2.js.map +1 -0
- package/dist/generated/builtins/pchip.d.ts +4 -0
- package/dist/generated/builtins/pchip.d.ts.map +1 -0
- package/dist/generated/builtins/pchip.js +78 -0
- package/dist/generated/builtins/pchip.js.map +1 -0
- package/dist/generated/builtins/ppval.d.ts +4 -0
- package/dist/generated/builtins/ppval.d.ts.map +1 -0
- package/dist/generated/builtins/ppval.js +77 -0
- package/dist/generated/builtins/ppval.js.map +1 -0
- package/dist/generated/builtins/spline.d.ts +4 -0
- package/dist/generated/builtins/spline.d.ts.map +1 -0
- package/dist/generated/builtins/spline.js +84 -0
- package/dist/generated/builtins/spline.js.map +1 -0
- package/dist/generated/builtins-manifest.d.ts.map +1 -1
- package/dist/generated/builtins-manifest.js +125 -0
- package/dist/generated/builtins-manifest.js.map +1 -1
- package/dist/lsp/runmat_lsp.d.ts +2 -2
- package/dist/lsp/runmat_lsp.js +4 -4
- package/dist/lsp/runmat_lsp_bg.wasm +0 -0
- package/dist/lsp/runmat_lsp_bg.wasm.d.ts +2 -2
- package/dist/pkg-web/runmat_wasm_web.d.ts +3 -3
- package/dist/pkg-web/runmat_wasm_web.js +7 -7
- package/dist/pkg-web/runmat_wasm_web_bg.wasm +0 -0
- package/dist/pkg-web/runmat_wasm_web_bg.wasm.d.ts +3 -3
- package/dist/runtime/stdlib.snapshot +0 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"imshow.d.ts","sourceRoot":"","sources":["../../../src/generated/builtins/imshow.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,QAAA,MAAM,UAAU,EAAE,UAmGjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
// @generated by scripts/generate-builtins.cjs
|
|
2
|
+
// Do not edit by hand.
|
|
3
|
+
const builtinDoc = {
|
|
4
|
+
"title": "imshow",
|
|
5
|
+
"category": "plotting",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"imshow",
|
|
8
|
+
"image display",
|
|
9
|
+
"grayscale image",
|
|
10
|
+
"binary image",
|
|
11
|
+
"rgb image",
|
|
12
|
+
"matlab imshow"
|
|
13
|
+
],
|
|
14
|
+
"summary": "Display grayscale, binary, truecolor, or file-backed images.",
|
|
15
|
+
"gpu_support": {
|
|
16
|
+
"elementwise": false,
|
|
17
|
+
"reduction": false,
|
|
18
|
+
"precisions": [],
|
|
19
|
+
"broadcasting": "none",
|
|
20
|
+
"notes": "`imshow` is a plotting sink and does not advertise precision-specialized GPU kernels. Grayscale gpuArray inputs may use the image/surface rendering path; filename decoding and truecolor normalization run on the host."
|
|
21
|
+
},
|
|
22
|
+
"fusion": {
|
|
23
|
+
"elementwise": false,
|
|
24
|
+
"reduction": false,
|
|
25
|
+
"max_inputs": 2,
|
|
26
|
+
"constants": "inline"
|
|
27
|
+
},
|
|
28
|
+
"requires_feature": null,
|
|
29
|
+
"tested": {
|
|
30
|
+
"unit": "builtins::plotting::imshow::tests"
|
|
31
|
+
},
|
|
32
|
+
"description": "`imshow` displays image data using MATLAB-familiar defaults. Numeric and logical 2-D arrays render as grayscale images, MxNx3 and MxNx4 arrays render as truecolor images, and filename inputs are decoded through RunMat's filesystem layer before display.",
|
|
33
|
+
"behaviors": [
|
|
34
|
+
"`imshow(I)` displays 2-D numeric data with grayscale limits `[0, 1]`, matching MATLAB double-image defaults.",
|
|
35
|
+
"`imshow(BW)` displays logical image data as black and white using `[0, 1]` limits.",
|
|
36
|
+
"`imshow(RGB)` displays MxNx3 truecolor data directly.",
|
|
37
|
+
"`imshow(RGBA)` displays MxNx4 truecolor data with alpha.",
|
|
38
|
+
"`imshow(I, [low high])` displays grayscale image data using an explicit display range.",
|
|
39
|
+
"`imshow(I, [])` auto-scales grayscale image data from finite minimum to finite maximum.",
|
|
40
|
+
"`imshow(filename)` reads and decodes an image file, then displays it as truecolor data."
|
|
41
|
+
],
|
|
42
|
+
"examples": [
|
|
43
|
+
{
|
|
44
|
+
"description": "Display a simple grayscale image",
|
|
45
|
+
"input": "row = 100;\ncol = 100;\nrsm = ones(row, col);\nimshow(rsm);"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"description": "Auto-scale a matrix for display",
|
|
49
|
+
"input": "A = peaks(128);\nimshow(A, []);"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"description": "Display truecolor RGB data",
|
|
53
|
+
"input": "R = ones(64, 64);\nG = zeros(64, 64);\nB = zeros(64, 64);\nRGB = cat(3, R, G, B);\nimshow(RGB);"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"description": "Display an image file",
|
|
57
|
+
"input": "imshow(\"photo.png\");"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"faqs": [
|
|
61
|
+
{
|
|
62
|
+
"question": "What display range does imshow use for doubles?",
|
|
63
|
+
"answer": "`imshow(I)` uses `[0, 1]` for floating-point grayscale data. Use `imshow(I, [])` when you want RunMat to scale the visible range from the data minimum to maximum."
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"question": "Does imshow support uint8 and uint16 image defaults?",
|
|
67
|
+
"answer": "File-backed images decode with byte pixel semantics. User-created integer image arrays currently depend on RunMat's broader numeric-class metadata model, so exact MATLAB class-dependent defaults for dense uint8/uint16 tensors are tracked separately."
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"question": "How is imshow different from imagesc?",
|
|
71
|
+
"answer": "`imshow` is for image display and uses grayscale or truecolor image defaults. `imagesc` is for scaled matrix visualization and maps data through the active colormap."
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"links": [
|
|
75
|
+
{
|
|
76
|
+
"label": "image",
|
|
77
|
+
"url": "./image"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"label": "imagesc",
|
|
81
|
+
"url": "./imagesc"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"label": "colormap",
|
|
85
|
+
"url": "./colormap"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"label": "axis",
|
|
89
|
+
"url": "./axis"
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
"source": {
|
|
93
|
+
"label": "`crates/runmat-runtime/src/builtins/plotting/ops/imshow.rs`",
|
|
94
|
+
"url": "https://github.com/runmat-org/runmat/blob/main/crates/runmat-runtime/src/builtins/plotting/ops/imshow.rs"
|
|
95
|
+
},
|
|
96
|
+
"key": "imshow",
|
|
97
|
+
"slug": "imshow",
|
|
98
|
+
"aliases": [],
|
|
99
|
+
"categoryPath": [
|
|
100
|
+
"plotting"
|
|
101
|
+
]
|
|
102
|
+
};
|
|
103
|
+
export default builtinDoc;
|
|
104
|
+
//# sourceMappingURL=imshow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"imshow.js","sourceRoot":"","sources":["../../../src/generated/builtins/imshow.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAC9C,uBAAuB;AAIvB,MAAM,UAAU,GAAe;IAC7B,OAAO,EAAE,QAAQ;IACjB,UAAU,EAAE,UAAU;IACtB,UAAU,EAAE;QACV,QAAQ;QACR,eAAe;QACf,iBAAiB;QACjB,cAAc;QACd,WAAW;QACX,eAAe;KAChB;IACD,SAAS,EAAE,8DAA8D;IACzE,aAAa,EAAE;QACb,aAAa,EAAE,KAAK;QACpB,WAAW,EAAE,KAAK;QAClB,YAAY,EAAE,EAAE;QAChB,cAAc,EAAE,MAAM;QACtB,OAAO,EAAE,0NAA0N;KACpO;IACD,QAAQ,EAAE;QACR,aAAa,EAAE,KAAK;QACpB,WAAW,EAAE,KAAK;QAClB,YAAY,EAAE,CAAC;QACf,WAAW,EAAE,QAAQ;KACtB;IACD,kBAAkB,EAAE,IAAI;IACxB,QAAQ,EAAE;QACR,MAAM,EAAE,mCAAmC;KAC5C;IACD,aAAa,EAAE,8PAA8P;IAC7Q,WAAW,EAAE;QACX,8GAA8G;QAC9G,oFAAoF;QACpF,uDAAuD;QACvD,0DAA0D;QAC1D,wFAAwF;QACxF,yFAAyF;QACzF,yFAAyF;KAC1F;IACD,UAAU,EAAE;QACV;YACE,aAAa,EAAE,kCAAkC;YACjD,OAAO,EAAE,6DAA6D;SACvE;QACD;YACE,aAAa,EAAE,iCAAiC;YAChD,OAAO,EAAE,iCAAiC;SAC3C;QACD;YACE,aAAa,EAAE,4BAA4B;YAC3C,OAAO,EAAE,iGAAiG;SAC3G;QACD;YACE,aAAa,EAAE,uBAAuB;YACtC,OAAO,EAAE,wBAAwB;SAClC;KACF;IACD,MAAM,EAAE;QACN;YACE,UAAU,EAAE,iDAAiD;YAC7D,QAAQ,EAAE,oKAAoK;SAC/K;QACD;YACE,UAAU,EAAE,sDAAsD;YAClE,QAAQ,EAAE,2PAA2P;SACtQ;QACD;YACE,UAAU,EAAE,uCAAuC;YACnD,QAAQ,EAAE,uKAAuK;SAClL;KACF;IACD,OAAO,EAAE;QACP;YACE,OAAO,EAAE,OAAO;YAChB,KAAK,EAAE,SAAS;SACjB;QACD;YACE,OAAO,EAAE,SAAS;YAClB,KAAK,EAAE,WAAW;SACnB;QACD;YACE,OAAO,EAAE,UAAU;YACnB,KAAK,EAAE,YAAY;SACpB;QACD;YACE,OAAO,EAAE,MAAM;YACf,KAAK,EAAE,QAAQ;SAChB;KACF;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,6DAA6D;QACtE,KAAK,EAAE,0GAA0G;KAClH;IACD,KAAK,EAAE,QAAQ;IACf,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,EAAE;IACb,cAAc,EAAE;QACd,UAAU;KACX;CACF,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interp1.d.ts","sourceRoot":"","sources":["../../../src/generated/builtins/interp1.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,QAAA,MAAM,UAAU,EAAE,UAqFjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
// @generated by scripts/generate-builtins.cjs
|
|
2
|
+
// Do not edit by hand.
|
|
3
|
+
const builtinDoc = {
|
|
4
|
+
"title": "interp1",
|
|
5
|
+
"category": "math/interpolation",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"interp1",
|
|
8
|
+
"interpolation",
|
|
9
|
+
"linear",
|
|
10
|
+
"nearest",
|
|
11
|
+
"spline",
|
|
12
|
+
"pchip"
|
|
13
|
+
],
|
|
14
|
+
"summary": "Interpolate one-dimensional sampled data at query points.",
|
|
15
|
+
"gpu_support": {
|
|
16
|
+
"elementwise": false,
|
|
17
|
+
"reduction": false,
|
|
18
|
+
"precisions": [
|
|
19
|
+
"f32",
|
|
20
|
+
"f64"
|
|
21
|
+
],
|
|
22
|
+
"broadcasting": "matlab",
|
|
23
|
+
"notes": "GPU inputs are gathered to the CPU reference implementation in this release. Linear and nearest interpolation are good future provider-kernel candidates."
|
|
24
|
+
},
|
|
25
|
+
"fusion": {
|
|
26
|
+
"elementwise": false,
|
|
27
|
+
"reduction": false,
|
|
28
|
+
"max_inputs": 3,
|
|
29
|
+
"constants": "inline"
|
|
30
|
+
},
|
|
31
|
+
"description": "`interp1(x, y, xq)` estimates values of a one-dimensional data set at query points `xq`. The default method is linear interpolation; `nearest`, `spline`, and `pchip` are also accepted.",
|
|
32
|
+
"behaviors": [
|
|
33
|
+
"`interp1(y, xq)` uses implicit sample points `1:numel(y)`.",
|
|
34
|
+
"`interp1(x, y, xq, method)` supports `linear`, `nearest`, `spline`, and `pchip`.",
|
|
35
|
+
"Out-of-range query points return `NaN` unless an extrapolation value or `'extrap'` is supplied.",
|
|
36
|
+
"Dense real numeric arrays are supported. GPU inputs gather to the host reference path."
|
|
37
|
+
],
|
|
38
|
+
"examples": [
|
|
39
|
+
{
|
|
40
|
+
"description": "Linear interpolation",
|
|
41
|
+
"input": "x = [1 2 3];\ny = [10 20 40];\nyq = interp1(x, y, [1.5 2.5])",
|
|
42
|
+
"output": "yq = [15 30]"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"description": "Spline interpolation",
|
|
46
|
+
"input": "x = [1 2 3];\ny = [1 4 9];\nyq = interp1(x, y, [1.5 2.5], 'spline')",
|
|
47
|
+
"output": "yq = [2.25 6.25]"
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"syntax": {
|
|
51
|
+
"example": {
|
|
52
|
+
"description": "Syntax",
|
|
53
|
+
"input": "yq = interp1(y, xq)\nyq = interp1(x, y, xq)\nyq = interp1(x, y, xq, method)\nyq = interp1(x, y, xq, method, 'extrap')"
|
|
54
|
+
},
|
|
55
|
+
"points": [
|
|
56
|
+
"`x` is a strictly increasing vector of sample locations. When omitted, RunMat uses `1:numel(y)`.",
|
|
57
|
+
"`y` contains the sampled values. Vector inputs produce vector outputs; matrix inputs are interpolated along the sample dimension.",
|
|
58
|
+
"`xq` contains query points. Scalar queries return scalars, and array queries preserve their shape.",
|
|
59
|
+
"`method` may be `linear`, `nearest`, `spline`, or `pchip`. The default is `linear`.",
|
|
60
|
+
"Out-of-range queries return `NaN` by default. Pass `'extrap'` to extrapolate or pass a scalar fill value."
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
"links": [
|
|
64
|
+
{
|
|
65
|
+
"label": "spline",
|
|
66
|
+
"url": "./spline"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"label": "pchip",
|
|
70
|
+
"url": "./pchip"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"label": "interp2",
|
|
74
|
+
"url": "./interp2"
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
"source": {
|
|
78
|
+
"label": "Open an issue",
|
|
79
|
+
"url": "https://github.com/runmat-org/runmat/issues/new/choose"
|
|
80
|
+
},
|
|
81
|
+
"key": "interp1",
|
|
82
|
+
"slug": "interp1",
|
|
83
|
+
"aliases": [],
|
|
84
|
+
"categoryPath": [
|
|
85
|
+
"math",
|
|
86
|
+
"interpolation"
|
|
87
|
+
]
|
|
88
|
+
};
|
|
89
|
+
export default builtinDoc;
|
|
90
|
+
//# sourceMappingURL=interp1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interp1.js","sourceRoot":"","sources":["../../../src/generated/builtins/interp1.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAC9C,uBAAuB;AAIvB,MAAM,UAAU,GAAe;IAC7B,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,oBAAoB;IAChC,UAAU,EAAE;QACV,SAAS;QACT,eAAe;QACf,QAAQ;QACR,SAAS;QACT,QAAQ;QACR,OAAO;KACR;IACD,SAAS,EAAE,2DAA2D;IACtE,aAAa,EAAE;QACb,aAAa,EAAE,KAAK;QACpB,WAAW,EAAE,KAAK;QAClB,YAAY,EAAE;YACZ,KAAK;YACL,KAAK;SACN;QACD,cAAc,EAAE,QAAQ;QACxB,OAAO,EAAE,2JAA2J;KACrK;IACD,QAAQ,EAAE;QACR,aAAa,EAAE,KAAK;QACpB,WAAW,EAAE,KAAK;QAClB,YAAY,EAAE,CAAC;QACf,WAAW,EAAE,QAAQ;KACtB;IACD,aAAa,EAAE,0LAA0L;IACzM,WAAW,EAAE;QACX,4DAA4D;QAC5D,kFAAkF;QAClF,iGAAiG;QACjG,wFAAwF;KACzF;IACD,UAAU,EAAE;QACV;YACE,aAAa,EAAE,sBAAsB;YACrC,OAAO,EAAE,8DAA8D;YACvE,QAAQ,EAAE,cAAc;SACzB;QACD;YACE,aAAa,EAAE,sBAAsB;YACrC,OAAO,EAAE,qEAAqE;YAC9E,QAAQ,EAAE,kBAAkB;SAC7B;KACF;IACD,QAAQ,EAAE;QACR,SAAS,EAAE;YACT,aAAa,EAAE,QAAQ;YACvB,OAAO,EAAE,uHAAuH;SACjI;QACD,QAAQ,EAAE;YACR,kGAAkG;YAClG,mIAAmI;YACnI,oGAAoG;YACpG,qFAAqF;YACrF,2GAA2G;SAC5G;KACF;IACD,OAAO,EAAE;QACP;YACE,OAAO,EAAE,QAAQ;YACjB,KAAK,EAAE,UAAU;SAClB;QACD;YACE,OAAO,EAAE,OAAO;YAChB,KAAK,EAAE,SAAS;SACjB;QACD;YACE,OAAO,EAAE,SAAS;YAClB,KAAK,EAAE,WAAW;SACnB;KACF;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,eAAe;QACxB,KAAK,EAAE,wDAAwD;KAChE;IACD,KAAK,EAAE,SAAS;IAChB,MAAM,EAAE,SAAS;IACjB,SAAS,EAAE,EAAE;IACb,cAAc,EAAE;QACd,MAAM;QACN,eAAe;KAChB;CACF,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interp2.d.ts","sourceRoot":"","sources":["../../../src/generated/builtins/interp2.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,QAAA,MAAM,UAAU,EAAE,UAmFjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
// @generated by scripts/generate-builtins.cjs
|
|
2
|
+
// Do not edit by hand.
|
|
3
|
+
const builtinDoc = {
|
|
4
|
+
"title": "interp2",
|
|
5
|
+
"category": "math/interpolation",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"interp2",
|
|
8
|
+
"2-D interpolation",
|
|
9
|
+
"bilinear",
|
|
10
|
+
"nearest",
|
|
11
|
+
"meshgrid"
|
|
12
|
+
],
|
|
13
|
+
"summary": "Interpolate values over a two-dimensional gridded surface.",
|
|
14
|
+
"gpu_support": {
|
|
15
|
+
"elementwise": false,
|
|
16
|
+
"reduction": false,
|
|
17
|
+
"precisions": [
|
|
18
|
+
"f32",
|
|
19
|
+
"f64"
|
|
20
|
+
],
|
|
21
|
+
"broadcasting": "matlab",
|
|
22
|
+
"notes": "GPU inputs are gathered to the CPU reference implementation in this release. Bilinear and nearest interpolation are intended future provider-kernel targets."
|
|
23
|
+
},
|
|
24
|
+
"fusion": {
|
|
25
|
+
"elementwise": false,
|
|
26
|
+
"reduction": false,
|
|
27
|
+
"max_inputs": 5,
|
|
28
|
+
"constants": "inline"
|
|
29
|
+
},
|
|
30
|
+
"description": "`interp2(X, Y, Z, Xq, Yq)` estimates surface values at query points from gridded data. Vector axes and meshgrid-style coordinate matrices are accepted. `interp2(Z, Xq, Yq)` uses implicit axes based on the rows and columns of `Z`.",
|
|
31
|
+
"behaviors": [
|
|
32
|
+
"Supports `linear` and `nearest` methods in the initial implementation.",
|
|
33
|
+
"Out-of-range query points return `NaN` unless an extrapolation value or `'extrap'` is supplied.",
|
|
34
|
+
"Dense real numeric inputs are supported. GPU inputs gather to the host reference path."
|
|
35
|
+
],
|
|
36
|
+
"examples": [
|
|
37
|
+
{
|
|
38
|
+
"description": "Bilinear interpolation with implicit axes",
|
|
39
|
+
"input": "Z = [1 2; 3 4];\nzq = interp2(Z, 1.5, 1.5)",
|
|
40
|
+
"output": "zq = 2.5"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"description": "Interpolation with meshgrid axes",
|
|
44
|
+
"input": "[X, Y] = meshgrid([10 20], [100 200]);\nZ = [1 2; 3 4];\nzq = interp2(X, Y, Z, 15, 150)",
|
|
45
|
+
"output": "zq = 2.5"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"syntax": {
|
|
49
|
+
"example": {
|
|
50
|
+
"description": "Syntax",
|
|
51
|
+
"input": "Zq = interp2(Z, Xq, Yq)\nZq = interp2(X, Y, Z, Xq, Yq)\nZq = interp2(X, Y, Z, Xq, Yq, method)"
|
|
52
|
+
},
|
|
53
|
+
"points": [
|
|
54
|
+
"`Z` is a dense 2-D matrix of sampled surface values.",
|
|
55
|
+
"`X` and `Y` may be vector axes or meshgrid-style coordinate matrices matching `Z`. When omitted, implicit column and row axes are used.",
|
|
56
|
+
"`Xq` and `Yq` are scalar or same-size query arrays. Scalar queries broadcast against array queries.",
|
|
57
|
+
"`method` may be `linear` or `nearest` in the initial implementation. The default is `linear`.",
|
|
58
|
+
"Out-of-range queries return `NaN` by default. Pass `'extrap'` to extrapolate or pass a scalar fill value."
|
|
59
|
+
]
|
|
60
|
+
},
|
|
61
|
+
"links": [
|
|
62
|
+
{
|
|
63
|
+
"label": "interp1",
|
|
64
|
+
"url": "./interp1"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"label": "meshgrid",
|
|
68
|
+
"url": "./meshgrid"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"label": "peaks",
|
|
72
|
+
"url": "./peaks"
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"source": {
|
|
76
|
+
"label": "Open an issue",
|
|
77
|
+
"url": "https://github.com/runmat-org/runmat/issues/new/choose"
|
|
78
|
+
},
|
|
79
|
+
"key": "interp2",
|
|
80
|
+
"slug": "interp2",
|
|
81
|
+
"aliases": [],
|
|
82
|
+
"categoryPath": [
|
|
83
|
+
"math",
|
|
84
|
+
"interpolation"
|
|
85
|
+
]
|
|
86
|
+
};
|
|
87
|
+
export default builtinDoc;
|
|
88
|
+
//# sourceMappingURL=interp2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interp2.js","sourceRoot":"","sources":["../../../src/generated/builtins/interp2.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAC9C,uBAAuB;AAIvB,MAAM,UAAU,GAAe;IAC7B,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,oBAAoB;IAChC,UAAU,EAAE;QACV,SAAS;QACT,mBAAmB;QACnB,UAAU;QACV,SAAS;QACT,UAAU;KACX;IACD,SAAS,EAAE,4DAA4D;IACvE,aAAa,EAAE;QACb,aAAa,EAAE,KAAK;QACpB,WAAW,EAAE,KAAK;QAClB,YAAY,EAAE;YACZ,KAAK;YACL,KAAK;SACN;QACD,cAAc,EAAE,QAAQ;QACxB,OAAO,EAAE,8JAA8J;KACxK;IACD,QAAQ,EAAE;QACR,aAAa,EAAE,KAAK;QACpB,WAAW,EAAE,KAAK;QAClB,YAAY,EAAE,CAAC;QACf,WAAW,EAAE,QAAQ;KACtB;IACD,aAAa,EAAE,uOAAuO;IACtP,WAAW,EAAE;QACX,wEAAwE;QACxE,iGAAiG;QACjG,wFAAwF;KACzF;IACD,UAAU,EAAE;QACV;YACE,aAAa,EAAE,2CAA2C;YAC1D,OAAO,EAAE,4CAA4C;YACrD,QAAQ,EAAE,UAAU;SACrB;QACD;YACE,aAAa,EAAE,kCAAkC;YACjD,OAAO,EAAE,yFAAyF;YAClG,QAAQ,EAAE,UAAU;SACrB;KACF;IACD,QAAQ,EAAE;QACR,SAAS,EAAE;YACT,aAAa,EAAE,QAAQ;YACvB,OAAO,EAAE,+FAA+F;SACzG;QACD,QAAQ,EAAE;YACR,sDAAsD;YACtD,yIAAyI;YACzI,qGAAqG;YACrG,+FAA+F;YAC/F,2GAA2G;SAC5G;KACF;IACD,OAAO,EAAE;QACP;YACE,OAAO,EAAE,SAAS;YAClB,KAAK,EAAE,WAAW;SACnB;QACD;YACE,OAAO,EAAE,UAAU;YACnB,KAAK,EAAE,YAAY;SACpB;QACD;YACE,OAAO,EAAE,OAAO;YAChB,KAAK,EAAE,SAAS;SACjB;KACF;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,eAAe;QACxB,KAAK,EAAE,wDAAwD;KAChE;IACD,KAAK,EAAE,SAAS;IAChB,MAAM,EAAE,SAAS;IACjB,SAAS,EAAE,EAAE;IACb,cAAc,EAAE;QACd,MAAM;QACN,eAAe;KAChB;CACF,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pchip.d.ts","sourceRoot":"","sources":["../../../src/generated/builtins/pchip.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,QAAA,MAAM,UAAU,EAAE,UAyEjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
// @generated by scripts/generate-builtins.cjs
|
|
2
|
+
// Do not edit by hand.
|
|
3
|
+
const builtinDoc = {
|
|
4
|
+
"title": "pchip",
|
|
5
|
+
"category": "math/interpolation",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"pchip",
|
|
8
|
+
"piecewise cubic hermite",
|
|
9
|
+
"shape preserving",
|
|
10
|
+
"interpolation"
|
|
11
|
+
],
|
|
12
|
+
"summary": "Shape-preserving piecewise cubic Hermite interpolation.",
|
|
13
|
+
"gpu_support": {
|
|
14
|
+
"elementwise": false,
|
|
15
|
+
"reduction": false,
|
|
16
|
+
"precisions": [
|
|
17
|
+
"f32",
|
|
18
|
+
"f64"
|
|
19
|
+
],
|
|
20
|
+
"broadcasting": "matlab",
|
|
21
|
+
"notes": "GPU inputs are gathered to the CPU reference implementation."
|
|
22
|
+
},
|
|
23
|
+
"fusion": {
|
|
24
|
+
"elementwise": false,
|
|
25
|
+
"reduction": false,
|
|
26
|
+
"max_inputs": 3,
|
|
27
|
+
"constants": "inline"
|
|
28
|
+
},
|
|
29
|
+
"description": "`pchip(x, y)` builds a shape-preserving cubic Hermite interpolant. `pchip(x, y, xq)` evaluates it at query points.",
|
|
30
|
+
"behaviors": [
|
|
31
|
+
"Returns the same pp-structure shape used by `spline`.",
|
|
32
|
+
"Uses monotonicity-preserving slopes so monotone data does not overshoot between samples.",
|
|
33
|
+
"Dense real numeric inputs are supported in the initial implementation."
|
|
34
|
+
],
|
|
35
|
+
"examples": [
|
|
36
|
+
{
|
|
37
|
+
"description": "Shape-preserving interpolation",
|
|
38
|
+
"input": "x = [1 2 3];\ny = [1 4 9];\nyq = pchip(x, y, [1.5 2.5])",
|
|
39
|
+
"output": "yq = [2.21875 6.21875]"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"syntax": {
|
|
43
|
+
"example": {
|
|
44
|
+
"description": "Syntax",
|
|
45
|
+
"input": "pp = pchip(x, y)\nyq = pchip(x, y, xq)"
|
|
46
|
+
},
|
|
47
|
+
"points": [
|
|
48
|
+
"`x` is a strictly increasing vector of sample locations.",
|
|
49
|
+
"`y` contains the sampled values to interpolate.",
|
|
50
|
+
"`pchip(x, y)` returns a piecewise-polynomial structure compatible with `ppval`.",
|
|
51
|
+
"`pchip(x, y, xq)` evaluates the shape-preserving interpolant directly at query points.",
|
|
52
|
+
"PCHIP is usually preferred over spline interpolation when monotonicity and avoiding overshoot matter."
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
"links": [
|
|
56
|
+
{
|
|
57
|
+
"label": "interp1",
|
|
58
|
+
"url": "./interp1"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"label": "ppval",
|
|
62
|
+
"url": "./ppval"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"source": {
|
|
66
|
+
"label": "Open an issue",
|
|
67
|
+
"url": "https://github.com/runmat-org/runmat/issues/new/choose"
|
|
68
|
+
},
|
|
69
|
+
"key": "pchip",
|
|
70
|
+
"slug": "pchip",
|
|
71
|
+
"aliases": [],
|
|
72
|
+
"categoryPath": [
|
|
73
|
+
"math",
|
|
74
|
+
"interpolation"
|
|
75
|
+
]
|
|
76
|
+
};
|
|
77
|
+
export default builtinDoc;
|
|
78
|
+
//# sourceMappingURL=pchip.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pchip.js","sourceRoot":"","sources":["../../../src/generated/builtins/pchip.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAC9C,uBAAuB;AAIvB,MAAM,UAAU,GAAe;IAC7B,OAAO,EAAE,OAAO;IAChB,UAAU,EAAE,oBAAoB;IAChC,UAAU,EAAE;QACV,OAAO;QACP,yBAAyB;QACzB,kBAAkB;QAClB,eAAe;KAChB;IACD,SAAS,EAAE,yDAAyD;IACpE,aAAa,EAAE;QACb,aAAa,EAAE,KAAK;QACpB,WAAW,EAAE,KAAK;QAClB,YAAY,EAAE;YACZ,KAAK;YACL,KAAK;SACN;QACD,cAAc,EAAE,QAAQ;QACxB,OAAO,EAAE,8DAA8D;KACxE;IACD,QAAQ,EAAE;QACR,aAAa,EAAE,KAAK;QACpB,WAAW,EAAE,KAAK;QAClB,YAAY,EAAE,CAAC;QACf,WAAW,EAAE,QAAQ;KACtB;IACD,aAAa,EAAE,oHAAoH;IACnI,WAAW,EAAE;QACX,uDAAuD;QACvD,0FAA0F;QAC1F,wEAAwE;KACzE;IACD,UAAU,EAAE;QACV;YACE,aAAa,EAAE,gCAAgC;YAC/C,OAAO,EAAE,yDAAyD;YAClE,QAAQ,EAAE,wBAAwB;SACnC;KACF;IACD,QAAQ,EAAE;QACR,SAAS,EAAE;YACT,aAAa,EAAE,QAAQ;YACvB,OAAO,EAAE,wCAAwC;SAClD;QACD,QAAQ,EAAE;YACR,0DAA0D;YAC1D,iDAAiD;YACjD,iFAAiF;YACjF,wFAAwF;YACxF,uGAAuG;SACxG;KACF;IACD,OAAO,EAAE;QACP;YACE,OAAO,EAAE,SAAS;YAClB,KAAK,EAAE,WAAW;SACnB;QACD;YACE,OAAO,EAAE,OAAO;YAChB,KAAK,EAAE,SAAS;SACjB;KACF;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,eAAe;QACxB,KAAK,EAAE,wDAAwD;KAChE;IACD,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,OAAO;IACf,SAAS,EAAE,EAAE;IACb,cAAc,EAAE;QACd,MAAM;QACN,eAAe;KAChB;CACF,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ppval.d.ts","sourceRoot":"","sources":["../../../src/generated/builtins/ppval.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,QAAA,MAAM,UAAU,EAAE,UAwEjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
// @generated by scripts/generate-builtins.cjs
|
|
2
|
+
// Do not edit by hand.
|
|
3
|
+
const builtinDoc = {
|
|
4
|
+
"title": "ppval",
|
|
5
|
+
"category": "math/interpolation",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"ppval",
|
|
8
|
+
"piecewise polynomial",
|
|
9
|
+
"spline",
|
|
10
|
+
"pchip"
|
|
11
|
+
],
|
|
12
|
+
"summary": "Evaluate a piecewise-polynomial structure.",
|
|
13
|
+
"gpu_support": {
|
|
14
|
+
"elementwise": false,
|
|
15
|
+
"reduction": false,
|
|
16
|
+
"precisions": [
|
|
17
|
+
"f32",
|
|
18
|
+
"f64"
|
|
19
|
+
],
|
|
20
|
+
"broadcasting": "matlab",
|
|
21
|
+
"notes": "GPU query points are gathered to the CPU reference implementation."
|
|
22
|
+
},
|
|
23
|
+
"fusion": {
|
|
24
|
+
"elementwise": false,
|
|
25
|
+
"reduction": false,
|
|
26
|
+
"max_inputs": 2,
|
|
27
|
+
"constants": "uniform"
|
|
28
|
+
},
|
|
29
|
+
"description": "`ppval(pp, xq)` evaluates a piecewise-polynomial structure produced by `spline` or `pchip` at query points `xq`.",
|
|
30
|
+
"behaviors": [
|
|
31
|
+
"Accepts pp structures with `form`, `breaks`, `coefs`, `pieces`, `order`, and `dim` fields.",
|
|
32
|
+
"Uses Horner evaluation within each interval.",
|
|
33
|
+
"Extrapolates outside the break range, matching MATLAB pp evaluation behavior."
|
|
34
|
+
],
|
|
35
|
+
"examples": [
|
|
36
|
+
{
|
|
37
|
+
"description": "Evaluate a spline pp structure",
|
|
38
|
+
"input": "pp = spline([1 2 3], [1 4 9]);\nyq = ppval(pp, [1.5 2.5])",
|
|
39
|
+
"output": "yq = [2.25 6.25]"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"syntax": {
|
|
43
|
+
"example": {
|
|
44
|
+
"description": "Syntax",
|
|
45
|
+
"input": "yq = ppval(pp, xq)"
|
|
46
|
+
},
|
|
47
|
+
"points": [
|
|
48
|
+
"`pp` is a piecewise-polynomial structure, typically returned by `spline` or `pchip`.",
|
|
49
|
+
"`xq` contains query points. Scalar queries return scalars, and array queries preserve their shape.",
|
|
50
|
+
"RunMat evaluates each interval with Horner's method using the pp coefficient table.",
|
|
51
|
+
"Queries outside the break range are extrapolated from the first or last polynomial piece."
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
"links": [
|
|
55
|
+
{
|
|
56
|
+
"label": "spline",
|
|
57
|
+
"url": "./spline"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"label": "pchip",
|
|
61
|
+
"url": "./pchip"
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"source": {
|
|
65
|
+
"label": "Open an issue",
|
|
66
|
+
"url": "https://github.com/runmat-org/runmat/issues/new/choose"
|
|
67
|
+
},
|
|
68
|
+
"key": "ppval",
|
|
69
|
+
"slug": "ppval",
|
|
70
|
+
"aliases": [],
|
|
71
|
+
"categoryPath": [
|
|
72
|
+
"math",
|
|
73
|
+
"interpolation"
|
|
74
|
+
]
|
|
75
|
+
};
|
|
76
|
+
export default builtinDoc;
|
|
77
|
+
//# sourceMappingURL=ppval.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ppval.js","sourceRoot":"","sources":["../../../src/generated/builtins/ppval.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAC9C,uBAAuB;AAIvB,MAAM,UAAU,GAAe;IAC7B,OAAO,EAAE,OAAO;IAChB,UAAU,EAAE,oBAAoB;IAChC,UAAU,EAAE;QACV,OAAO;QACP,sBAAsB;QACtB,QAAQ;QACR,OAAO;KACR;IACD,SAAS,EAAE,4CAA4C;IACvD,aAAa,EAAE;QACb,aAAa,EAAE,KAAK;QACpB,WAAW,EAAE,KAAK;QAClB,YAAY,EAAE;YACZ,KAAK;YACL,KAAK;SACN;QACD,cAAc,EAAE,QAAQ;QACxB,OAAO,EAAE,oEAAoE;KAC9E;IACD,QAAQ,EAAE;QACR,aAAa,EAAE,KAAK;QACpB,WAAW,EAAE,KAAK;QAClB,YAAY,EAAE,CAAC;QACf,WAAW,EAAE,SAAS;KACvB;IACD,aAAa,EAAE,kHAAkH;IACjI,WAAW,EAAE;QACX,4FAA4F;QAC5F,8CAA8C;QAC9C,+EAA+E;KAChF;IACD,UAAU,EAAE;QACV;YACE,aAAa,EAAE,gCAAgC;YAC/C,OAAO,EAAE,2DAA2D;YACpE,QAAQ,EAAE,kBAAkB;SAC7B;KACF;IACD,QAAQ,EAAE;QACR,SAAS,EAAE;YACT,aAAa,EAAE,QAAQ;YACvB,OAAO,EAAE,oBAAoB;SAC9B;QACD,QAAQ,EAAE;YACR,sFAAsF;YACtF,oGAAoG;YACpG,qFAAqF;YACrF,2FAA2F;SAC5F;KACF;IACD,OAAO,EAAE;QACP;YACE,OAAO,EAAE,QAAQ;YACjB,KAAK,EAAE,UAAU;SAClB;QACD;YACE,OAAO,EAAE,OAAO;YAChB,KAAK,EAAE,SAAS;SACjB;KACF;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,eAAe;QACxB,KAAK,EAAE,wDAAwD;KAChE;IACD,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,OAAO;IACf,SAAS,EAAE,EAAE;IACb,cAAc,EAAE;QACd,MAAM;QACN,eAAe;KAChB;CACF,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spline.d.ts","sourceRoot":"","sources":["../../../src/generated/builtins/spline.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,QAAA,MAAM,UAAU,EAAE,UA+EjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
// @generated by scripts/generate-builtins.cjs
|
|
2
|
+
// Do not edit by hand.
|
|
3
|
+
const builtinDoc = {
|
|
4
|
+
"title": "spline",
|
|
5
|
+
"category": "math/interpolation",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"spline",
|
|
8
|
+
"cubic spline",
|
|
9
|
+
"interpolation",
|
|
10
|
+
"pp",
|
|
11
|
+
"ppval"
|
|
12
|
+
],
|
|
13
|
+
"summary": "Construct or evaluate a cubic spline interpolant.",
|
|
14
|
+
"gpu_support": {
|
|
15
|
+
"elementwise": false,
|
|
16
|
+
"reduction": false,
|
|
17
|
+
"precisions": [
|
|
18
|
+
"f32",
|
|
19
|
+
"f64"
|
|
20
|
+
],
|
|
21
|
+
"broadcasting": "matlab",
|
|
22
|
+
"notes": "GPU inputs are gathered to the CPU reference implementation."
|
|
23
|
+
},
|
|
24
|
+
"fusion": {
|
|
25
|
+
"elementwise": false,
|
|
26
|
+
"reduction": false,
|
|
27
|
+
"max_inputs": 3,
|
|
28
|
+
"constants": "inline"
|
|
29
|
+
},
|
|
30
|
+
"description": "`spline(x, y)` returns a piecewise-polynomial structure for cubic spline interpolation. `spline(x, y, xq)` evaluates that spline directly at query points.",
|
|
31
|
+
"behaviors": [
|
|
32
|
+
"Returns a pp structure with `form`, `breaks`, `coefs`, `pieces`, `order`, and `dim` fields.",
|
|
33
|
+
"The direct evaluation form extrapolates outside the sample range, matching MATLAB's standalone `spline` behavior.",
|
|
34
|
+
"Dense real numeric inputs are supported in the initial implementation."
|
|
35
|
+
],
|
|
36
|
+
"examples": [
|
|
37
|
+
{
|
|
38
|
+
"description": "Build and evaluate a spline",
|
|
39
|
+
"input": "x = [1 2 3];\ny = [1 4 9];\npp = spline(x, y);\nyq = ppval(pp, [1.5 2.5])",
|
|
40
|
+
"output": "yq = [2.25 6.25]"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"description": "Direct evaluation",
|
|
44
|
+
"input": "x = [1 2 3];\ny = [1 4 9];\nyq = spline(x, y, 1.5)",
|
|
45
|
+
"output": "yq = 2.25"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"syntax": {
|
|
49
|
+
"example": {
|
|
50
|
+
"description": "Syntax",
|
|
51
|
+
"input": "pp = spline(x, y)\nyq = spline(x, y, xq)"
|
|
52
|
+
},
|
|
53
|
+
"points": [
|
|
54
|
+
"`x` is a strictly increasing vector of sample locations.",
|
|
55
|
+
"`y` contains the sampled values to interpolate.",
|
|
56
|
+
"`spline(x, y)` returns a piecewise-polynomial structure compatible with `ppval`.",
|
|
57
|
+
"`spline(x, y, xq)` evaluates the cubic spline directly at query points.",
|
|
58
|
+
"Standalone `spline` extrapolates outside the sample range using the first or last polynomial piece."
|
|
59
|
+
]
|
|
60
|
+
},
|
|
61
|
+
"links": [
|
|
62
|
+
{
|
|
63
|
+
"label": "interp1",
|
|
64
|
+
"url": "./interp1"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"label": "ppval",
|
|
68
|
+
"url": "./ppval"
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"source": {
|
|
72
|
+
"label": "Open an issue",
|
|
73
|
+
"url": "https://github.com/runmat-org/runmat/issues/new/choose"
|
|
74
|
+
},
|
|
75
|
+
"key": "spline",
|
|
76
|
+
"slug": "spline",
|
|
77
|
+
"aliases": [],
|
|
78
|
+
"categoryPath": [
|
|
79
|
+
"math",
|
|
80
|
+
"interpolation"
|
|
81
|
+
]
|
|
82
|
+
};
|
|
83
|
+
export default builtinDoc;
|
|
84
|
+
//# sourceMappingURL=spline.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spline.js","sourceRoot":"","sources":["../../../src/generated/builtins/spline.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAC9C,uBAAuB;AAIvB,MAAM,UAAU,GAAe;IAC7B,OAAO,EAAE,QAAQ;IACjB,UAAU,EAAE,oBAAoB;IAChC,UAAU,EAAE;QACV,QAAQ;QACR,cAAc;QACd,eAAe;QACf,IAAI;QACJ,OAAO;KACR;IACD,SAAS,EAAE,mDAAmD;IAC9D,aAAa,EAAE;QACb,aAAa,EAAE,KAAK;QACpB,WAAW,EAAE,KAAK;QAClB,YAAY,EAAE;YACZ,KAAK;YACL,KAAK;SACN;QACD,cAAc,EAAE,QAAQ;QACxB,OAAO,EAAE,8DAA8D;KACxE;IACD,QAAQ,EAAE;QACR,aAAa,EAAE,KAAK;QACpB,WAAW,EAAE,KAAK;QAClB,YAAY,EAAE,CAAC;QACf,WAAW,EAAE,QAAQ;KACtB;IACD,aAAa,EAAE,4JAA4J;IAC3K,WAAW,EAAE;QACX,6FAA6F;QAC7F,mHAAmH;QACnH,wEAAwE;KACzE;IACD,UAAU,EAAE;QACV;YACE,aAAa,EAAE,6BAA6B;YAC5C,OAAO,EAAE,2EAA2E;YACpF,QAAQ,EAAE,kBAAkB;SAC7B;QACD;YACE,aAAa,EAAE,mBAAmB;YAClC,OAAO,EAAE,oDAAoD;YAC7D,QAAQ,EAAE,WAAW;SACtB;KACF;IACD,QAAQ,EAAE;QACR,SAAS,EAAE;YACT,aAAa,EAAE,QAAQ;YACvB,OAAO,EAAE,0CAA0C;SACpD;QACD,QAAQ,EAAE;YACR,0DAA0D;YAC1D,iDAAiD;YACjD,kFAAkF;YAClF,yEAAyE;YACzE,qGAAqG;SACtG;KACF;IACD,OAAO,EAAE;QACP;YACE,OAAO,EAAE,SAAS;YAClB,KAAK,EAAE,WAAW;SACnB;QACD;YACE,OAAO,EAAE,OAAO;YAChB,KAAK,EAAE,SAAS;SACjB;KACF;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,eAAe;QACxB,KAAK,EAAE,wDAAwD;KAChE;IACD,KAAK,EAAE,QAAQ;IACf,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,EAAE;IACb,cAAc,EAAE;QACd,MAAM;QACN,eAAe;KAChB;CACF,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"builtins-manifest.d.ts","sourceRoot":"","sources":["../../src/generated/builtins-manifest.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAE7E,eAAO,MAAM,eAAe,EAAE,oBAAoB,
|
|
1
|
+
{"version":3,"file":"builtins-manifest.d.ts","sourceRoot":"","sources":["../../src/generated/builtins-manifest.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAE7E,eAAO,MAAM,eAAe,EAAE,oBAAoB,EAy5OjD,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAwX9D,CAAC;AAEF,eAAO,MAAM,4BAA4B,sEAC0C,CAAC"}
|