@mojir/lits 2.1.25 → 2.1.27

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.
@@ -11350,8 +11350,10 @@ function randn() {
11350
11350
 
11351
11351
  function generateDocString(reference) {
11352
11352
  return smartTrim("\n ".concat(reference.title).concat(getAliases(reference), "\n\n ").concat(reference.description
11353
- .replace(/`(.*?)`/g, '$1')
11354
- .replace(/\$(\w+)/g, '$1'), "\n\n Signature:\n ").concat(signature(reference).join('\n '), "\n\n Arguments:\n ").concat(argStrings(reference).join('\n '), "\n \n Examples:\n").concat(reference.examples.map(function (example) { return smartTrim(example, 4); }).join('\n\n')));
11353
+ .replace(/`(.+?)`/g, '$1')
11354
+ .replace(/\$(\w+)/g, '$1')
11355
+ .replace(/\*\*\*(.+)\*\*\*/g, '$1')
11356
+ .replace(/\*\*(.+)\*\*/g, '$1'), "\n\n Signature:\n ").concat(signature(reference).join('\n '), "\n\n Arguments:\n ").concat(argStrings(reference).join('\n '), "\n \n Examples:\n").concat(reference.examples.map(function (example) { return smartTrim(example, 4); }).join('\n\n')));
11355
11357
  }
11356
11358
  function signature(_a) {
11357
11359
  var title = _a.title, variants = _a.variants, args = _a.args, returns = _a.returns, _isOperator = _a._isOperator;
@@ -27478,7 +27480,7 @@ var meanReference = {
27478
27480
  'vec:moving-mean': {
27479
27481
  title: 'vec:moving-mean',
27480
27482
  category: 'Vector',
27481
- description: 'Returns the **moving mean` of the `vector** with a given window size.',
27483
+ description: 'Returns the **moving mean** of the `vector` with a given window size.',
27482
27484
  returns: {
27483
27485
  type: 'vector',
27484
27486
  },
@@ -27500,7 +27502,7 @@ var meanReference = {
27500
27502
  'vec:centered-moving-mean': {
27501
27503
  title: 'vec:centered-moving-mean',
27502
27504
  category: 'Vector',
27503
- description: 'Returns the **centered moving mean` of the `vector** with a given window size.',
27505
+ description: 'Returns the **centered moving mean** of the `vector` with a given window size.',
27504
27506
  returns: {
27505
27507
  type: 'array',
27506
27508
  },
@@ -27531,7 +27533,7 @@ var meanReference = {
27531
27533
  'vec:running-mean': {
27532
27534
  title: 'vec:running-mean',
27533
27535
  category: 'Vector',
27534
- description: 'Returns the **running mean` of the `vector**.',
27536
+ description: 'Returns the **running mean** of the `vector`.',
27535
27537
  returns: {
27536
27538
  type: 'vector',
27537
27539
  },
@@ -27574,7 +27576,7 @@ var geometricMeanReference = {
27574
27576
  'vec:moving-geometric-mean': {
27575
27577
  title: 'vec:moving-geometric-mean',
27576
27578
  category: 'Vector',
27577
- description: 'Returns the **moving geometric mean` of the `vector** with a given window size.',
27579
+ description: 'Returns the **moving geometric mean** of the `vector` with a given window size.',
27578
27580
  returns: {
27579
27581
  type: 'vector',
27580
27582
  },
@@ -27596,7 +27598,7 @@ var geometricMeanReference = {
27596
27598
  'vec:centered-moving-geometric-mean': {
27597
27599
  title: 'vec:centered-moving-geometric-mean',
27598
27600
  category: 'Vector',
27599
- description: 'Returns the **centered moving geometric mean` of the `vector** with a given window size.',
27601
+ description: 'Returns the **centered moving geometric mean** of the `vector` with a given window size.',
27600
27602
  returns: {
27601
27603
  type: 'array',
27602
27604
  },
@@ -27627,7 +27629,7 @@ var geometricMeanReference = {
27627
27629
  'vec:running-geometric-mean': {
27628
27630
  title: 'vec:running-geometric-mean',
27629
27631
  category: 'Vector',
27630
- description: 'Returns the **running geometric mean` of the `vector**.',
27632
+ description: 'Returns the **running geometric mean** of the `vector`.',
27631
27633
  returns: {
27632
27634
  type: 'vector',
27633
27635
  },
@@ -27670,7 +27672,7 @@ var harmonicMeanReference = {
27670
27672
  'vec:moving-harmonic-mean': {
27671
27673
  title: 'vec:moving-harmonic-mean',
27672
27674
  category: 'Vector',
27673
- description: 'Returns the **moving harmonic mean` of the `vector** with a given window size.',
27675
+ description: 'Returns the **moving harmonic mean** of the `vector` with a given window size.',
27674
27676
  returns: {
27675
27677
  type: 'vector',
27676
27678
  },
@@ -27692,7 +27694,7 @@ var harmonicMeanReference = {
27692
27694
  'vec:centered-moving-harmonic-mean': {
27693
27695
  title: 'vec:centered-moving-harmonic-mean',
27694
27696
  category: 'Vector',
27695
- description: 'Returns the **centered moving harmonic mean` of the `vector** with a given window size.',
27697
+ description: 'Returns the **centered moving harmonic mean** of the `vector` with a given window size.',
27696
27698
  returns: {
27697
27699
  type: 'array',
27698
27700
  },
@@ -27723,7 +27725,7 @@ var harmonicMeanReference = {
27723
27725
  'vec:running-harmonic-mean': {
27724
27726
  title: 'vec:running-harmonic-mean',
27725
27727
  category: 'Vector',
27726
- description: 'Returns the **running harmonic mean` of the `vector**.',
27728
+ description: 'Returns the **running harmonic mean** of the `vector`.',
27727
27729
  returns: {
27728
27730
  type: 'vector',
27729
27731
  },
@@ -27767,7 +27769,7 @@ var medianReference = {
27767
27769
  'vec:moving-median': {
27768
27770
  title: 'vec:moving-median',
27769
27771
  category: 'Vector',
27770
- description: 'Returns the **moving median` of the `vector** with a given window size.',
27772
+ description: 'Returns the **moving median** of the `vector` with a given window size.',
27771
27773
  returns: {
27772
27774
  type: 'vector',
27773
27775
  },
@@ -27789,7 +27791,7 @@ var medianReference = {
27789
27791
  'vec:centered-moving-median': {
27790
27792
  title: 'vec:centered-moving-median',
27791
27793
  category: 'Vector',
27792
- description: 'Returns the **centered moving median` of the `vector** with a given window size.',
27794
+ description: 'Returns the **centered moving median** of the `vector` with a given window size.',
27793
27795
  returns: {
27794
27796
  type: 'array',
27795
27797
  },
@@ -27820,7 +27822,7 @@ var medianReference = {
27820
27822
  'vec:running-median': {
27821
27823
  title: 'vec:running-median',
27822
27824
  category: 'Vector',
27823
- description: 'Returns the **running median` of the `vector**.',
27825
+ description: 'Returns the **running median** of the `vector`.',
27824
27826
  returns: {
27825
27827
  type: 'vector',
27826
27828
  },
@@ -27864,7 +27866,7 @@ var varianceReference = {
27864
27866
  'vec:moving-variance': {
27865
27867
  title: 'vec:moving-variance',
27866
27868
  category: 'Vector',
27867
- description: 'Returns the **moving variance` of the `vector** with a given window size.',
27869
+ description: 'Returns the **moving variance** of the `vector` with a given window size.',
27868
27870
  returns: {
27869
27871
  type: 'vector',
27870
27872
  },
@@ -27886,7 +27888,7 @@ var varianceReference = {
27886
27888
  'vec:centered-moving-variance': {
27887
27889
  title: 'vec:centered-moving-variance',
27888
27890
  category: 'Vector',
27889
- description: 'Returns the **centered moving variance` of the `vector** with a given window size.',
27891
+ description: 'Returns the **centered moving variance** of the `vector` with a given window size.',
27890
27892
  returns: {
27891
27893
  type: 'array',
27892
27894
  },
@@ -27919,7 +27921,7 @@ var varianceReference = {
27919
27921
  'vec:running-variance': {
27920
27922
  title: 'vec:running-variance',
27921
27923
  category: 'Vector',
27922
- description: 'Returns the **running variance` of the `vector**.',
27924
+ description: 'Returns the **running variance** of the `vector`.',
27923
27925
  returns: {
27924
27926
  type: 'vector',
27925
27927
  },
@@ -27962,7 +27964,7 @@ var sampleVarianceReference = {
27962
27964
  'vec:moving-sample-variance': {
27963
27965
  title: 'vec:moving-sample-variance',
27964
27966
  category: 'Vector',
27965
- description: 'Returns the **moving sample variance` of the `vector** with a given window size.',
27967
+ description: 'Returns the **moving sample variance** of the `vector` with a given window size.',
27966
27968
  returns: {
27967
27969
  type: 'vector',
27968
27970
  },
@@ -27984,7 +27986,7 @@ var sampleVarianceReference = {
27984
27986
  'vec:centered-moving-sample-variance': {
27985
27987
  title: 'vec:centered-moving-sample-variance',
27986
27988
  category: 'Vector',
27987
- description: 'Returns the **centered moving sample variance` of the `vector** with a given window size.',
27989
+ description: 'Returns the **centered moving sample variance** of the `vector` with a given window size.',
27988
27990
  returns: {
27989
27991
  type: 'array',
27990
27992
  },
@@ -28017,14 +28019,14 @@ var sampleVarianceReference = {
28017
28019
  'vec:running-sample-variance': {
28018
28020
  title: 'vec:running-sample-variance',
28019
28021
  category: 'Vector',
28020
- description: 'Returns the **running sample variance` of the `vector**.',
28022
+ description: 'Returns the **running sample variance** of the `vector`.',
28021
28023
  returns: {
28022
28024
  type: 'array',
28023
28025
  },
28024
28026
  args: {
28025
28027
  vector: {
28026
28028
  type: 'vector',
28027
- description: 'The `vector` to calculate the **running sample variance` of. First element in result is `null` since `sample variance** is not defined for a single element.',
28029
+ description: 'The `vector` to calculate the **running sample variance** of. First element in result is `null` since **sample variance** is not defined for a single element.',
28028
28030
  },
28029
28031
  },
28030
28032
  variants: [
@@ -28040,7 +28042,7 @@ var standardDeviationReference = {
28040
28042
  'vec:stdev': {
28041
28043
  title: 'vec:stdev',
28042
28044
  category: 'Vector',
28043
- description: 'Returns the **standard deviation` of the `vector**.',
28045
+ description: 'Returns the **standard deviation** of the `vector`.',
28044
28046
  returns: {
28045
28047
  type: 'number',
28046
28048
  },
@@ -28061,7 +28063,7 @@ var standardDeviationReference = {
28061
28063
  'vec:moving-stdev': {
28062
28064
  title: 'vec:moving-stdev',
28063
28065
  category: 'Vector',
28064
- description: 'Returns the **moving standard deviation` of the `vector** with a given window size.',
28066
+ description: 'Returns the **moving standard deviation** of the `vector` with a given window size.',
28065
28067
  returns: {
28066
28068
  type: 'vector',
28067
28069
  },
@@ -28083,7 +28085,7 @@ var standardDeviationReference = {
28083
28085
  'vec:centered-moving-stdev': {
28084
28086
  title: 'vec:centered-moving-stdev',
28085
28087
  category: 'Vector',
28086
- description: 'Returns the **centered moving standard deviation` of the `vector** with a given window size.',
28088
+ description: 'Returns the **centered moving standard deviation** of the `vector` with a given window size.',
28087
28089
  returns: {
28088
28090
  type: 'array',
28089
28091
  },
@@ -28116,7 +28118,7 @@ var standardDeviationReference = {
28116
28118
  'vec:running-stdev': {
28117
28119
  title: 'vec:running-stdev',
28118
28120
  category: 'Vector',
28119
- description: 'Returns the **running standard deviation` of the `vector**.',
28121
+ description: 'Returns the **running standard deviation** of the `vector`.',
28120
28122
  returns: {
28121
28123
  type: 'vector',
28122
28124
  },
@@ -28138,7 +28140,7 @@ var sampleStandardDeviationReference = {
28138
28140
  'vec:sample-stdev': {
28139
28141
  title: 'vec:sample-stdev',
28140
28142
  category: 'Vector',
28141
- description: 'Returns the **sample standard deviation` of the `vector**.',
28143
+ description: 'Returns the **sample standard deviation** of the `vector`.',
28142
28144
  returns: {
28143
28145
  type: 'number',
28144
28146
  },
@@ -28159,7 +28161,7 @@ var sampleStandardDeviationReference = {
28159
28161
  'vec:moving-sample-stdev': {
28160
28162
  title: 'vec:moving-sample-stdev',
28161
28163
  category: 'Vector',
28162
- description: 'Returns the **moving sample standard deviation` of the `vector** with a given window size.',
28164
+ description: 'Returns the **moving sample standard deviation** of the `vector` with a given window size.',
28163
28165
  returns: {
28164
28166
  type: 'vector',
28165
28167
  },
@@ -28181,7 +28183,7 @@ var sampleStandardDeviationReference = {
28181
28183
  'vec:centered-moving-sample-stdev': {
28182
28184
  title: 'vec:centered-moving-sample-stdev',
28183
28185
  category: 'Vector',
28184
- description: 'Returns the **centered moving sample standard deviation` of the `vector** with a given window size.',
28186
+ description: 'Returns the **centered moving sample standard deviation** of the `vector` with a given window size.',
28185
28187
  returns: {
28186
28188
  type: 'array',
28187
28189
  },
@@ -28214,14 +28216,14 @@ var sampleStandardDeviationReference = {
28214
28216
  'vec:running-sample-stdev': {
28215
28217
  title: 'vec:running-sample-stdev',
28216
28218
  category: 'Vector',
28217
- description: 'Returns the **running sample standard deviation` of the `vector**.',
28219
+ description: 'Returns the **running sample standard deviation** of the `vector`.',
28218
28220
  returns: {
28219
28221
  type: 'array',
28220
28222
  },
28221
28223
  args: {
28222
28224
  vector: {
28223
28225
  type: 'vector',
28224
- description: 'The `vector` to calculate the **running sample standard deviation` of. First element in result is `null` since `sample standard deviation** is not defined for a single element.',
28226
+ description: 'The `vector` to calculate the **running sample standard deviation** of. First element in result is `null` since **sample standard deviation** is not defined for a single element.',
28225
28227
  },
28226
28228
  },
28227
28229
  variants: [
@@ -28550,7 +28552,7 @@ var sumReference = {
28550
28552
  'vec:moving-sum': {
28551
28553
  title: 'vec:moving-sum',
28552
28554
  category: 'Vector',
28553
- description: 'Returns the **moving sum` of the `vector** with a given window size.',
28555
+ description: 'Returns the **moving sum** of the `vector` with a given window size.',
28554
28556
  returns: {
28555
28557
  type: 'vector',
28556
28558
  },
@@ -28572,7 +28574,7 @@ var sumReference = {
28572
28574
  'vec:centered-moving-sum': {
28573
28575
  title: 'vec:centered-moving-sum',
28574
28576
  category: 'Vector',
28575
- description: 'Returns the **centered moving sum` of the `vector** with a given window size.',
28577
+ description: 'Returns the **centered moving sum** of the `vector` with a given window size.',
28576
28578
  returns: {
28577
28579
  type: 'array',
28578
28580
  },
@@ -28603,7 +28605,7 @@ var sumReference = {
28603
28605
  'vec:running-sum': {
28604
28606
  title: 'vec:running-sum',
28605
28607
  category: 'Vector',
28606
- description: 'Returns the **running sum` of the `vector**.',
28608
+ description: 'Returns the **running sum** of the `vector`.',
28607
28609
  returns: {
28608
28610
  type: 'vector',
28609
28611
  },
@@ -28648,7 +28650,7 @@ var prodReference = {
28648
28650
  'vec:moving-prod': {
28649
28651
  title: 'vec:moving-prod',
28650
28652
  category: 'Vector',
28651
- description: 'Returns the **moving product` of the `vector** with a given window size.',
28653
+ description: 'Returns the **moving product** of the `vector` with a given window size.',
28652
28654
  returns: {
28653
28655
  type: 'vector',
28654
28656
  },
@@ -28670,7 +28672,7 @@ var prodReference = {
28670
28672
  'vec:centered-moving-prod': {
28671
28673
  title: 'vec:centered-moving-prod',
28672
28674
  category: 'Vector',
28673
- description: 'Returns the **centered moving product` of the `vector** with a given window size.',
28675
+ description: 'Returns the **centered moving product** of the `vector` with a given window size.',
28674
28676
  returns: {
28675
28677
  type: 'array',
28676
28678
  },
@@ -28700,7 +28702,7 @@ var prodReference = {
28700
28702
  'vec:running-prod': {
28701
28703
  title: 'vec:running-prod',
28702
28704
  category: 'Vector',
28703
- description: 'Returns the **running product` of the `vector**.',
28705
+ description: 'Returns the **running product** of the `vector`.',
28704
28706
  returns: {
28705
28707
  type: 'vector',
28706
28708
  },
@@ -28745,7 +28747,7 @@ var minReference = {
28745
28747
  'vec:moving-min': {
28746
28748
  title: 'vec:moving-min',
28747
28749
  category: 'Vector',
28748
- description: 'Returns the **moving minimum` of the `vector** with a given window size.',
28750
+ description: 'Returns the **moving minimum** of the `vector` with a given window size.',
28749
28751
  returns: {
28750
28752
  type: 'vector',
28751
28753
  },
@@ -28767,7 +28769,7 @@ var minReference = {
28767
28769
  'vec:centered-moving-min': {
28768
28770
  title: 'vec:centered-moving-min',
28769
28771
  category: 'Vector',
28770
- description: 'Returns the **centered moving minimum` of the `vector** with a given window size.',
28772
+ description: 'Returns the **centered moving minimum** of the `vector` with a given window size.',
28771
28773
  returns: {
28772
28774
  type: 'array',
28773
28775
  },
@@ -28798,7 +28800,7 @@ var minReference = {
28798
28800
  'vec:running-min': {
28799
28801
  title: 'vec:running-min',
28800
28802
  category: 'Vector',
28801
- description: 'Returns the **running minimum` of the `vector**.',
28803
+ description: 'Returns the **running minimum** of the `vector`.',
28802
28804
  returns: {
28803
28805
  type: 'vector',
28804
28806
  },
@@ -28843,7 +28845,7 @@ var maxReference = {
28843
28845
  'vec:moving-max': {
28844
28846
  title: 'vec:moving-max',
28845
28847
  category: 'Vector',
28846
- description: 'Returns the **moving maximum` of the `vector** with a given window size.',
28848
+ description: 'Returns the **moving maximum** of the `vector` with a given window size.',
28847
28849
  returns: {
28848
28850
  type: 'vector',
28849
28851
  },
@@ -28865,7 +28867,7 @@ var maxReference = {
28865
28867
  'vec:centered-moving-max': {
28866
28868
  title: 'vec:centered-moving-max',
28867
28869
  category: 'Vector',
28868
- description: 'Returns the **centered moving maximum` of the `vector** with a given window size.',
28870
+ description: 'Returns the **centered moving maximum** of the `vector` with a given window size.',
28869
28871
  returns: {
28870
28872
  type: 'array',
28871
28873
  },
@@ -28896,7 +28898,7 @@ var maxReference = {
28896
28898
  'vec:running-max': {
28897
28899
  title: 'vec:running-max',
28898
28900
  category: 'Vector',
28899
- description: 'Returns the **running maximum` of the `vector**.',
28901
+ description: 'Returns the **running maximum** of the `vector`.',
28900
28902
  returns: {
28901
28903
  type: 'vector',
28902
28904
  },