@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.
package/dist/index.esm.js CHANGED
@@ -11226,8 +11226,10 @@ function randn() {
11226
11226
 
11227
11227
  function generateDocString(reference) {
11228
11228
  return smartTrim("\n ".concat(reference.title).concat(getAliases(reference), "\n\n ").concat(reference.description
11229
- .replace(/`(.*?)`/g, '$1')
11230
- .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')));
11229
+ .replace(/`(.+?)`/g, '$1')
11230
+ .replace(/\$(\w+)/g, '$1')
11231
+ .replace(/\*\*\*(.+)\*\*\*/g, '$1')
11232
+ .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')));
11231
11233
  }
11232
11234
  function signature(_a) {
11233
11235
  var title = _a.title, variants = _a.variants, args = _a.args, returns = _a.returns, _isOperator = _a._isOperator;
@@ -27533,7 +27535,7 @@ var meanReference = {
27533
27535
  'vec:moving-mean': {
27534
27536
  title: 'vec:moving-mean',
27535
27537
  category: 'Vector',
27536
- description: 'Returns the **moving mean` of the `vector** with a given window size.',
27538
+ description: 'Returns the **moving mean** of the `vector` with a given window size.',
27537
27539
  returns: {
27538
27540
  type: 'vector',
27539
27541
  },
@@ -27555,7 +27557,7 @@ var meanReference = {
27555
27557
  'vec:centered-moving-mean': {
27556
27558
  title: 'vec:centered-moving-mean',
27557
27559
  category: 'Vector',
27558
- description: 'Returns the **centered moving mean` of the `vector** with a given window size.',
27560
+ description: 'Returns the **centered moving mean** of the `vector` with a given window size.',
27559
27561
  returns: {
27560
27562
  type: 'array',
27561
27563
  },
@@ -27586,7 +27588,7 @@ var meanReference = {
27586
27588
  'vec:running-mean': {
27587
27589
  title: 'vec:running-mean',
27588
27590
  category: 'Vector',
27589
- description: 'Returns the **running mean` of the `vector**.',
27591
+ description: 'Returns the **running mean** of the `vector`.',
27590
27592
  returns: {
27591
27593
  type: 'vector',
27592
27594
  },
@@ -27629,7 +27631,7 @@ var geometricMeanReference = {
27629
27631
  'vec:moving-geometric-mean': {
27630
27632
  title: 'vec:moving-geometric-mean',
27631
27633
  category: 'Vector',
27632
- description: 'Returns the **moving geometric mean` of the `vector** with a given window size.',
27634
+ description: 'Returns the **moving geometric mean** of the `vector` with a given window size.',
27633
27635
  returns: {
27634
27636
  type: 'vector',
27635
27637
  },
@@ -27651,7 +27653,7 @@ var geometricMeanReference = {
27651
27653
  'vec:centered-moving-geometric-mean': {
27652
27654
  title: 'vec:centered-moving-geometric-mean',
27653
27655
  category: 'Vector',
27654
- description: 'Returns the **centered moving geometric mean` of the `vector** with a given window size.',
27656
+ description: 'Returns the **centered moving geometric mean** of the `vector` with a given window size.',
27655
27657
  returns: {
27656
27658
  type: 'array',
27657
27659
  },
@@ -27682,7 +27684,7 @@ var geometricMeanReference = {
27682
27684
  'vec:running-geometric-mean': {
27683
27685
  title: 'vec:running-geometric-mean',
27684
27686
  category: 'Vector',
27685
- description: 'Returns the **running geometric mean` of the `vector**.',
27687
+ description: 'Returns the **running geometric mean** of the `vector`.',
27686
27688
  returns: {
27687
27689
  type: 'vector',
27688
27690
  },
@@ -27725,7 +27727,7 @@ var harmonicMeanReference = {
27725
27727
  'vec:moving-harmonic-mean': {
27726
27728
  title: 'vec:moving-harmonic-mean',
27727
27729
  category: 'Vector',
27728
- description: 'Returns the **moving harmonic mean` of the `vector** with a given window size.',
27730
+ description: 'Returns the **moving harmonic mean** of the `vector` with a given window size.',
27729
27731
  returns: {
27730
27732
  type: 'vector',
27731
27733
  },
@@ -27747,7 +27749,7 @@ var harmonicMeanReference = {
27747
27749
  'vec:centered-moving-harmonic-mean': {
27748
27750
  title: 'vec:centered-moving-harmonic-mean',
27749
27751
  category: 'Vector',
27750
- description: 'Returns the **centered moving harmonic mean` of the `vector** with a given window size.',
27752
+ description: 'Returns the **centered moving harmonic mean** of the `vector` with a given window size.',
27751
27753
  returns: {
27752
27754
  type: 'array',
27753
27755
  },
@@ -27778,7 +27780,7 @@ var harmonicMeanReference = {
27778
27780
  'vec:running-harmonic-mean': {
27779
27781
  title: 'vec:running-harmonic-mean',
27780
27782
  category: 'Vector',
27781
- description: 'Returns the **running harmonic mean` of the `vector**.',
27783
+ description: 'Returns the **running harmonic mean** of the `vector`.',
27782
27784
  returns: {
27783
27785
  type: 'vector',
27784
27786
  },
@@ -27822,7 +27824,7 @@ var medianReference = {
27822
27824
  'vec:moving-median': {
27823
27825
  title: 'vec:moving-median',
27824
27826
  category: 'Vector',
27825
- description: 'Returns the **moving median` of the `vector** with a given window size.',
27827
+ description: 'Returns the **moving median** of the `vector` with a given window size.',
27826
27828
  returns: {
27827
27829
  type: 'vector',
27828
27830
  },
@@ -27844,7 +27846,7 @@ var medianReference = {
27844
27846
  'vec:centered-moving-median': {
27845
27847
  title: 'vec:centered-moving-median',
27846
27848
  category: 'Vector',
27847
- description: 'Returns the **centered moving median` of the `vector** with a given window size.',
27849
+ description: 'Returns the **centered moving median** of the `vector` with a given window size.',
27848
27850
  returns: {
27849
27851
  type: 'array',
27850
27852
  },
@@ -27875,7 +27877,7 @@ var medianReference = {
27875
27877
  'vec:running-median': {
27876
27878
  title: 'vec:running-median',
27877
27879
  category: 'Vector',
27878
- description: 'Returns the **running median` of the `vector**.',
27880
+ description: 'Returns the **running median** of the `vector`.',
27879
27881
  returns: {
27880
27882
  type: 'vector',
27881
27883
  },
@@ -27919,7 +27921,7 @@ var varianceReference = {
27919
27921
  'vec:moving-variance': {
27920
27922
  title: 'vec:moving-variance',
27921
27923
  category: 'Vector',
27922
- description: 'Returns the **moving variance` of the `vector** with a given window size.',
27924
+ description: 'Returns the **moving variance** of the `vector` with a given window size.',
27923
27925
  returns: {
27924
27926
  type: 'vector',
27925
27927
  },
@@ -27941,7 +27943,7 @@ var varianceReference = {
27941
27943
  'vec:centered-moving-variance': {
27942
27944
  title: 'vec:centered-moving-variance',
27943
27945
  category: 'Vector',
27944
- description: 'Returns the **centered moving variance` of the `vector** with a given window size.',
27946
+ description: 'Returns the **centered moving variance** of the `vector` with a given window size.',
27945
27947
  returns: {
27946
27948
  type: 'array',
27947
27949
  },
@@ -27974,7 +27976,7 @@ var varianceReference = {
27974
27976
  'vec:running-variance': {
27975
27977
  title: 'vec:running-variance',
27976
27978
  category: 'Vector',
27977
- description: 'Returns the **running variance` of the `vector**.',
27979
+ description: 'Returns the **running variance** of the `vector`.',
27978
27980
  returns: {
27979
27981
  type: 'vector',
27980
27982
  },
@@ -28017,7 +28019,7 @@ var sampleVarianceReference = {
28017
28019
  'vec:moving-sample-variance': {
28018
28020
  title: 'vec:moving-sample-variance',
28019
28021
  category: 'Vector',
28020
- description: 'Returns the **moving sample variance` of the `vector** with a given window size.',
28022
+ description: 'Returns the **moving sample variance** of the `vector` with a given window size.',
28021
28023
  returns: {
28022
28024
  type: 'vector',
28023
28025
  },
@@ -28039,7 +28041,7 @@ var sampleVarianceReference = {
28039
28041
  'vec:centered-moving-sample-variance': {
28040
28042
  title: 'vec:centered-moving-sample-variance',
28041
28043
  category: 'Vector',
28042
- description: 'Returns the **centered moving sample variance` of the `vector** with a given window size.',
28044
+ description: 'Returns the **centered moving sample variance** of the `vector` with a given window size.',
28043
28045
  returns: {
28044
28046
  type: 'array',
28045
28047
  },
@@ -28072,14 +28074,14 @@ var sampleVarianceReference = {
28072
28074
  'vec:running-sample-variance': {
28073
28075
  title: 'vec:running-sample-variance',
28074
28076
  category: 'Vector',
28075
- description: 'Returns the **running sample variance` of the `vector**.',
28077
+ description: 'Returns the **running sample variance** of the `vector`.',
28076
28078
  returns: {
28077
28079
  type: 'array',
28078
28080
  },
28079
28081
  args: {
28080
28082
  vector: {
28081
28083
  type: 'vector',
28082
- 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.',
28084
+ 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.',
28083
28085
  },
28084
28086
  },
28085
28087
  variants: [
@@ -28095,7 +28097,7 @@ var standardDeviationReference = {
28095
28097
  'vec:stdev': {
28096
28098
  title: 'vec:stdev',
28097
28099
  category: 'Vector',
28098
- description: 'Returns the **standard deviation` of the `vector**.',
28100
+ description: 'Returns the **standard deviation** of the `vector`.',
28099
28101
  returns: {
28100
28102
  type: 'number',
28101
28103
  },
@@ -28116,7 +28118,7 @@ var standardDeviationReference = {
28116
28118
  'vec:moving-stdev': {
28117
28119
  title: 'vec:moving-stdev',
28118
28120
  category: 'Vector',
28119
- description: 'Returns the **moving standard deviation` of the `vector** with a given window size.',
28121
+ description: 'Returns the **moving standard deviation** of the `vector` with a given window size.',
28120
28122
  returns: {
28121
28123
  type: 'vector',
28122
28124
  },
@@ -28138,7 +28140,7 @@ var standardDeviationReference = {
28138
28140
  'vec:centered-moving-stdev': {
28139
28141
  title: 'vec:centered-moving-stdev',
28140
28142
  category: 'Vector',
28141
- description: 'Returns the **centered moving standard deviation` of the `vector** with a given window size.',
28143
+ description: 'Returns the **centered moving standard deviation** of the `vector` with a given window size.',
28142
28144
  returns: {
28143
28145
  type: 'array',
28144
28146
  },
@@ -28171,7 +28173,7 @@ var standardDeviationReference = {
28171
28173
  'vec:running-stdev': {
28172
28174
  title: 'vec:running-stdev',
28173
28175
  category: 'Vector',
28174
- description: 'Returns the **running standard deviation` of the `vector**.',
28176
+ description: 'Returns the **running standard deviation** of the `vector`.',
28175
28177
  returns: {
28176
28178
  type: 'vector',
28177
28179
  },
@@ -28193,7 +28195,7 @@ var sampleStandardDeviationReference = {
28193
28195
  'vec:sample-stdev': {
28194
28196
  title: 'vec:sample-stdev',
28195
28197
  category: 'Vector',
28196
- description: 'Returns the **sample standard deviation` of the `vector**.',
28198
+ description: 'Returns the **sample standard deviation** of the `vector`.',
28197
28199
  returns: {
28198
28200
  type: 'number',
28199
28201
  },
@@ -28214,7 +28216,7 @@ var sampleStandardDeviationReference = {
28214
28216
  'vec:moving-sample-stdev': {
28215
28217
  title: 'vec:moving-sample-stdev',
28216
28218
  category: 'Vector',
28217
- description: 'Returns the **moving sample standard deviation` of the `vector** with a given window size.',
28219
+ description: 'Returns the **moving sample standard deviation** of the `vector` with a given window size.',
28218
28220
  returns: {
28219
28221
  type: 'vector',
28220
28222
  },
@@ -28236,7 +28238,7 @@ var sampleStandardDeviationReference = {
28236
28238
  'vec:centered-moving-sample-stdev': {
28237
28239
  title: 'vec:centered-moving-sample-stdev',
28238
28240
  category: 'Vector',
28239
- description: 'Returns the **centered moving sample standard deviation` of the `vector** with a given window size.',
28241
+ description: 'Returns the **centered moving sample standard deviation** of the `vector` with a given window size.',
28240
28242
  returns: {
28241
28243
  type: 'array',
28242
28244
  },
@@ -28269,14 +28271,14 @@ var sampleStandardDeviationReference = {
28269
28271
  'vec:running-sample-stdev': {
28270
28272
  title: 'vec:running-sample-stdev',
28271
28273
  category: 'Vector',
28272
- description: 'Returns the **running sample standard deviation` of the `vector**.',
28274
+ description: 'Returns the **running sample standard deviation** of the `vector`.',
28273
28275
  returns: {
28274
28276
  type: 'array',
28275
28277
  },
28276
28278
  args: {
28277
28279
  vector: {
28278
28280
  type: 'vector',
28279
- 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.',
28281
+ 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.',
28280
28282
  },
28281
28283
  },
28282
28284
  variants: [
@@ -28605,7 +28607,7 @@ var sumReference = {
28605
28607
  'vec:moving-sum': {
28606
28608
  title: 'vec:moving-sum',
28607
28609
  category: 'Vector',
28608
- description: 'Returns the **moving sum` of the `vector** with a given window size.',
28610
+ description: 'Returns the **moving sum** of the `vector` with a given window size.',
28609
28611
  returns: {
28610
28612
  type: 'vector',
28611
28613
  },
@@ -28627,7 +28629,7 @@ var sumReference = {
28627
28629
  'vec:centered-moving-sum': {
28628
28630
  title: 'vec:centered-moving-sum',
28629
28631
  category: 'Vector',
28630
- description: 'Returns the **centered moving sum` of the `vector** with a given window size.',
28632
+ description: 'Returns the **centered moving sum** of the `vector` with a given window size.',
28631
28633
  returns: {
28632
28634
  type: 'array',
28633
28635
  },
@@ -28658,7 +28660,7 @@ var sumReference = {
28658
28660
  'vec:running-sum': {
28659
28661
  title: 'vec:running-sum',
28660
28662
  category: 'Vector',
28661
- description: 'Returns the **running sum` of the `vector**.',
28663
+ description: 'Returns the **running sum** of the `vector`.',
28662
28664
  returns: {
28663
28665
  type: 'vector',
28664
28666
  },
@@ -28703,7 +28705,7 @@ var prodReference = {
28703
28705
  'vec:moving-prod': {
28704
28706
  title: 'vec:moving-prod',
28705
28707
  category: 'Vector',
28706
- description: 'Returns the **moving product` of the `vector** with a given window size.',
28708
+ description: 'Returns the **moving product** of the `vector` with a given window size.',
28707
28709
  returns: {
28708
28710
  type: 'vector',
28709
28711
  },
@@ -28725,7 +28727,7 @@ var prodReference = {
28725
28727
  'vec:centered-moving-prod': {
28726
28728
  title: 'vec:centered-moving-prod',
28727
28729
  category: 'Vector',
28728
- description: 'Returns the **centered moving product` of the `vector** with a given window size.',
28730
+ description: 'Returns the **centered moving product** of the `vector` with a given window size.',
28729
28731
  returns: {
28730
28732
  type: 'array',
28731
28733
  },
@@ -28755,7 +28757,7 @@ var prodReference = {
28755
28757
  'vec:running-prod': {
28756
28758
  title: 'vec:running-prod',
28757
28759
  category: 'Vector',
28758
- description: 'Returns the **running product` of the `vector**.',
28760
+ description: 'Returns the **running product** of the `vector`.',
28759
28761
  returns: {
28760
28762
  type: 'vector',
28761
28763
  },
@@ -28800,7 +28802,7 @@ var minReference = {
28800
28802
  'vec:moving-min': {
28801
28803
  title: 'vec:moving-min',
28802
28804
  category: 'Vector',
28803
- description: 'Returns the **moving minimum` of the `vector** with a given window size.',
28805
+ description: 'Returns the **moving minimum** of the `vector` with a given window size.',
28804
28806
  returns: {
28805
28807
  type: 'vector',
28806
28808
  },
@@ -28822,7 +28824,7 @@ var minReference = {
28822
28824
  'vec:centered-moving-min': {
28823
28825
  title: 'vec:centered-moving-min',
28824
28826
  category: 'Vector',
28825
- description: 'Returns the **centered moving minimum` of the `vector** with a given window size.',
28827
+ description: 'Returns the **centered moving minimum** of the `vector` with a given window size.',
28826
28828
  returns: {
28827
28829
  type: 'array',
28828
28830
  },
@@ -28853,7 +28855,7 @@ var minReference = {
28853
28855
  'vec:running-min': {
28854
28856
  title: 'vec:running-min',
28855
28857
  category: 'Vector',
28856
- description: 'Returns the **running minimum` of the `vector**.',
28858
+ description: 'Returns the **running minimum** of the `vector`.',
28857
28859
  returns: {
28858
28860
  type: 'vector',
28859
28861
  },
@@ -28898,7 +28900,7 @@ var maxReference = {
28898
28900
  'vec:moving-max': {
28899
28901
  title: 'vec:moving-max',
28900
28902
  category: 'Vector',
28901
- description: 'Returns the **moving maximum` of the `vector** with a given window size.',
28903
+ description: 'Returns the **moving maximum** of the `vector` with a given window size.',
28902
28904
  returns: {
28903
28905
  type: 'vector',
28904
28906
  },
@@ -28920,7 +28922,7 @@ var maxReference = {
28920
28922
  'vec:centered-moving-max': {
28921
28923
  title: 'vec:centered-moving-max',
28922
28924
  category: 'Vector',
28923
- description: 'Returns the **centered moving maximum` of the `vector** with a given window size.',
28925
+ description: 'Returns the **centered moving maximum** of the `vector` with a given window size.',
28924
28926
  returns: {
28925
28927
  type: 'array',
28926
28928
  },
@@ -28951,7 +28953,7 @@ var maxReference = {
28951
28953
  'vec:running-max': {
28952
28954
  title: 'vec:running-max',
28953
28955
  category: 'Vector',
28954
- description: 'Returns the **running maximum` of the `vector**.',
28956
+ description: 'Returns the **running maximum** of the `vector`.',
28955
28957
  returns: {
28956
28958
  type: 'vector',
28957
28959
  },