runmat 0.4.6-dev.0 → 0.4.6-dev.2
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/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/exprnd.d.ts +4 -0
- package/dist/generated/builtins/exprnd.d.ts.map +1 -0
- package/dist/generated/builtins/exprnd.js +125 -0
- package/dist/generated/builtins/exprnd.js.map +1 -0
- package/dist/generated/builtins/gray2rgb.d.ts +4 -0
- package/dist/generated/builtins/gray2rgb.d.ts.map +1 -0
- package/dist/generated/builtins/gray2rgb.js +62 -0
- package/dist/generated/builtins/gray2rgb.js.map +1 -0
- package/dist/generated/builtins/hsv2rgb.d.ts +4 -0
- package/dist/generated/builtins/hsv2rgb.d.ts.map +1 -0
- package/dist/generated/builtins/hsv2rgb.js +66 -0
- package/dist/generated/builtins/hsv2rgb.js.map +1 -0
- package/dist/generated/builtins/im2double.d.ts +4 -0
- package/dist/generated/builtins/im2double.d.ts.map +1 -0
- package/dist/generated/builtins/im2double.js +67 -0
- package/dist/generated/builtins/im2double.js.map +1 -0
- package/dist/generated/builtins/im2uint16.d.ts +4 -0
- package/dist/generated/builtins/im2uint16.d.ts.map +1 -0
- package/dist/generated/builtins/im2uint16.js +70 -0
- package/dist/generated/builtins/im2uint16.js.map +1 -0
- package/dist/generated/builtins/im2uint8.d.ts +4 -0
- package/dist/generated/builtins/im2uint8.d.ts.map +1 -0
- package/dist/generated/builtins/im2uint8.js +70 -0
- package/dist/generated/builtins/im2uint8.js.map +1 -0
- package/dist/generated/builtins/ind2rgb.d.ts +4 -0
- package/dist/generated/builtins/ind2rgb.d.ts.map +1 -0
- package/dist/generated/builtins/ind2rgb.js +66 -0
- package/dist/generated/builtins/ind2rgb.js.map +1 -0
- package/dist/generated/builtins/lab2rgb.d.ts +4 -0
- package/dist/generated/builtins/lab2rgb.d.ts.map +1 -0
- package/dist/generated/builtins/lab2rgb.js +67 -0
- package/dist/generated/builtins/lab2rgb.js.map +1 -0
- package/dist/generated/builtins/normrnd.d.ts +4 -0
- package/dist/generated/builtins/normrnd.d.ts.map +1 -0
- package/dist/generated/builtins/normrnd.js +125 -0
- package/dist/generated/builtins/normrnd.js.map +1 -0
- package/dist/generated/builtins/rgb2gray.d.ts +4 -0
- package/dist/generated/builtins/rgb2gray.d.ts.map +1 -0
- package/dist/generated/builtins/rgb2gray.js +66 -0
- package/dist/generated/builtins/rgb2gray.js.map +1 -0
- package/dist/generated/builtins/rgb2hsv.d.ts +4 -0
- package/dist/generated/builtins/rgb2hsv.d.ts.map +1 -0
- package/dist/generated/builtins/rgb2hsv.js +66 -0
- package/dist/generated/builtins/rgb2hsv.js.map +1 -0
- package/dist/generated/builtins/rgb2lab.d.ts +4 -0
- package/dist/generated/builtins/rgb2lab.d.ts.map +1 -0
- package/dist/generated/builtins/rgb2lab.js +67 -0
- package/dist/generated/builtins/rgb2lab.js.map +1 -0
- package/dist/generated/builtins/unifrnd.d.ts +4 -0
- package/dist/generated/builtins/unifrnd.d.ts.map +1 -0
- package/dist/generated/builtins/unifrnd.js +124 -0
- package/dist/generated/builtins/unifrnd.js.map +1 -0
- package/dist/generated/builtins-manifest.d.ts.map +1 -1
- package/dist/generated/builtins-manifest.js +282 -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 +4 -4
- package/dist/pkg-web/runmat_wasm_web.js +10 -10
- package/dist/pkg-web/runmat_wasm_web_bg.wasm +0 -0
- package/dist/pkg-web/runmat_wasm_web_bg.wasm.d.ts +4 -4
- package/dist/runtime/stdlib.snapshot +0 -0
- package/package.json +1 -1
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
// @generated by scripts/generate-builtins.cjs
|
|
2
|
+
// Do not edit by hand.
|
|
3
|
+
const builtinDoc = {
|
|
4
|
+
"title": "lab2rgb",
|
|
5
|
+
"category": "image/color",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"lab2rgb",
|
|
8
|
+
"lab",
|
|
9
|
+
"cielab",
|
|
10
|
+
"rgb",
|
|
11
|
+
"color",
|
|
12
|
+
"image"
|
|
13
|
+
],
|
|
14
|
+
"summary": "Convert CIE L*a*b* values to sRGB using D65 white.",
|
|
15
|
+
"references": [
|
|
16
|
+
"https://www.mathworks.com/help/images/ref/lab2rgb.html"
|
|
17
|
+
],
|
|
18
|
+
"gpu_support": {
|
|
19
|
+
"elementwise": false,
|
|
20
|
+
"reduction": false,
|
|
21
|
+
"precisions": [],
|
|
22
|
+
"broadcasting": "none",
|
|
23
|
+
"notes": "Host implementation uses the default D65/sRGB conversion path and clips out-of-gamut RGB values."
|
|
24
|
+
},
|
|
25
|
+
"fusion": {
|
|
26
|
+
"elementwise": false,
|
|
27
|
+
"reduction": false,
|
|
28
|
+
"max_inputs": 1,
|
|
29
|
+
"constants": "inline"
|
|
30
|
+
},
|
|
31
|
+
"requires_feature": null,
|
|
32
|
+
"tested": {
|
|
33
|
+
"unit": "builtins::image::color::lab2rgb::tests"
|
|
34
|
+
},
|
|
35
|
+
"description": "`lab2rgb(LAB)` converts CIE L*a*b* image or colormap values to sRGB using the default D65 assumptions.",
|
|
36
|
+
"behaviors": [
|
|
37
|
+
"Accepts MxNx3 Lab images and Nx3 Lab colormaps.",
|
|
38
|
+
"Out-of-gamut RGB values are clipped to [0,1].",
|
|
39
|
+
"Name-value options are not implemented in this Tier 1 version."
|
|
40
|
+
],
|
|
41
|
+
"examples": [
|
|
42
|
+
{
|
|
43
|
+
"description": "Lab To RGB",
|
|
44
|
+
"input": "RGB = lab2rgb(LAB);",
|
|
45
|
+
"output": "% RGB has red, green, and blue channels"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"links": [
|
|
49
|
+
{
|
|
50
|
+
"label": "rgb2lab",
|
|
51
|
+
"url": "./rgb2lab"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"source": {
|
|
55
|
+
"label": "crates/runmat-runtime/src/builtins/image/color/lab2rgb.rs",
|
|
56
|
+
"url": "https://github.com/runmat-org/runmat/blob/main/crates/runmat-runtime/src/builtins/image/color/lab2rgb.rs"
|
|
57
|
+
},
|
|
58
|
+
"key": "lab2rgb",
|
|
59
|
+
"slug": "lab2rgb",
|
|
60
|
+
"aliases": [],
|
|
61
|
+
"categoryPath": [
|
|
62
|
+
"image",
|
|
63
|
+
"color"
|
|
64
|
+
]
|
|
65
|
+
};
|
|
66
|
+
export default builtinDoc;
|
|
67
|
+
//# sourceMappingURL=lab2rgb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lab2rgb.js","sourceRoot":"","sources":["../../../src/generated/builtins/lab2rgb.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAC9C,uBAAuB;AAIvB,MAAM,UAAU,GAAe;IAC7B,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,aAAa;IACzB,UAAU,EAAE;QACV,SAAS;QACT,KAAK;QACL,QAAQ;QACR,KAAK;QACL,OAAO;QACP,OAAO;KACR;IACD,SAAS,EAAE,oDAAoD;IAC/D,YAAY,EAAE;QACZ,wDAAwD;KACzD;IACD,aAAa,EAAE;QACb,aAAa,EAAE,KAAK;QACpB,WAAW,EAAE,KAAK;QAClB,YAAY,EAAE,EAAE;QAChB,cAAc,EAAE,MAAM;QACtB,OAAO,EAAE,kGAAkG;KAC5G;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,wCAAwC;KACjD;IACD,aAAa,EAAE,wGAAwG;IACvH,WAAW,EAAE;QACX,iDAAiD;QACjD,+CAA+C;QAC/C,gEAAgE;KACjE;IACD,UAAU,EAAE;QACV;YACE,aAAa,EAAE,YAAY;YAC3B,OAAO,EAAE,qBAAqB;YAC9B,QAAQ,EAAE,yCAAyC;SACpD;KACF;IACD,OAAO,EAAE;QACP;YACE,OAAO,EAAE,SAAS;YAClB,KAAK,EAAE,WAAW;SACnB;KACF;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,2DAA2D;QACpE,KAAK,EAAE,0GAA0G;KAClH;IACD,KAAK,EAAE,SAAS;IAChB,MAAM,EAAE,SAAS;IACjB,SAAS,EAAE,EAAE;IACb,cAAc,EAAE;QACd,OAAO;QACP,OAAO;KACR;CACF,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normrnd.d.ts","sourceRoot":"","sources":["../../../src/generated/builtins/normrnd.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,QAAA,MAAM,UAAU,EAAE,UAwHjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
// @generated by scripts/generate-builtins.cjs
|
|
2
|
+
// Do not edit by hand.
|
|
3
|
+
const builtinDoc = {
|
|
4
|
+
"title": "normrnd",
|
|
5
|
+
"category": "stats/random",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"normrnd",
|
|
8
|
+
"normal",
|
|
9
|
+
"gaussian",
|
|
10
|
+
"random",
|
|
11
|
+
"distribution",
|
|
12
|
+
"statistics"
|
|
13
|
+
],
|
|
14
|
+
"summary": "Normally-distributed random numbers with mean mu and standard deviation sigma.",
|
|
15
|
+
"references": [],
|
|
16
|
+
"gpu_support": {
|
|
17
|
+
"elementwise": false,
|
|
18
|
+
"reduction": false,
|
|
19
|
+
"precisions": [
|
|
20
|
+
"f64"
|
|
21
|
+
],
|
|
22
|
+
"broadcasting": "none",
|
|
23
|
+
"notes": "Uses the provider random_normrnd hook (Philox CSPRNG + Box-Muller sampling) when an F64-precision provider is active. F32 providers and providers without the hook fall back to host generation."
|
|
24
|
+
},
|
|
25
|
+
"fusion": {
|
|
26
|
+
"elementwise": false,
|
|
27
|
+
"reduction": false,
|
|
28
|
+
"max_inputs": 0,
|
|
29
|
+
"constants": "none"
|
|
30
|
+
},
|
|
31
|
+
"requires_feature": null,
|
|
32
|
+
"tested": {
|
|
33
|
+
"unit": "builtins::stats::random::normrnd::tests",
|
|
34
|
+
"integration": null
|
|
35
|
+
},
|
|
36
|
+
"description": "`normrnd` draws pseudorandom samples from the normal distribution with mean `mu` and standard deviation `sigma`. It is part of the **Statistics and Machine Learning Toolbox** family in MATLAB and Octave's `statistics` package. RunMat implements it by generating standard normal variates and scaling them as `r = mu + sigma * Z` where `Z ~ N(0, 1)`.",
|
|
37
|
+
"behaviors": [
|
|
38
|
+
"`normrnd(mu, sigma)` returns a scalar double drawn from `N(mu, sigma^2)`.",
|
|
39
|
+
"`normrnd(mu, sigma, n)` returns an `n × n` matrix of samples.",
|
|
40
|
+
"`normrnd(mu, sigma, m, n)` returns an `m × n` matrix of samples.",
|
|
41
|
+
"`normrnd(mu, sigma, sz)` accepts a size vector and returns an array with shape `sz`.",
|
|
42
|
+
"`mu` and `sigma` must be scalar numeric values.",
|
|
43
|
+
"`sigma` must be non-negative; `normrnd` errors if `sigma < 0`.",
|
|
44
|
+
"All outputs are double precision regardless of input type."
|
|
45
|
+
],
|
|
46
|
+
"examples": [
|
|
47
|
+
{
|
|
48
|
+
"description": "Single sample from N(0, 1)",
|
|
49
|
+
"input": "rng(0);\nr = normrnd(0, 1)"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"description": "Matrix of Gaussian noise with mean 10 and standard deviation 2",
|
|
53
|
+
"input": "rng(0);\nX = normrnd(10, 2, 2, 3)"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"description": "Simulating normally-distributed measurement errors",
|
|
57
|
+
"input": "rng(0);\ntrueValue = 100;\nsigma = 0.5;\nmeasurements = trueValue + normrnd(0, sigma, 1, 5)"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"description": "Specifying dimensions with a size vector",
|
|
61
|
+
"input": "rng(0);\nT = normrnd(5, 1.5, [2 3])"
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"faqs": [
|
|
65
|
+
{
|
|
66
|
+
"question": "What do mu and sigma mean?",
|
|
67
|
+
"answer": "`mu` is the distribution mean and `sigma` is the standard deviation. The variance is `sigma^2`, so `normrnd(mu, sigma)` draws from `N(mu, sigma^2)`."
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"question": "What is the workaround if normrnd is unavailable?",
|
|
71
|
+
"answer": "`normrnd(mu, sigma)` is mathematically equivalent to `mu + sigma * randn()`. For arrays, use `mu + sigma * randn(sz)` with the same requested size."
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"question": "Can sigma be zero?",
|
|
75
|
+
"answer": "Yes. `sigma = 0` is allowed and returns deterministic samples equal to `mu`. Negative standard deviations are undefined and raise an error."
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"question": "What use cases does normrnd support?",
|
|
79
|
+
"answer": "Common uses include Gaussian noise generation, measurement error simulation, confidence interval experiments, Monte Carlo sampling, and normally-distributed model residuals."
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"question": "Does normrnd fuse with other operations?",
|
|
83
|
+
"answer": "No. Random generation is excluded from fusion planning to preserve statistical properties."
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"question": "How do I control reproducibility?",
|
|
87
|
+
"answer": "Use `rng` before calling `normrnd` to seed the global generator."
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
"links": [
|
|
91
|
+
{
|
|
92
|
+
"label": "exprnd",
|
|
93
|
+
"url": "./exprnd"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"label": "unifrnd",
|
|
97
|
+
"url": "./unifrnd"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"label": "rand",
|
|
101
|
+
"url": "./rand"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"label": "randn",
|
|
105
|
+
"url": "./randn"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"label": "rng",
|
|
109
|
+
"url": "./rng"
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
"source": {
|
|
113
|
+
"label": "`crates/runmat-runtime/src/builtins/stats/random/normrnd.rs`",
|
|
114
|
+
"url": "https://github.com/runmat-org/runmat/blob/main/crates/runmat-runtime/src/builtins/stats/random/normrnd.rs"
|
|
115
|
+
},
|
|
116
|
+
"key": "normrnd",
|
|
117
|
+
"slug": "normrnd",
|
|
118
|
+
"aliases": [],
|
|
119
|
+
"categoryPath": [
|
|
120
|
+
"stats",
|
|
121
|
+
"random"
|
|
122
|
+
]
|
|
123
|
+
};
|
|
124
|
+
export default builtinDoc;
|
|
125
|
+
//# sourceMappingURL=normrnd.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normrnd.js","sourceRoot":"","sources":["../../../src/generated/builtins/normrnd.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAC9C,uBAAuB;AAIvB,MAAM,UAAU,GAAe;IAC7B,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,cAAc;IAC1B,UAAU,EAAE;QACV,SAAS;QACT,QAAQ;QACR,UAAU;QACV,QAAQ;QACR,cAAc;QACd,YAAY;KACb;IACD,SAAS,EAAE,gFAAgF;IAC3F,YAAY,EAAE,EAAE;IAChB,aAAa,EAAE;QACb,aAAa,EAAE,KAAK;QACpB,WAAW,EAAE,KAAK;QAClB,YAAY,EAAE;YACZ,KAAK;SACN;QACD,cAAc,EAAE,MAAM;QACtB,OAAO,EAAE,kMAAkM;KAC5M;IACD,QAAQ,EAAE;QACR,aAAa,EAAE,KAAK;QACpB,WAAW,EAAE,KAAK;QAClB,YAAY,EAAE,CAAC;QACf,WAAW,EAAE,MAAM;KACpB;IACD,kBAAkB,EAAE,IAAI;IACxB,QAAQ,EAAE;QACR,MAAM,EAAE,yCAAyC;QACjD,aAAa,EAAE,IAAI;KACpB;IACD,aAAa,EAAE,8VAA8V;IAC7W,WAAW,EAAE;QACX,2EAA2E;QAC3E,+DAA+D;QAC/D,kEAAkE;QAClE,sFAAsF;QACtF,iDAAiD;QACjD,gEAAgE;QAChE,4DAA4D;KAC7D;IACD,UAAU,EAAE;QACV;YACE,aAAa,EAAE,4BAA4B;YAC3C,OAAO,EAAE,4BAA4B;SACtC;QACD;YACE,aAAa,EAAE,gEAAgE;YAC/E,OAAO,EAAE,mCAAmC;SAC7C;QACD;YACE,aAAa,EAAE,oDAAoD;YACnE,OAAO,EAAE,6FAA6F;SACvG;QACD;YACE,aAAa,EAAE,0CAA0C;YACzD,OAAO,EAAE,qCAAqC;SAC/C;KACF;IACD,MAAM,EAAE;QACN;YACE,UAAU,EAAE,4BAA4B;YACxC,QAAQ,EAAE,sJAAsJ;SACjK;QACD;YACE,UAAU,EAAE,mDAAmD;YAC/D,QAAQ,EAAE,qJAAqJ;SAChK;QACD;YACE,UAAU,EAAE,oBAAoB;YAChC,QAAQ,EAAE,6IAA6I;SACxJ;QACD;YACE,UAAU,EAAE,sCAAsC;YAClD,QAAQ,EAAE,+KAA+K;SAC1L;QACD;YACE,UAAU,EAAE,0CAA0C;YACtD,QAAQ,EAAE,4FAA4F;SACvG;QACD;YACE,UAAU,EAAE,mCAAmC;YAC/C,QAAQ,EAAE,kEAAkE;SAC7E;KACF;IACD,OAAO,EAAE;QACP;YACE,OAAO,EAAE,QAAQ;YACjB,KAAK,EAAE,UAAU;SAClB;QACD;YACE,OAAO,EAAE,SAAS;YAClB,KAAK,EAAE,WAAW;SACnB;QACD;YACE,OAAO,EAAE,MAAM;YACf,KAAK,EAAE,QAAQ;SAChB;QACD;YACE,OAAO,EAAE,OAAO;YAChB,KAAK,EAAE,SAAS;SACjB;QACD;YACE,OAAO,EAAE,KAAK;YACd,KAAK,EAAE,OAAO;SACf;KACF;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,8DAA8D;QACvE,KAAK,EAAE,2GAA2G;KACnH;IACD,KAAK,EAAE,SAAS;IAChB,MAAM,EAAE,SAAS;IACjB,SAAS,EAAE,EAAE;IACb,cAAc,EAAE;QACd,OAAO;QACP,QAAQ;KACT;CACF,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rgb2gray.d.ts","sourceRoot":"","sources":["../../../src/generated/builtins/rgb2gray.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,QAAA,MAAM,UAAU,EAAE,UA6DjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// @generated by scripts/generate-builtins.cjs
|
|
2
|
+
// Do not edit by hand.
|
|
3
|
+
const builtinDoc = {
|
|
4
|
+
"title": "rgb2gray",
|
|
5
|
+
"category": "image/color",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"rgb2gray",
|
|
8
|
+
"rgb",
|
|
9
|
+
"grayscale",
|
|
10
|
+
"luminance",
|
|
11
|
+
"image"
|
|
12
|
+
],
|
|
13
|
+
"summary": "Convert an RGB image to grayscale using luminance weights.",
|
|
14
|
+
"references": [
|
|
15
|
+
"https://www.mathworks.com/help/matlab/ref/rgb2gray.html"
|
|
16
|
+
],
|
|
17
|
+
"gpu_support": {
|
|
18
|
+
"elementwise": false,
|
|
19
|
+
"reduction": false,
|
|
20
|
+
"precisions": [],
|
|
21
|
+
"broadcasting": "none",
|
|
22
|
+
"notes": "GPU inputs gather to host so integer image dtype semantics are preserved."
|
|
23
|
+
},
|
|
24
|
+
"fusion": {
|
|
25
|
+
"elementwise": false,
|
|
26
|
+
"reduction": false,
|
|
27
|
+
"max_inputs": 1,
|
|
28
|
+
"constants": "inline"
|
|
29
|
+
},
|
|
30
|
+
"requires_feature": null,
|
|
31
|
+
"tested": {
|
|
32
|
+
"unit": "builtins::image::color::rgb2gray::tests"
|
|
33
|
+
},
|
|
34
|
+
"description": "`rgb2gray(RGB)` converts an MxNx3 truecolor image to an MxN grayscale image with the standard luminance weights.",
|
|
35
|
+
"behaviors": [
|
|
36
|
+
"Accepts MxNx3 truecolor images.",
|
|
37
|
+
"Uses weights 0.2989, 0.5870, and 0.1140 for red, green, and blue.",
|
|
38
|
+
"Preserves uint8, uint16, single, and double image class metadata on host tensors."
|
|
39
|
+
],
|
|
40
|
+
"examples": [
|
|
41
|
+
{
|
|
42
|
+
"description": "Convert RGB To Gray",
|
|
43
|
+
"input": "I = rgb2gray(RGB);",
|
|
44
|
+
"output": "% I is MxN"
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"links": [
|
|
48
|
+
{
|
|
49
|
+
"label": "im2double",
|
|
50
|
+
"url": "./im2double"
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"source": {
|
|
54
|
+
"label": "crates/runmat-runtime/src/builtins/image/color/rgb2gray.rs",
|
|
55
|
+
"url": "https://github.com/runmat-org/runmat/blob/main/crates/runmat-runtime/src/builtins/image/color/rgb2gray.rs"
|
|
56
|
+
},
|
|
57
|
+
"key": "rgb2gray",
|
|
58
|
+
"slug": "rgb2gray",
|
|
59
|
+
"aliases": [],
|
|
60
|
+
"categoryPath": [
|
|
61
|
+
"image",
|
|
62
|
+
"color"
|
|
63
|
+
]
|
|
64
|
+
};
|
|
65
|
+
export default builtinDoc;
|
|
66
|
+
//# sourceMappingURL=rgb2gray.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rgb2gray.js","sourceRoot":"","sources":["../../../src/generated/builtins/rgb2gray.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAC9C,uBAAuB;AAIvB,MAAM,UAAU,GAAe;IAC7B,OAAO,EAAE,UAAU;IACnB,UAAU,EAAE,aAAa;IACzB,UAAU,EAAE;QACV,UAAU;QACV,KAAK;QACL,WAAW;QACX,WAAW;QACX,OAAO;KACR;IACD,SAAS,EAAE,4DAA4D;IACvE,YAAY,EAAE;QACZ,yDAAyD;KAC1D;IACD,aAAa,EAAE;QACb,aAAa,EAAE,KAAK;QACpB,WAAW,EAAE,KAAK;QAClB,YAAY,EAAE,EAAE;QAChB,cAAc,EAAE,MAAM;QACtB,OAAO,EAAE,2EAA2E;KACrF;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,yCAAyC;KAClD;IACD,aAAa,EAAE,kHAAkH;IACjI,WAAW,EAAE;QACX,iCAAiC;QACjC,mEAAmE;QACnE,mFAAmF;KACpF;IACD,UAAU,EAAE;QACV;YACE,aAAa,EAAE,qBAAqB;YACpC,OAAO,EAAE,oBAAoB;YAC7B,QAAQ,EAAE,YAAY;SACvB;KACF;IACD,OAAO,EAAE;QACP;YACE,OAAO,EAAE,WAAW;YACpB,KAAK,EAAE,aAAa;SACrB;KACF;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,4DAA4D;QACrE,KAAK,EAAE,2GAA2G;KACnH;IACD,KAAK,EAAE,UAAU;IACjB,MAAM,EAAE,UAAU;IAClB,SAAS,EAAE,EAAE;IACb,cAAc,EAAE;QACd,OAAO;QACP,OAAO;KACR;CACF,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rgb2hsv.d.ts","sourceRoot":"","sources":["../../../src/generated/builtins/rgb2hsv.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,QAAA,MAAM,UAAU,EAAE,UA6DjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// @generated by scripts/generate-builtins.cjs
|
|
2
|
+
// Do not edit by hand.
|
|
3
|
+
const builtinDoc = {
|
|
4
|
+
"title": "rgb2hsv",
|
|
5
|
+
"category": "image/color",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"rgb2hsv",
|
|
8
|
+
"rgb",
|
|
9
|
+
"hsv",
|
|
10
|
+
"color",
|
|
11
|
+
"image",
|
|
12
|
+
"colormap"
|
|
13
|
+
],
|
|
14
|
+
"summary": "Convert RGB image or colormap values to HSV.",
|
|
15
|
+
"references": [
|
|
16
|
+
"https://www.mathworks.com/help/matlab/ref/rgb2hsv.html"
|
|
17
|
+
],
|
|
18
|
+
"gpu_support": {
|
|
19
|
+
"elementwise": false,
|
|
20
|
+
"reduction": false,
|
|
21
|
+
"precisions": [],
|
|
22
|
+
"broadcasting": "none",
|
|
23
|
+
"notes": "Host implementation; float GPU providers are tracked separately."
|
|
24
|
+
},
|
|
25
|
+
"fusion": {
|
|
26
|
+
"elementwise": false,
|
|
27
|
+
"reduction": false,
|
|
28
|
+
"max_inputs": 1,
|
|
29
|
+
"constants": "inline"
|
|
30
|
+
},
|
|
31
|
+
"requires_feature": null,
|
|
32
|
+
"tested": {
|
|
33
|
+
"unit": "builtins::image::color::rgb2hsv::tests"
|
|
34
|
+
},
|
|
35
|
+
"description": "`rgb2hsv(RGB)` converts MxNx3 image data or an Nx3 colormap from RGB to HSV values.",
|
|
36
|
+
"behaviors": [
|
|
37
|
+
"Accepts MxNx3 truecolor images and Nx3 colormaps.",
|
|
38
|
+
"Integer RGB inputs are scaled into [0,1] before conversion."
|
|
39
|
+
],
|
|
40
|
+
"examples": [
|
|
41
|
+
{
|
|
42
|
+
"description": "RGB To HSV",
|
|
43
|
+
"input": "HSV = rgb2hsv(RGB);",
|
|
44
|
+
"output": "% HSV has the same shape as RGB"
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"links": [
|
|
48
|
+
{
|
|
49
|
+
"label": "hsv2rgb",
|
|
50
|
+
"url": "./hsv2rgb"
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"source": {
|
|
54
|
+
"label": "crates/runmat-runtime/src/builtins/image/color/rgb2hsv.rs",
|
|
55
|
+
"url": "https://github.com/runmat-org/runmat/blob/main/crates/runmat-runtime/src/builtins/image/color/rgb2hsv.rs"
|
|
56
|
+
},
|
|
57
|
+
"key": "rgb2hsv",
|
|
58
|
+
"slug": "rgb2hsv",
|
|
59
|
+
"aliases": [],
|
|
60
|
+
"categoryPath": [
|
|
61
|
+
"image",
|
|
62
|
+
"color"
|
|
63
|
+
]
|
|
64
|
+
};
|
|
65
|
+
export default builtinDoc;
|
|
66
|
+
//# sourceMappingURL=rgb2hsv.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rgb2hsv.js","sourceRoot":"","sources":["../../../src/generated/builtins/rgb2hsv.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAC9C,uBAAuB;AAIvB,MAAM,UAAU,GAAe;IAC7B,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,aAAa;IACzB,UAAU,EAAE;QACV,SAAS;QACT,KAAK;QACL,KAAK;QACL,OAAO;QACP,OAAO;QACP,UAAU;KACX;IACD,SAAS,EAAE,8CAA8C;IACzD,YAAY,EAAE;QACZ,wDAAwD;KACzD;IACD,aAAa,EAAE;QACb,aAAa,EAAE,KAAK;QACpB,WAAW,EAAE,KAAK;QAClB,YAAY,EAAE,EAAE;QAChB,cAAc,EAAE,MAAM;QACtB,OAAO,EAAE,kEAAkE;KAC5E;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,wCAAwC;KACjD;IACD,aAAa,EAAE,qFAAqF;IACpG,WAAW,EAAE;QACX,mDAAmD;QACnD,6DAA6D;KAC9D;IACD,UAAU,EAAE;QACV;YACE,aAAa,EAAE,YAAY;YAC3B,OAAO,EAAE,qBAAqB;YAC9B,QAAQ,EAAE,iCAAiC;SAC5C;KACF;IACD,OAAO,EAAE;QACP;YACE,OAAO,EAAE,SAAS;YAClB,KAAK,EAAE,WAAW;SACnB;KACF;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,2DAA2D;QACpE,KAAK,EAAE,0GAA0G;KAClH;IACD,KAAK,EAAE,SAAS;IAChB,MAAM,EAAE,SAAS;IACjB,SAAS,EAAE,EAAE;IACb,cAAc,EAAE;QACd,OAAO;QACP,OAAO;KACR;CACF,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rgb2lab.d.ts","sourceRoot":"","sources":["../../../src/generated/builtins/rgb2lab.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,QAAA,MAAM,UAAU,EAAE,UA8DjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
// @generated by scripts/generate-builtins.cjs
|
|
2
|
+
// Do not edit by hand.
|
|
3
|
+
const builtinDoc = {
|
|
4
|
+
"title": "rgb2lab",
|
|
5
|
+
"category": "image/color",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"rgb2lab",
|
|
8
|
+
"rgb",
|
|
9
|
+
"lab",
|
|
10
|
+
"cielab",
|
|
11
|
+
"color",
|
|
12
|
+
"image"
|
|
13
|
+
],
|
|
14
|
+
"summary": "Convert sRGB image or colormap values to CIE L*a*b* using D65 white.",
|
|
15
|
+
"references": [
|
|
16
|
+
"https://www.mathworks.com/help/images/ref/rgb2lab.html"
|
|
17
|
+
],
|
|
18
|
+
"gpu_support": {
|
|
19
|
+
"elementwise": false,
|
|
20
|
+
"reduction": false,
|
|
21
|
+
"precisions": [],
|
|
22
|
+
"broadcasting": "none",
|
|
23
|
+
"notes": "Host implementation uses the default sRGB/D65 conversion path."
|
|
24
|
+
},
|
|
25
|
+
"fusion": {
|
|
26
|
+
"elementwise": false,
|
|
27
|
+
"reduction": false,
|
|
28
|
+
"max_inputs": 1,
|
|
29
|
+
"constants": "inline"
|
|
30
|
+
},
|
|
31
|
+
"requires_feature": null,
|
|
32
|
+
"tested": {
|
|
33
|
+
"unit": "builtins::image::color::rgb2lab::tests"
|
|
34
|
+
},
|
|
35
|
+
"description": "`rgb2lab(RGB)` converts RGB image or colormap values to CIE L*a*b* using the default sRGB/D65 assumptions.",
|
|
36
|
+
"behaviors": [
|
|
37
|
+
"Accepts MxNx3 truecolor images and Nx3 colormaps.",
|
|
38
|
+
"Integer RGB inputs are scaled into [0,1] before conversion.",
|
|
39
|
+
"Name-value options are not implemented in this Tier 1 version."
|
|
40
|
+
],
|
|
41
|
+
"examples": [
|
|
42
|
+
{
|
|
43
|
+
"description": "RGB To Lab",
|
|
44
|
+
"input": "LAB = rgb2lab(RGB);",
|
|
45
|
+
"output": "% LAB has L*, a*, and b* channels"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"links": [
|
|
49
|
+
{
|
|
50
|
+
"label": "lab2rgb",
|
|
51
|
+
"url": "./lab2rgb"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"source": {
|
|
55
|
+
"label": "crates/runmat-runtime/src/builtins/image/color/rgb2lab.rs",
|
|
56
|
+
"url": "https://github.com/runmat-org/runmat/blob/main/crates/runmat-runtime/src/builtins/image/color/rgb2lab.rs"
|
|
57
|
+
},
|
|
58
|
+
"key": "rgb2lab",
|
|
59
|
+
"slug": "rgb2lab",
|
|
60
|
+
"aliases": [],
|
|
61
|
+
"categoryPath": [
|
|
62
|
+
"image",
|
|
63
|
+
"color"
|
|
64
|
+
]
|
|
65
|
+
};
|
|
66
|
+
export default builtinDoc;
|
|
67
|
+
//# sourceMappingURL=rgb2lab.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rgb2lab.js","sourceRoot":"","sources":["../../../src/generated/builtins/rgb2lab.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAC9C,uBAAuB;AAIvB,MAAM,UAAU,GAAe;IAC7B,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,aAAa;IACzB,UAAU,EAAE;QACV,SAAS;QACT,KAAK;QACL,KAAK;QACL,QAAQ;QACR,OAAO;QACP,OAAO;KACR;IACD,SAAS,EAAE,sEAAsE;IACjF,YAAY,EAAE;QACZ,wDAAwD;KACzD;IACD,aAAa,EAAE;QACb,aAAa,EAAE,KAAK;QACpB,WAAW,EAAE,KAAK;QAClB,YAAY,EAAE,EAAE;QAChB,cAAc,EAAE,MAAM;QACtB,OAAO,EAAE,gEAAgE;KAC1E;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,wCAAwC;KACjD;IACD,aAAa,EAAE,4GAA4G;IAC3H,WAAW,EAAE;QACX,mDAAmD;QACnD,6DAA6D;QAC7D,gEAAgE;KACjE;IACD,UAAU,EAAE;QACV;YACE,aAAa,EAAE,YAAY;YAC3B,OAAO,EAAE,qBAAqB;YAC9B,QAAQ,EAAE,mCAAmC;SAC9C;KACF;IACD,OAAO,EAAE;QACP;YACE,OAAO,EAAE,SAAS;YAClB,KAAK,EAAE,WAAW;SACnB;KACF;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,2DAA2D;QACpE,KAAK,EAAE,0GAA0G;KAClH;IACD,KAAK,EAAE,SAAS;IAChB,MAAM,EAAE,SAAS;IACjB,SAAS,EAAE,EAAE;IACb,cAAc,EAAE;QACd,OAAO;QACP,OAAO;KACR;CACF,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unifrnd.d.ts","sourceRoot":"","sources":["../../../src/generated/builtins/unifrnd.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,QAAA,MAAM,UAAU,EAAE,UAuHjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
// @generated by scripts/generate-builtins.cjs
|
|
2
|
+
// Do not edit by hand.
|
|
3
|
+
const builtinDoc = {
|
|
4
|
+
"title": "unifrnd",
|
|
5
|
+
"category": "stats/random",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"unifrnd",
|
|
8
|
+
"uniform",
|
|
9
|
+
"random",
|
|
10
|
+
"distribution",
|
|
11
|
+
"statistics"
|
|
12
|
+
],
|
|
13
|
+
"summary": "Uniformly-distributed random numbers on the interval [a, b).",
|
|
14
|
+
"references": [],
|
|
15
|
+
"gpu_support": {
|
|
16
|
+
"elementwise": false,
|
|
17
|
+
"reduction": false,
|
|
18
|
+
"precisions": [
|
|
19
|
+
"f64"
|
|
20
|
+
],
|
|
21
|
+
"broadcasting": "none",
|
|
22
|
+
"notes": "Uses the provider random_unifrnd hook (Philox CSPRNG + affine scaling) when an F64-precision provider is active. F32 providers and providers without the hook fall back to host generation."
|
|
23
|
+
},
|
|
24
|
+
"fusion": {
|
|
25
|
+
"elementwise": false,
|
|
26
|
+
"reduction": false,
|
|
27
|
+
"max_inputs": 0,
|
|
28
|
+
"constants": "none"
|
|
29
|
+
},
|
|
30
|
+
"requires_feature": null,
|
|
31
|
+
"tested": {
|
|
32
|
+
"unit": "builtins::stats::random::unifrnd::tests",
|
|
33
|
+
"integration": null
|
|
34
|
+
},
|
|
35
|
+
"description": "`unifrnd` draws pseudorandom samples from the continuous uniform distribution on the half-open interval `[a, b)`. It is part of the **Statistics and Machine Learning Toolbox** family in MATLAB and Octave's `statistics` package. RunMat implements it by scaling base uniform variates as `r = a + (b - a) * U` where `U ~ Uniform(0, 1)`.",
|
|
36
|
+
"behaviors": [
|
|
37
|
+
"`unifrnd(a, b)` returns a scalar double drawn from `Uniform(a, b)`.",
|
|
38
|
+
"`unifrnd(a, b, n)` returns an `n × n` matrix of samples.",
|
|
39
|
+
"`unifrnd(a, b, m, n)` returns an `m × n` matrix of samples.",
|
|
40
|
+
"`unifrnd(a, b, sz)` accepts a size vector and returns an array with shape `sz`.",
|
|
41
|
+
"`a` and `b` must be scalar numeric values.",
|
|
42
|
+
"`a` must be less than `b`; `unifrnd` errors if `a >= b`.",
|
|
43
|
+
"All outputs are double precision regardless of input type."
|
|
44
|
+
],
|
|
45
|
+
"examples": [
|
|
46
|
+
{
|
|
47
|
+
"description": "Single sample from Uniform(2, 5)",
|
|
48
|
+
"input": "rng(0);\nr = unifrnd(2, 5)"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"description": "Matrix of random values between -1 and 1",
|
|
52
|
+
"input": "rng(0);\nX = unifrnd(-1, 1, 2, 3)"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"description": "Monte Carlo samples for uncertain input bounds",
|
|
56
|
+
"input": "rng(0);\nlow = 10; high = 20;\nsamples = unifrnd(low, high, 1, 5)"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"description": "Specifying dimensions with a size vector",
|
|
60
|
+
"input": "rng(0);\nT = unifrnd(0, 100, [2 3])"
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"faqs": [
|
|
64
|
+
{
|
|
65
|
+
"question": "Are the bounds inclusive?",
|
|
66
|
+
"answer": "RunMat generates samples on the half-open interval `[a, b)`: values can be equal to `a`, but are always strictly less than `b`."
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"question": "What is the workaround if unifrnd is unavailable?",
|
|
70
|
+
"answer": "`unifrnd(a, b)` is mathematically equivalent to `a + (b - a) * rand()`. For arrays, use `a + (b - a) * rand(sz)` with the same requested size."
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"question": "Why must a be less than b?",
|
|
74
|
+
"answer": "A continuous uniform distribution needs a positive-width interval. `unifrnd` raises an error if `a >= b` to catch invalid bounds early."
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"question": "What use cases does unifrnd support?",
|
|
78
|
+
"answer": "Common uses include Monte Carlo sampling, randomized initial conditions, parameter sweeps over bounded ranges, simulation inputs, and continuous random perturbations."
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"question": "Does unifrnd fuse with other operations?",
|
|
82
|
+
"answer": "No. Random generation is excluded from fusion planning to preserve statistical properties."
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"question": "How do I control reproducibility?",
|
|
86
|
+
"answer": "Use `rng` before calling `unifrnd` to seed the global generator."
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"links": [
|
|
90
|
+
{
|
|
91
|
+
"label": "exprnd",
|
|
92
|
+
"url": "./exprnd"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"label": "normrnd",
|
|
96
|
+
"url": "./normrnd"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"label": "rand",
|
|
100
|
+
"url": "./rand"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"label": "randn",
|
|
104
|
+
"url": "./randn"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"label": "rng",
|
|
108
|
+
"url": "./rng"
|
|
109
|
+
}
|
|
110
|
+
],
|
|
111
|
+
"source": {
|
|
112
|
+
"label": "`crates/runmat-runtime/src/builtins/stats/random/unifrnd.rs`",
|
|
113
|
+
"url": "https://github.com/runmat-org/runmat/blob/main/crates/runmat-runtime/src/builtins/stats/random/unifrnd.rs"
|
|
114
|
+
},
|
|
115
|
+
"key": "unifrnd",
|
|
116
|
+
"slug": "unifrnd",
|
|
117
|
+
"aliases": [],
|
|
118
|
+
"categoryPath": [
|
|
119
|
+
"stats",
|
|
120
|
+
"random"
|
|
121
|
+
]
|
|
122
|
+
};
|
|
123
|
+
export default builtinDoc;
|
|
124
|
+
//# sourceMappingURL=unifrnd.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unifrnd.js","sourceRoot":"","sources":["../../../src/generated/builtins/unifrnd.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAC9C,uBAAuB;AAIvB,MAAM,UAAU,GAAe;IAC7B,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,cAAc;IAC1B,UAAU,EAAE;QACV,SAAS;QACT,SAAS;QACT,QAAQ;QACR,cAAc;QACd,YAAY;KACb;IACD,SAAS,EAAE,8DAA8D;IACzE,YAAY,EAAE,EAAE;IAChB,aAAa,EAAE;QACb,aAAa,EAAE,KAAK;QACpB,WAAW,EAAE,KAAK;QAClB,YAAY,EAAE;YACZ,KAAK;SACN;QACD,cAAc,EAAE,MAAM;QACtB,OAAO,EAAE,6LAA6L;KACvM;IACD,QAAQ,EAAE;QACR,aAAa,EAAE,KAAK;QACpB,WAAW,EAAE,KAAK;QAClB,YAAY,EAAE,CAAC;QACf,WAAW,EAAE,MAAM;KACpB;IACD,kBAAkB,EAAE,IAAI;IACxB,QAAQ,EAAE;QACR,MAAM,EAAE,yCAAyC;QACjD,aAAa,EAAE,IAAI;KACpB;IACD,aAAa,EAAE,+UAA+U;IAC9V,WAAW,EAAE;QACX,qEAAqE;QACrE,0DAA0D;QAC1D,6DAA6D;QAC7D,iFAAiF;QACjF,4CAA4C;QAC5C,0DAA0D;QAC1D,4DAA4D;KAC7D;IACD,UAAU,EAAE;QACV;YACE,aAAa,EAAE,kCAAkC;YACjD,OAAO,EAAE,4BAA4B;SACtC;QACD;YACE,aAAa,EAAE,0CAA0C;YACzD,OAAO,EAAE,mCAAmC;SAC7C;QACD;YACE,aAAa,EAAE,gDAAgD;YAC/D,OAAO,EAAE,mEAAmE;SAC7E;QACD;YACE,aAAa,EAAE,0CAA0C;YACzD,OAAO,EAAE,qCAAqC;SAC/C;KACF;IACD,MAAM,EAAE;QACN;YACE,UAAU,EAAE,2BAA2B;YACvC,QAAQ,EAAE,iIAAiI;SAC5I;QACD;YACE,UAAU,EAAE,mDAAmD;YAC/D,QAAQ,EAAE,gJAAgJ;SAC3J;QACD;YACE,UAAU,EAAE,4BAA4B;YACxC,QAAQ,EAAE,yIAAyI;SACpJ;QACD;YACE,UAAU,EAAE,sCAAsC;YAClD,QAAQ,EAAE,wKAAwK;SACnL;QACD;YACE,UAAU,EAAE,0CAA0C;YACtD,QAAQ,EAAE,4FAA4F;SACvG;QACD;YACE,UAAU,EAAE,mCAAmC;YAC/C,QAAQ,EAAE,kEAAkE;SAC7E;KACF;IACD,OAAO,EAAE;QACP;YACE,OAAO,EAAE,QAAQ;YACjB,KAAK,EAAE,UAAU;SAClB;QACD;YACE,OAAO,EAAE,SAAS;YAClB,KAAK,EAAE,WAAW;SACnB;QACD;YACE,OAAO,EAAE,MAAM;YACf,KAAK,EAAE,QAAQ;SAChB;QACD;YACE,OAAO,EAAE,OAAO;YAChB,KAAK,EAAE,SAAS;SACjB;QACD;YACE,OAAO,EAAE,KAAK;YACd,KAAK,EAAE,OAAO;SACf;KACF;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,8DAA8D;QACvE,KAAK,EAAE,2GAA2G;KACnH;IACD,KAAK,EAAE,SAAS;IAChB,MAAM,EAAE,SAAS;IACjB,SAAS,EAAE,EAAE;IACb,cAAc,EAAE;QACd,OAAO;QACP,QAAQ;KACT;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,EA4vPjD,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAyY9D,CAAC;AAEF,eAAO,MAAM,4BAA4B,sEAC0C,CAAC"}
|