fastlowess-wasm 1.0.0 → 1.2.0
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/README.md +4 -2
- package/fastlowess_wasm.js +41 -41
- package/fastlowess_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,13 +7,15 @@
|
|
|
7
7
|
<a href="https://pypi.org/project/fastlowess/"><img src="https://img.shields.io/badge/PyPI-3775A9?logo=pypi&logoColor=white" alt="PyPI"></a>
|
|
8
8
|
<a href="https://thisisamirv.r-universe.dev/rfastlowess"><img src="https://img.shields.io/badge/R--universe-276DC3?logo=r&logoColor=white" alt="R-universe"></a>
|
|
9
9
|
<a href="https://www.npmjs.com/package/fastlowess"><img src="https://img.shields.io/badge/npm-CB3837?logo=npm&logoColor=white" alt="npm"></a>
|
|
10
|
-
<a href="https://juliahub.com/ui/Packages/General/
|
|
10
|
+
<a href="https://juliahub.com/ui/Packages/General/FastLOWESS"><img src="https://img.shields.io/badge/Julia-9558B2?logo=julia&logoColor=white" alt="Julia"></a>
|
|
11
11
|
<a href="https://www.npmjs.com/package/fastlowess-wasm"><img src="https://img.shields.io/badge/WASM-654FF0?logo=webassembly&logoColor=white" alt="WASM"></a>
|
|
12
12
|
<a href="https://github.com/thisisamirv/lowess-project/releases/latest"><img src="https://img.shields.io/badge/C++-00599C?logo=cplusplus&logoColor=white" alt="C++"></a>
|
|
13
13
|
<br>
|
|
14
14
|
<a href="https://anaconda.org/conda-forge/fastlowess"><img src="https://img.shields.io/badge/fastlowess_(Python)-44A833?logo=anaconda&logoColor=white" alt="fastlowess (Python)"></a>
|
|
15
15
|
<a href="https://anaconda.org/conda-forge/libfastlowess"><img src="https://img.shields.io/badge/libfastlowess_(C++)-44A833?logo=anaconda&logoColor=white" alt="libfastlowess (C++)"></a>
|
|
16
16
|
<a href="https://anaconda.org/conda-forge/r-rfastlowess"><img src="https://img.shields.io/badge/rfastlowess_(R)-44A833?logo=anaconda&logoColor=white" alt="rfastlowess (R)"></a>
|
|
17
|
+
<br>
|
|
18
|
+
<a href="https://github.com/thisisamirv/lowess-project/actions/workflows/ci.yml"><img src="https://github.com/thisisamirv/lowess-project/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
|
|
17
19
|
</p>
|
|
18
20
|
|
|
19
21
|
<p align="center">
|
|
@@ -32,7 +34,7 @@ The fastest, most robust, and most feature-complete language-agnostic LOWESS (Lo
|
|
|
32
34
|
> - **[`fastLowess`](https://crates.io/crates/fastLowess)** - Parallel CPU and GPU-accelerated Rust wrapper with ndarray integration
|
|
33
35
|
> - **[`R bindings`](https://thisisamirv.r-universe.dev/rfastlowess)** - extendr-based R binding
|
|
34
36
|
> - **[`Python bindings`](https://pypi.org/project/fastlowess/)** - PyO3-based Python binding
|
|
35
|
-
> - **[`Julia bindings`](https://juliahub.com/ui/Packages/General/
|
|
37
|
+
> - **[`Julia bindings`](https://juliahub.com/ui/Packages/General/FastLOWESS)** - Native Julia binding with C FFI
|
|
36
38
|
> - **[`JavaScript bindings`](https://www.npmjs.com/package/fastlowess)** - Node.js binding
|
|
37
39
|
> - **[`WebAssembly bindings`](https://www.npmjs.com/package/fastlowess-wasm)** - WASM binding
|
|
38
40
|
> - **[`C++ bindings`](https://github.com/thisisamirv/lowess-project/releases/latest)** - Native C++ binding with CMake integration
|
package/fastlowess_wasm.js
CHANGED
|
@@ -347,72 +347,72 @@ export function smooth(x, y, options) {
|
|
|
347
347
|
function __wbg_get_imports() {
|
|
348
348
|
const import0 = {
|
|
349
349
|
__proto__: null,
|
|
350
|
-
|
|
350
|
+
__wbg_Error_83742b46f01ce22d: function(arg0, arg1) {
|
|
351
351
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
352
352
|
return ret;
|
|
353
353
|
},
|
|
354
|
-
|
|
354
|
+
__wbg_Number_a5a435bd7bbec835: function(arg0) {
|
|
355
355
|
const ret = Number(arg0);
|
|
356
356
|
return ret;
|
|
357
357
|
},
|
|
358
|
-
|
|
358
|
+
__wbg___wbindgen_bigint_get_as_i64_447a76b5c6ef7bda: function(arg0, arg1) {
|
|
359
359
|
const v = arg1;
|
|
360
360
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
361
361
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
362
362
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
363
363
|
},
|
|
364
|
-
|
|
364
|
+
__wbg___wbindgen_boolean_get_c0f3f60bac5a78d1: function(arg0) {
|
|
365
365
|
const v = arg0;
|
|
366
366
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
367
367
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
368
368
|
},
|
|
369
|
-
|
|
369
|
+
__wbg___wbindgen_debug_string_5398f5bb970e0daa: function(arg0, arg1) {
|
|
370
370
|
const ret = debugString(arg1);
|
|
371
371
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
372
372
|
const len1 = WASM_VECTOR_LEN;
|
|
373
373
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
374
374
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
375
375
|
},
|
|
376
|
-
|
|
376
|
+
__wbg___wbindgen_in_41dbb8413020e076: function(arg0, arg1) {
|
|
377
377
|
const ret = arg0 in arg1;
|
|
378
378
|
return ret;
|
|
379
379
|
},
|
|
380
|
-
|
|
380
|
+
__wbg___wbindgen_is_bigint_e2141d4f045b7eda: function(arg0) {
|
|
381
381
|
const ret = typeof(arg0) === 'bigint';
|
|
382
382
|
return ret;
|
|
383
383
|
},
|
|
384
|
-
|
|
384
|
+
__wbg___wbindgen_is_function_3c846841762788c1: function(arg0) {
|
|
385
385
|
const ret = typeof(arg0) === 'function';
|
|
386
386
|
return ret;
|
|
387
387
|
},
|
|
388
|
-
|
|
388
|
+
__wbg___wbindgen_is_null_0b605fc6b167c56f: function(arg0) {
|
|
389
389
|
const ret = arg0 === null;
|
|
390
390
|
return ret;
|
|
391
391
|
},
|
|
392
|
-
|
|
392
|
+
__wbg___wbindgen_is_object_781bc9f159099513: function(arg0) {
|
|
393
393
|
const val = arg0;
|
|
394
394
|
const ret = typeof(val) === 'object' && val !== null;
|
|
395
395
|
return ret;
|
|
396
396
|
},
|
|
397
|
-
|
|
397
|
+
__wbg___wbindgen_is_undefined_52709e72fb9f179c: function(arg0) {
|
|
398
398
|
const ret = arg0 === undefined;
|
|
399
399
|
return ret;
|
|
400
400
|
},
|
|
401
|
-
|
|
401
|
+
__wbg___wbindgen_jsval_eq_ee31bfad3e536463: function(arg0, arg1) {
|
|
402
402
|
const ret = arg0 === arg1;
|
|
403
403
|
return ret;
|
|
404
404
|
},
|
|
405
|
-
|
|
405
|
+
__wbg___wbindgen_jsval_loose_eq_5bcc3bed3c69e72b: function(arg0, arg1) {
|
|
406
406
|
const ret = arg0 == arg1;
|
|
407
407
|
return ret;
|
|
408
408
|
},
|
|
409
|
-
|
|
409
|
+
__wbg___wbindgen_number_get_34bb9d9dcfa21373: function(arg0, arg1) {
|
|
410
410
|
const obj = arg1;
|
|
411
411
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
412
412
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
413
413
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
414
414
|
},
|
|
415
|
-
|
|
415
|
+
__wbg___wbindgen_string_get_395e606bd0ee4427: function(arg0, arg1) {
|
|
416
416
|
const obj = arg1;
|
|
417
417
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
418
418
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -420,18 +420,18 @@ function __wbg_get_imports() {
|
|
|
420
420
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
421
421
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
422
422
|
},
|
|
423
|
-
|
|
423
|
+
__wbg___wbindgen_throw_6ddd609b62940d55: function(arg0, arg1) {
|
|
424
424
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
425
425
|
},
|
|
426
|
-
|
|
426
|
+
__wbg_call_e133b57c9155d22c: function() { return handleError(function (arg0, arg1) {
|
|
427
427
|
const ret = arg0.call(arg1);
|
|
428
428
|
return ret;
|
|
429
429
|
}, arguments); },
|
|
430
|
-
|
|
430
|
+
__wbg_done_08ce71ee07e3bd17: function(arg0) {
|
|
431
431
|
const ret = arg0.done;
|
|
432
432
|
return ret;
|
|
433
433
|
},
|
|
434
|
-
|
|
434
|
+
__wbg_error_a6fa202b58aa1cd3: function(arg0, arg1) {
|
|
435
435
|
let deferred0_0;
|
|
436
436
|
let deferred0_1;
|
|
437
437
|
try {
|
|
@@ -442,19 +442,19 @@ function __wbg_get_imports() {
|
|
|
442
442
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
443
443
|
}
|
|
444
444
|
},
|
|
445
|
-
|
|
446
|
-
const ret = arg0[arg1 >>> 0];
|
|
447
|
-
return ret;
|
|
448
|
-
},
|
|
449
|
-
__wbg_get_b3ed3ad4be2bc8ac: function() { return handleError(function (arg0, arg1) {
|
|
445
|
+
__wbg_get_326e41e095fb2575: function() { return handleError(function (arg0, arg1) {
|
|
450
446
|
const ret = Reflect.get(arg0, arg1);
|
|
451
447
|
return ret;
|
|
452
448
|
}, arguments); },
|
|
453
|
-
|
|
449
|
+
__wbg_get_unchecked_329cfe50afab7352: function(arg0, arg1) {
|
|
450
|
+
const ret = arg0[arg1 >>> 0];
|
|
451
|
+
return ret;
|
|
452
|
+
},
|
|
453
|
+
__wbg_get_with_ref_key_6412cf3094599694: function(arg0, arg1) {
|
|
454
454
|
const ret = arg0[arg1];
|
|
455
455
|
return ret;
|
|
456
456
|
},
|
|
457
|
-
|
|
457
|
+
__wbg_instanceof_ArrayBuffer_101e2bf31071a9f6: function(arg0) {
|
|
458
458
|
let result;
|
|
459
459
|
try {
|
|
460
460
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -464,7 +464,7 @@ function __wbg_get_imports() {
|
|
|
464
464
|
const ret = result;
|
|
465
465
|
return ret;
|
|
466
466
|
},
|
|
467
|
-
|
|
467
|
+
__wbg_instanceof_Uint8Array_740438561a5b956d: function(arg0) {
|
|
468
468
|
let result;
|
|
469
469
|
try {
|
|
470
470
|
result = arg0 instanceof Uint8Array;
|
|
@@ -474,60 +474,60 @@ function __wbg_get_imports() {
|
|
|
474
474
|
const ret = result;
|
|
475
475
|
return ret;
|
|
476
476
|
},
|
|
477
|
-
|
|
477
|
+
__wbg_isArray_33b91feb269ff46e: function(arg0) {
|
|
478
478
|
const ret = Array.isArray(arg0);
|
|
479
479
|
return ret;
|
|
480
480
|
},
|
|
481
|
-
|
|
481
|
+
__wbg_isSafeInteger_ecd6a7f9c3e053cd: function(arg0) {
|
|
482
482
|
const ret = Number.isSafeInteger(arg0);
|
|
483
483
|
return ret;
|
|
484
484
|
},
|
|
485
|
-
|
|
485
|
+
__wbg_iterator_d8f549ec8fb061b1: function() {
|
|
486
486
|
const ret = Symbol.iterator;
|
|
487
487
|
return ret;
|
|
488
488
|
},
|
|
489
|
-
|
|
489
|
+
__wbg_length_550d8a396009cd38: function(arg0) {
|
|
490
490
|
const ret = arg0.length;
|
|
491
491
|
return ret;
|
|
492
492
|
},
|
|
493
|
-
|
|
493
|
+
__wbg_length_b3416cf66a5452c8: function(arg0) {
|
|
494
494
|
const ret = arg0.length;
|
|
495
495
|
return ret;
|
|
496
496
|
},
|
|
497
|
-
|
|
497
|
+
__wbg_length_ea16607d7b61445b: function(arg0) {
|
|
498
498
|
const ret = arg0.length;
|
|
499
499
|
return ret;
|
|
500
500
|
},
|
|
501
|
-
|
|
501
|
+
__wbg_new_227d7c05414eb861: function() {
|
|
502
502
|
const ret = new Error();
|
|
503
503
|
return ret;
|
|
504
504
|
},
|
|
505
|
-
|
|
505
|
+
__wbg_new_5f486cdf45a04d78: function(arg0) {
|
|
506
506
|
const ret = new Uint8Array(arg0);
|
|
507
507
|
return ret;
|
|
508
508
|
},
|
|
509
|
-
|
|
509
|
+
__wbg_next_11b99ee6237339e3: function() { return handleError(function (arg0) {
|
|
510
510
|
const ret = arg0.next();
|
|
511
511
|
return ret;
|
|
512
512
|
}, arguments); },
|
|
513
|
-
|
|
513
|
+
__wbg_next_e01a967809d1aa68: function(arg0) {
|
|
514
514
|
const ret = arg0.next;
|
|
515
515
|
return ret;
|
|
516
516
|
},
|
|
517
|
-
|
|
517
|
+
__wbg_prototypesetcall_79daf97fb14c7a19: function(arg0, arg1, arg2) {
|
|
518
518
|
Float64Array.prototype.set.call(getArrayF64FromWasm0(arg0, arg1), arg2);
|
|
519
519
|
},
|
|
520
|
-
|
|
520
|
+
__wbg_prototypesetcall_d62e5099504357e6: function(arg0, arg1, arg2) {
|
|
521
521
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
522
522
|
},
|
|
523
|
-
|
|
523
|
+
__wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
|
|
524
524
|
const ret = arg1.stack;
|
|
525
525
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
526
526
|
const len1 = WASM_VECTOR_LEN;
|
|
527
527
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
528
528
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
529
529
|
},
|
|
530
|
-
|
|
530
|
+
__wbg_value_21fc78aab0322612: function(arg0) {
|
|
531
531
|
const ret = arg0.value;
|
|
532
532
|
return ret;
|
|
533
533
|
},
|
package/fastlowess_wasm_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED