umt 1.0.13 → 1.0.15

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.
Files changed (40) hide show
  1. package/jest.config.js +16 -0
  2. package/make_test.py +24 -0
  3. package/module/Array/getArraysCommon.js +17 -13
  4. package/module/Array/getArraysDiff.js +5 -13
  5. package/module/Array/index.js +17 -17
  6. package/module/Date/index.js +5 -5
  7. package/module/Math/average.js +4 -2
  8. package/module/Math/calculator/calculatorInitialization.js +2 -2
  9. package/module/Math/calculator/exchange.js +8 -12
  10. package/module/Math/deviationValue.js +3 -1
  11. package/module/Math/index.d.ts +2 -4
  12. package/module/Math/index.js +116 -123
  13. package/module/Math/isDouble.d.ts +2 -3
  14. package/module/Math/isDouble.js +2 -3
  15. package/module/Math/lcm.js +3 -0
  16. package/module/Math/{roundOff.d.ts → roundOf.d.ts} +0 -0
  17. package/module/Math/{roundOff.js → roundOf.js} +0 -0
  18. package/module/Math/softmax.js +2 -2
  19. package/module/Math/toCelsius.d.ts +5 -0
  20. package/module/Math/toCelsius.js +5 -0
  21. package/module/Simple/Date/index.js +5 -5
  22. package/module/Simple/{Math/dayOfWeek.d.ts → Tool/dayOfWeekSimple.d.ts} +2 -2
  23. package/module/Simple/{Math/dayOfWeek.js → Tool/dayOfWeekSimple.js} +0 -0
  24. package/module/Simple/{Math/deviationValue.d.ts → Tool/deviationValueSimple.d.ts} +0 -0
  25. package/module/Simple/{Math/deviationValue.js → Tool/deviationValueSimple.js} +0 -0
  26. package/module/Simple/Tool/index.d.ts +6 -0
  27. package/module/Simple/Tool/index.js +17 -5
  28. package/module/Simple/index.d.ts +3 -5
  29. package/module/Simple/index.js +10 -16
  30. package/module/Tool/index.js +20 -20
  31. package/module/index.d.ts +1 -1
  32. package/module/index.js +17 -17
  33. package/module/tsconfig.tsbuildinfo +1 -1
  34. package/package.json +39 -28
  35. package/module/Compiler/core.d.ts +0 -5
  36. package/module/Compiler/core.js +0 -19
  37. package/module/Compiler/token.d.ts +0 -10
  38. package/module/Compiler/token.js +0 -120
  39. package/module/Simple/Math/index.d.ts +0 -10
  40. package/module/Simple/Math/index.js +0 -33
@@ -10,9 +10,9 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
10
10
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
11
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
12
  };
13
- var _UMTMathClass_Localaddition, _UMTMathClass_Localaverage, _UMTMathClass_Localcalculator, _UMTMathClass_LocalcalculatorInitialization, _UMTMathClass_LocaldegToRad, _UMTMathClass_LocaldeviationValue, _UMTMathClass_Localdivision, _UMTMathClass_Localfactorial, _UMTMathClass_Localfactorize, _UMTMathClass_Localgcd, _UMTMathClass_LocalgetDecimalLength, _UMTMathClass_LocalisDouble, _UMTMathClass_LocalisNumber, _UMTMathClass_LocalisPrimeNumber, _UMTMathClass_Locallcm, _UMTMathClass_LocalmathConverter, _UMTMathClass_LocalmathSeparator, _UMTMathClass_Localmax, _UMTMathClass_Localmin, _UMTMathClass_Localmultiples, _UMTMathClass_Localmultiplication, _UMTMathClass_LocalnCr, _UMTMathClass_LocalnHr, _UMTMathClass_LocalnPr, _UMTMathClass_LocalprimeFactorization, _UMTMathClass_Localquotient, _UMTMathClass_LocalradToDeg, _UMTMathClass_Localrandom, _UMTMathClass_Localreduce, _UMTMathClass_LocalrepeatedTrial, _UMTMathClass_LocalroundOf, _UMTMathClass_Localsoftmax, _UMTMathClass_LocalstandardDeviation, _UMTMathClass_Localsubtract, _UMTMathClass_LocaltoBinary, _UMTMathClass_LocaltoCelsius, _UMTMathClass_LocaltoKelvin, _UMTMathClass_LocalvalueSwap;
13
+ var _UMTMathClass_Local_addition, _UMTMathClass_Local_average, _UMTMathClass_Local_calculator, _UMTMathClass_Local_calculatorInitialization, _UMTMathClass_Local_degToRad, _UMTMathClass_Local_deviationValue, _UMTMathClass_Local_division, _UMTMathClass_Local_factorial, _UMTMathClass_Local_factorize, _UMTMathClass_Local_gcd, _UMTMathClass_Local_getDecimalLength, _UMTMathClass_Local_isDouble, _UMTMathClass_Local_isNumber, _UMTMathClass_Local_isPrimeNumber, _UMTMathClass_Local_lcm, _UMTMathClass_Local_mathConverter, _UMTMathClass_Local_mathSeparator, _UMTMathClass_Local_max, _UMTMathClass_Local_min, _UMTMathClass_Local_multiples, _UMTMathClass_Local_multiplication, _UMTMathClass_Local_nCr, _UMTMathClass_Local_nHr, _UMTMathClass_Local_nPr, _UMTMathClass_Local_primeFactorization, _UMTMathClass_Local_quotient, _UMTMathClass_Local_radToDeg, _UMTMathClass_Local_random, _UMTMathClass_Local_reduce, _UMTMathClass_Local_repeatedTrial, _UMTMathClass_Local_roundOf, _UMTMathClass_Local_standardDeviation, _UMTMathClass_Local_subtract, _UMTMathClass_Local_toBinary, _UMTMathClass_Local_toCelsius, _UMTMathClass_Local_toKelvin, _UMTMathClass_Local_valueSwap;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.UMT_Math = exports.UMTMathClass = exports.valueSwap = exports.toKelvin = exports.toCelsius = exports.toBinary = exports.subtract = exports.standardDeviation = exports.softmax = exports.roundOf = exports.repeatedTrial = exports.reduce = exports.random = exports.radToDeg = exports.quotient = exports.primeFactorization = exports.nPr = exports.nHr = exports.nCr = exports.multiplication = exports.multiples = exports.min = exports.max = exports.mathSeparator = exports.mathConverter = exports.lcm = exports.isPrimeNumber = exports.isNumber = exports.isDouble = exports.getDecimalLength = exports.gcd = exports.factorize = exports.factorial = exports.division = exports.deviationValue = exports.degToRad = exports.calculatorInitialization = exports.calculator = exports.average = exports.addition = void 0;
15
+ exports.UMT_Math = exports.UMTMathClass = exports.valueSwap = exports.toKelvin = exports.toCelsius = exports.toBinary = exports.subtract = exports.standardDeviation = exports.roundOf = exports.repeatedTrial = exports.reduce = exports.random = exports.radToDeg = exports.quotient = exports.primeFactorization = exports.nPr = exports.nHr = exports.nCr = exports.multiplication = exports.multiples = exports.min = exports.max = exports.mathSeparator = exports.mathConverter = exports.lcm = exports.isPrimeNumber = exports.isNumber = exports.isDouble = exports.getDecimalLength = exports.gcd = exports.factorize = exports.factorial = exports.division = exports.deviationValue = exports.degToRad = exports.calculatorInitialization = exports.calculator = exports.average = exports.addition = void 0;
16
16
  const addition_1 = require("./addition");
17
17
  Object.defineProperty(exports, "addition", { enumerable: true, get: function () { return addition_1.addition; } });
18
18
  const average_1 = require("./average");
@@ -73,10 +73,8 @@ const reduce_1 = require("./reduce");
73
73
  Object.defineProperty(exports, "reduce", { enumerable: true, get: function () { return reduce_1.reduce; } });
74
74
  const repeatedTrial_1 = require("./repeatedTrial");
75
75
  Object.defineProperty(exports, "repeatedTrial", { enumerable: true, get: function () { return repeatedTrial_1.repeatedTrial; } });
76
- const roundOff_1 = require("./roundOff");
77
- Object.defineProperty(exports, "roundOf", { enumerable: true, get: function () { return roundOff_1.roundOf; } });
78
- const softmax_1 = require("./softmax");
79
- Object.defineProperty(exports, "softmax", { enumerable: true, get: function () { return softmax_1.softmax; } });
76
+ const roundOf_1 = require("./roundOf");
77
+ Object.defineProperty(exports, "roundOf", { enumerable: true, get: function () { return roundOf_1.roundOf; } });
80
78
  const standardDeviation_1 = require("./standardDeviation");
81
79
  Object.defineProperty(exports, "standardDeviation", { enumerable: true, get: function () { return standardDeviation_1.standardDeviation; } });
82
80
  const subtract_1 = require("./subtract");
@@ -91,198 +89,193 @@ const valueSwap_1 = require("./valueSwap");
91
89
  Object.defineProperty(exports, "valueSwap", { enumerable: true, get: function () { return valueSwap_1.valueSwap; } });
92
90
  class UMTMathClass {
93
91
  constructor() {
94
- _UMTMathClass_Localaddition.set(this, void 0);
95
- _UMTMathClass_Localaverage.set(this, void 0);
96
- _UMTMathClass_Localcalculator.set(this, void 0);
97
- _UMTMathClass_LocalcalculatorInitialization.set(this, void 0);
98
- _UMTMathClass_LocaldegToRad.set(this, void 0);
99
- _UMTMathClass_LocaldeviationValue.set(this, void 0);
100
- _UMTMathClass_Localdivision.set(this, void 0);
101
- _UMTMathClass_Localfactorial.set(this, void 0);
102
- _UMTMathClass_Localfactorize.set(this, void 0);
103
- _UMTMathClass_Localgcd.set(this, void 0);
104
- _UMTMathClass_LocalgetDecimalLength.set(this, void 0);
105
- _UMTMathClass_LocalisDouble.set(this, void 0);
106
- _UMTMathClass_LocalisNumber.set(this, void 0);
107
- _UMTMathClass_LocalisPrimeNumber.set(this, void 0);
108
- _UMTMathClass_Locallcm.set(this, void 0);
109
- _UMTMathClass_LocalmathConverter.set(this, void 0);
110
- _UMTMathClass_LocalmathSeparator.set(this, void 0);
111
- _UMTMathClass_Localmax.set(this, void 0);
112
- _UMTMathClass_Localmin.set(this, void 0);
113
- _UMTMathClass_Localmultiples.set(this, void 0);
114
- _UMTMathClass_Localmultiplication.set(this, void 0);
115
- _UMTMathClass_LocalnCr.set(this, void 0);
116
- _UMTMathClass_LocalnHr.set(this, void 0);
117
- _UMTMathClass_LocalnPr.set(this, void 0);
118
- _UMTMathClass_LocalprimeFactorization.set(this, void 0);
119
- _UMTMathClass_Localquotient.set(this, void 0);
120
- _UMTMathClass_LocalradToDeg.set(this, void 0);
121
- _UMTMathClass_Localrandom.set(this, void 0);
122
- _UMTMathClass_Localreduce.set(this, void 0);
123
- _UMTMathClass_LocalrepeatedTrial.set(this, void 0);
124
- _UMTMathClass_LocalroundOf.set(this, void 0);
125
- _UMTMathClass_Localsoftmax.set(this, void 0);
126
- _UMTMathClass_LocalstandardDeviation.set(this, void 0);
127
- _UMTMathClass_Localsubtract.set(this, void 0);
128
- _UMTMathClass_LocaltoBinary.set(this, void 0);
129
- _UMTMathClass_LocaltoCelsius.set(this, void 0);
130
- _UMTMathClass_LocaltoKelvin.set(this, void 0);
131
- _UMTMathClass_LocalvalueSwap.set(this, void 0);
132
- __classPrivateFieldSet(this, _UMTMathClass_Localaddition, addition_1.addition, "f");
133
- __classPrivateFieldSet(this, _UMTMathClass_Localaverage, average_1.average, "f");
134
- __classPrivateFieldSet(this, _UMTMathClass_Localcalculator, calculator_1.calculator, "f");
135
- __classPrivateFieldSet(this, _UMTMathClass_LocalcalculatorInitialization, calculatorInitialization_1.calculatorInitialization, "f");
136
- __classPrivateFieldSet(this, _UMTMathClass_LocaldegToRad, degToRad_1.degToRad, "f");
137
- __classPrivateFieldSet(this, _UMTMathClass_LocaldeviationValue, deviationValue_1.deviationValue, "f");
138
- __classPrivateFieldSet(this, _UMTMathClass_Localdivision, division_1.division, "f");
139
- __classPrivateFieldSet(this, _UMTMathClass_Localfactorial, factorial_1.factorial, "f");
140
- __classPrivateFieldSet(this, _UMTMathClass_Localfactorize, factorize_1.factorize, "f");
141
- __classPrivateFieldSet(this, _UMTMathClass_Localgcd, gcd_1.gcd, "f");
142
- __classPrivateFieldSet(this, _UMTMathClass_LocalgetDecimalLength, getDecimalLength_1.getDecimalLength, "f");
143
- __classPrivateFieldSet(this, _UMTMathClass_LocalisDouble, isDouble_1.isDouble, "f");
144
- __classPrivateFieldSet(this, _UMTMathClass_LocalisNumber, isNumber_1.isNumber, "f");
145
- __classPrivateFieldSet(this, _UMTMathClass_LocalisPrimeNumber, isPrimeNumber_1.isPrimeNumber, "f");
146
- __classPrivateFieldSet(this, _UMTMathClass_Locallcm, lcm_1.lcm, "f");
147
- __classPrivateFieldSet(this, _UMTMathClass_LocalmathConverter, mathConverter_1.mathConverter, "f");
148
- __classPrivateFieldSet(this, _UMTMathClass_LocalmathSeparator, mathSeparator_1.mathSeparator, "f");
149
- __classPrivateFieldSet(this, _UMTMathClass_Localmax, max_1.max, "f");
150
- __classPrivateFieldSet(this, _UMTMathClass_Localmin, min_1.min, "f");
151
- __classPrivateFieldSet(this, _UMTMathClass_Localmultiples, multiples_1.multiples, "f");
152
- __classPrivateFieldSet(this, _UMTMathClass_Localmultiplication, multiplication_1.multiplication, "f");
153
- __classPrivateFieldSet(this, _UMTMathClass_LocalnCr, nCr_1.nCr, "f");
154
- __classPrivateFieldSet(this, _UMTMathClass_LocalnHr, nHr_1.nHr, "f");
155
- __classPrivateFieldSet(this, _UMTMathClass_LocalnPr, nPr_1.nPr, "f");
156
- __classPrivateFieldSet(this, _UMTMathClass_LocalprimeFactorization, primeFactorization_1.primeFactorization, "f");
157
- __classPrivateFieldSet(this, _UMTMathClass_Localquotient, quotient_1.quotient, "f");
158
- __classPrivateFieldSet(this, _UMTMathClass_LocalradToDeg, radToDeg_1.radToDeg, "f");
159
- __classPrivateFieldSet(this, _UMTMathClass_Localrandom, random_1.random, "f");
160
- __classPrivateFieldSet(this, _UMTMathClass_Localreduce, reduce_1.reduce, "f");
161
- __classPrivateFieldSet(this, _UMTMathClass_LocalrepeatedTrial, repeatedTrial_1.repeatedTrial, "f");
162
- __classPrivateFieldSet(this, _UMTMathClass_LocalroundOf, roundOff_1.roundOf, "f");
163
- __classPrivateFieldSet(this, _UMTMathClass_Localsoftmax, softmax_1.softmax, "f");
164
- __classPrivateFieldSet(this, _UMTMathClass_LocalstandardDeviation, standardDeviation_1.standardDeviation, "f");
165
- __classPrivateFieldSet(this, _UMTMathClass_Localsubtract, subtract_1.subtract, "f");
166
- __classPrivateFieldSet(this, _UMTMathClass_LocaltoBinary, toBinary_1.toBinary, "f");
167
- __classPrivateFieldSet(this, _UMTMathClass_LocaltoCelsius, toCelsius_1.toCelsius, "f");
168
- __classPrivateFieldSet(this, _UMTMathClass_LocaltoKelvin, toKelvin_1.toKelvin, "f");
169
- __classPrivateFieldSet(this, _UMTMathClass_LocalvalueSwap, valueSwap_1.valueSwap, "f");
92
+ _UMTMathClass_Local_addition.set(this, void 0);
93
+ _UMTMathClass_Local_average.set(this, void 0);
94
+ _UMTMathClass_Local_calculator.set(this, void 0);
95
+ _UMTMathClass_Local_calculatorInitialization.set(this, void 0);
96
+ _UMTMathClass_Local_degToRad.set(this, void 0);
97
+ _UMTMathClass_Local_deviationValue.set(this, void 0);
98
+ _UMTMathClass_Local_division.set(this, void 0);
99
+ _UMTMathClass_Local_factorial.set(this, void 0);
100
+ _UMTMathClass_Local_factorize.set(this, void 0);
101
+ _UMTMathClass_Local_gcd.set(this, void 0);
102
+ _UMTMathClass_Local_getDecimalLength.set(this, void 0);
103
+ _UMTMathClass_Local_isDouble.set(this, void 0);
104
+ _UMTMathClass_Local_isNumber.set(this, void 0);
105
+ _UMTMathClass_Local_isPrimeNumber.set(this, void 0);
106
+ _UMTMathClass_Local_lcm.set(this, void 0);
107
+ _UMTMathClass_Local_mathConverter.set(this, void 0);
108
+ _UMTMathClass_Local_mathSeparator.set(this, void 0);
109
+ _UMTMathClass_Local_max.set(this, void 0);
110
+ _UMTMathClass_Local_min.set(this, void 0);
111
+ _UMTMathClass_Local_multiples.set(this, void 0);
112
+ _UMTMathClass_Local_multiplication.set(this, void 0);
113
+ _UMTMathClass_Local_nCr.set(this, void 0);
114
+ _UMTMathClass_Local_nHr.set(this, void 0);
115
+ _UMTMathClass_Local_nPr.set(this, void 0);
116
+ _UMTMathClass_Local_primeFactorization.set(this, void 0);
117
+ _UMTMathClass_Local_quotient.set(this, void 0);
118
+ _UMTMathClass_Local_radToDeg.set(this, void 0);
119
+ _UMTMathClass_Local_random.set(this, void 0);
120
+ _UMTMathClass_Local_reduce.set(this, void 0);
121
+ _UMTMathClass_Local_repeatedTrial.set(this, void 0);
122
+ _UMTMathClass_Local_roundOf.set(this, void 0);
123
+ _UMTMathClass_Local_standardDeviation.set(this, void 0);
124
+ _UMTMathClass_Local_subtract.set(this, void 0);
125
+ _UMTMathClass_Local_toBinary.set(this, void 0);
126
+ _UMTMathClass_Local_toCelsius.set(this, void 0);
127
+ _UMTMathClass_Local_toKelvin.set(this, void 0);
128
+ _UMTMathClass_Local_valueSwap.set(this, void 0);
129
+ __classPrivateFieldSet(this, _UMTMathClass_Local_addition, addition_1.addition, "f");
130
+ __classPrivateFieldSet(this, _UMTMathClass_Local_average, average_1.average, "f");
131
+ __classPrivateFieldSet(this, _UMTMathClass_Local_calculator, calculator_1.calculator, "f");
132
+ __classPrivateFieldSet(this, _UMTMathClass_Local_calculatorInitialization, calculatorInitialization_1.calculatorInitialization, "f");
133
+ __classPrivateFieldSet(this, _UMTMathClass_Local_degToRad, degToRad_1.degToRad, "f");
134
+ __classPrivateFieldSet(this, _UMTMathClass_Local_deviationValue, deviationValue_1.deviationValue, "f");
135
+ __classPrivateFieldSet(this, _UMTMathClass_Local_division, division_1.division, "f");
136
+ __classPrivateFieldSet(this, _UMTMathClass_Local_factorial, factorial_1.factorial, "f");
137
+ __classPrivateFieldSet(this, _UMTMathClass_Local_factorize, factorize_1.factorize, "f");
138
+ __classPrivateFieldSet(this, _UMTMathClass_Local_gcd, gcd_1.gcd, "f");
139
+ __classPrivateFieldSet(this, _UMTMathClass_Local_getDecimalLength, getDecimalLength_1.getDecimalLength, "f");
140
+ __classPrivateFieldSet(this, _UMTMathClass_Local_isDouble, isDouble_1.isDouble, "f");
141
+ __classPrivateFieldSet(this, _UMTMathClass_Local_isNumber, isNumber_1.isNumber, "f");
142
+ __classPrivateFieldSet(this, _UMTMathClass_Local_isPrimeNumber, isPrimeNumber_1.isPrimeNumber, "f");
143
+ __classPrivateFieldSet(this, _UMTMathClass_Local_lcm, lcm_1.lcm, "f");
144
+ __classPrivateFieldSet(this, _UMTMathClass_Local_mathConverter, mathConverter_1.mathConverter, "f");
145
+ __classPrivateFieldSet(this, _UMTMathClass_Local_mathSeparator, mathSeparator_1.mathSeparator, "f");
146
+ __classPrivateFieldSet(this, _UMTMathClass_Local_max, max_1.max, "f");
147
+ __classPrivateFieldSet(this, _UMTMathClass_Local_min, min_1.min, "f");
148
+ __classPrivateFieldSet(this, _UMTMathClass_Local_multiples, multiples_1.multiples, "f");
149
+ __classPrivateFieldSet(this, _UMTMathClass_Local_multiplication, multiplication_1.multiplication, "f");
150
+ __classPrivateFieldSet(this, _UMTMathClass_Local_nCr, nCr_1.nCr, "f");
151
+ __classPrivateFieldSet(this, _UMTMathClass_Local_nHr, nHr_1.nHr, "f");
152
+ __classPrivateFieldSet(this, _UMTMathClass_Local_nPr, nPr_1.nPr, "f");
153
+ __classPrivateFieldSet(this, _UMTMathClass_Local_primeFactorization, primeFactorization_1.primeFactorization, "f");
154
+ __classPrivateFieldSet(this, _UMTMathClass_Local_quotient, quotient_1.quotient, "f");
155
+ __classPrivateFieldSet(this, _UMTMathClass_Local_radToDeg, radToDeg_1.radToDeg, "f");
156
+ __classPrivateFieldSet(this, _UMTMathClass_Local_random, random_1.random, "f");
157
+ __classPrivateFieldSet(this, _UMTMathClass_Local_reduce, reduce_1.reduce, "f");
158
+ __classPrivateFieldSet(this, _UMTMathClass_Local_repeatedTrial, repeatedTrial_1.repeatedTrial, "f");
159
+ __classPrivateFieldSet(this, _UMTMathClass_Local_roundOf, roundOf_1.roundOf, "f");
160
+ __classPrivateFieldSet(this, _UMTMathClass_Local_standardDeviation, standardDeviation_1.standardDeviation, "f");
161
+ __classPrivateFieldSet(this, _UMTMathClass_Local_subtract, subtract_1.subtract, "f");
162
+ __classPrivateFieldSet(this, _UMTMathClass_Local_toBinary, toBinary_1.toBinary, "f");
163
+ __classPrivateFieldSet(this, _UMTMathClass_Local_toCelsius, toCelsius_1.toCelsius, "f");
164
+ __classPrivateFieldSet(this, _UMTMathClass_Local_toKelvin, toKelvin_1.toKelvin, "f");
165
+ __classPrivateFieldSet(this, _UMTMathClass_Local_valueSwap, valueSwap_1.valueSwap, "f");
170
166
  }
171
167
  get addition() {
172
- return __classPrivateFieldGet(this, _UMTMathClass_Localaddition, "f");
168
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_addition, "f");
173
169
  }
174
170
  get average() {
175
- return __classPrivateFieldGet(this, _UMTMathClass_Localaverage, "f");
171
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_average, "f");
176
172
  }
177
173
  get calculator() {
178
- return __classPrivateFieldGet(this, _UMTMathClass_Localcalculator, "f");
174
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_calculator, "f");
179
175
  }
180
176
  get calculatorInitialization() {
181
- return __classPrivateFieldGet(this, _UMTMathClass_LocalcalculatorInitialization, "f");
177
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_calculatorInitialization, "f");
182
178
  }
183
179
  get degToRad() {
184
- return __classPrivateFieldGet(this, _UMTMathClass_LocaldegToRad, "f");
180
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_degToRad, "f");
185
181
  }
186
182
  get deviationValue() {
187
- return __classPrivateFieldGet(this, _UMTMathClass_LocaldeviationValue, "f");
183
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_deviationValue, "f");
188
184
  }
189
185
  get division() {
190
- return __classPrivateFieldGet(this, _UMTMathClass_Localdivision, "f");
186
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_division, "f");
191
187
  }
192
188
  get factorial() {
193
- return __classPrivateFieldGet(this, _UMTMathClass_Localfactorial, "f");
189
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_factorial, "f");
194
190
  }
195
191
  get factorize() {
196
- return __classPrivateFieldGet(this, _UMTMathClass_Localfactorize, "f");
192
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_factorize, "f");
197
193
  }
198
194
  get gcd() {
199
- return __classPrivateFieldGet(this, _UMTMathClass_Localgcd, "f");
195
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_gcd, "f");
200
196
  }
201
197
  get getDecimalLength() {
202
- return __classPrivateFieldGet(this, _UMTMathClass_LocalgetDecimalLength, "f");
198
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_getDecimalLength, "f");
203
199
  }
204
200
  get isDouble() {
205
- return __classPrivateFieldGet(this, _UMTMathClass_LocalisDouble, "f");
201
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_isDouble, "f");
206
202
  }
207
203
  get isNumber() {
208
- return __classPrivateFieldGet(this, _UMTMathClass_LocalisNumber, "f");
204
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_isNumber, "f");
209
205
  }
210
206
  get isPrimeNumber() {
211
- return __classPrivateFieldGet(this, _UMTMathClass_LocalisPrimeNumber, "f");
207
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_isPrimeNumber, "f");
212
208
  }
213
209
  get lcm() {
214
- return __classPrivateFieldGet(this, _UMTMathClass_Locallcm, "f");
210
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_lcm, "f");
215
211
  }
216
212
  get mathConverter() {
217
- return __classPrivateFieldGet(this, _UMTMathClass_LocalmathConverter, "f");
213
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_mathConverter, "f");
218
214
  }
219
215
  get mathSeparator() {
220
- return __classPrivateFieldGet(this, _UMTMathClass_LocalmathSeparator, "f");
216
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_mathSeparator, "f");
221
217
  }
222
218
  get max() {
223
- return __classPrivateFieldGet(this, _UMTMathClass_Localmax, "f");
219
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_max, "f");
224
220
  }
225
221
  get min() {
226
- return __classPrivateFieldGet(this, _UMTMathClass_Localmin, "f");
222
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_min, "f");
227
223
  }
228
224
  get multiples() {
229
- return __classPrivateFieldGet(this, _UMTMathClass_Localmultiples, "f");
225
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_multiples, "f");
230
226
  }
231
227
  get multiplication() {
232
- return __classPrivateFieldGet(this, _UMTMathClass_Localmultiplication, "f");
228
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_multiplication, "f");
233
229
  }
234
230
  get nCr() {
235
- return __classPrivateFieldGet(this, _UMTMathClass_LocalnCr, "f");
231
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_nCr, "f");
236
232
  }
237
233
  get nHr() {
238
- return __classPrivateFieldGet(this, _UMTMathClass_LocalnHr, "f");
234
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_nHr, "f");
239
235
  }
240
236
  get nPr() {
241
- return __classPrivateFieldGet(this, _UMTMathClass_LocalnPr, "f");
237
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_nPr, "f");
242
238
  }
243
239
  get primeFactorization() {
244
- return __classPrivateFieldGet(this, _UMTMathClass_LocalprimeFactorization, "f");
240
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_primeFactorization, "f");
245
241
  }
246
242
  get quotient() {
247
- return __classPrivateFieldGet(this, _UMTMathClass_Localquotient, "f");
243
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_quotient, "f");
248
244
  }
249
245
  get radToDeg() {
250
- return __classPrivateFieldGet(this, _UMTMathClass_LocalradToDeg, "f");
246
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_radToDeg, "f");
251
247
  }
252
248
  get random() {
253
- return __classPrivateFieldGet(this, _UMTMathClass_Localrandom, "f");
249
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_random, "f");
254
250
  }
255
251
  get reduce() {
256
- return __classPrivateFieldGet(this, _UMTMathClass_Localreduce, "f");
252
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_reduce, "f");
257
253
  }
258
254
  get repeatedTrial() {
259
- return __classPrivateFieldGet(this, _UMTMathClass_LocalrepeatedTrial, "f");
255
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_repeatedTrial, "f");
260
256
  }
261
257
  get roundOf() {
262
- return __classPrivateFieldGet(this, _UMTMathClass_LocalroundOf, "f");
263
- }
264
- get softmax() {
265
- return __classPrivateFieldGet(this, _UMTMathClass_Localsoftmax, "f");
258
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_roundOf, "f");
266
259
  }
267
260
  get standardDeviation() {
268
- return __classPrivateFieldGet(this, _UMTMathClass_LocalstandardDeviation, "f");
261
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_standardDeviation, "f");
269
262
  }
270
263
  get subtract() {
271
- return __classPrivateFieldGet(this, _UMTMathClass_Localsubtract, "f");
264
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_subtract, "f");
272
265
  }
273
266
  get toBinary() {
274
- return __classPrivateFieldGet(this, _UMTMathClass_LocaltoBinary, "f");
267
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_toBinary, "f");
275
268
  }
276
269
  get toCelsius() {
277
- return __classPrivateFieldGet(this, _UMTMathClass_LocaltoCelsius, "f");
270
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_toCelsius, "f");
278
271
  }
279
272
  get toKelvin() {
280
- return __classPrivateFieldGet(this, _UMTMathClass_LocaltoKelvin, "f");
273
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_toKelvin, "f");
281
274
  }
282
275
  get valueSwap() {
283
- return __classPrivateFieldGet(this, _UMTMathClass_LocalvalueSwap, "f");
276
+ return __classPrivateFieldGet(this, _UMTMathClass_Local_valueSwap, "f");
284
277
  }
285
278
  }
286
279
  exports.UMTMathClass = UMTMathClass;
287
- _UMTMathClass_Localaddition = new WeakMap(), _UMTMathClass_Localaverage = new WeakMap(), _UMTMathClass_Localcalculator = new WeakMap(), _UMTMathClass_LocalcalculatorInitialization = new WeakMap(), _UMTMathClass_LocaldegToRad = new WeakMap(), _UMTMathClass_LocaldeviationValue = new WeakMap(), _UMTMathClass_Localdivision = new WeakMap(), _UMTMathClass_Localfactorial = new WeakMap(), _UMTMathClass_Localfactorize = new WeakMap(), _UMTMathClass_Localgcd = new WeakMap(), _UMTMathClass_LocalgetDecimalLength = new WeakMap(), _UMTMathClass_LocalisDouble = new WeakMap(), _UMTMathClass_LocalisNumber = new WeakMap(), _UMTMathClass_LocalisPrimeNumber = new WeakMap(), _UMTMathClass_Locallcm = new WeakMap(), _UMTMathClass_LocalmathConverter = new WeakMap(), _UMTMathClass_LocalmathSeparator = new WeakMap(), _UMTMathClass_Localmax = new WeakMap(), _UMTMathClass_Localmin = new WeakMap(), _UMTMathClass_Localmultiples = new WeakMap(), _UMTMathClass_Localmultiplication = new WeakMap(), _UMTMathClass_LocalnCr = new WeakMap(), _UMTMathClass_LocalnHr = new WeakMap(), _UMTMathClass_LocalnPr = new WeakMap(), _UMTMathClass_LocalprimeFactorization = new WeakMap(), _UMTMathClass_Localquotient = new WeakMap(), _UMTMathClass_LocalradToDeg = new WeakMap(), _UMTMathClass_Localrandom = new WeakMap(), _UMTMathClass_Localreduce = new WeakMap(), _UMTMathClass_LocalrepeatedTrial = new WeakMap(), _UMTMathClass_LocalroundOf = new WeakMap(), _UMTMathClass_Localsoftmax = new WeakMap(), _UMTMathClass_LocalstandardDeviation = new WeakMap(), _UMTMathClass_Localsubtract = new WeakMap(), _UMTMathClass_LocaltoBinary = new WeakMap(), _UMTMathClass_LocaltoCelsius = new WeakMap(), _UMTMathClass_LocaltoKelvin = new WeakMap(), _UMTMathClass_LocalvalueSwap = new WeakMap();
280
+ _UMTMathClass_Local_addition = new WeakMap(), _UMTMathClass_Local_average = new WeakMap(), _UMTMathClass_Local_calculator = new WeakMap(), _UMTMathClass_Local_calculatorInitialization = new WeakMap(), _UMTMathClass_Local_degToRad = new WeakMap(), _UMTMathClass_Local_deviationValue = new WeakMap(), _UMTMathClass_Local_division = new WeakMap(), _UMTMathClass_Local_factorial = new WeakMap(), _UMTMathClass_Local_factorize = new WeakMap(), _UMTMathClass_Local_gcd = new WeakMap(), _UMTMathClass_Local_getDecimalLength = new WeakMap(), _UMTMathClass_Local_isDouble = new WeakMap(), _UMTMathClass_Local_isNumber = new WeakMap(), _UMTMathClass_Local_isPrimeNumber = new WeakMap(), _UMTMathClass_Local_lcm = new WeakMap(), _UMTMathClass_Local_mathConverter = new WeakMap(), _UMTMathClass_Local_mathSeparator = new WeakMap(), _UMTMathClass_Local_max = new WeakMap(), _UMTMathClass_Local_min = new WeakMap(), _UMTMathClass_Local_multiples = new WeakMap(), _UMTMathClass_Local_multiplication = new WeakMap(), _UMTMathClass_Local_nCr = new WeakMap(), _UMTMathClass_Local_nHr = new WeakMap(), _UMTMathClass_Local_nPr = new WeakMap(), _UMTMathClass_Local_primeFactorization = new WeakMap(), _UMTMathClass_Local_quotient = new WeakMap(), _UMTMathClass_Local_radToDeg = new WeakMap(), _UMTMathClass_Local_random = new WeakMap(), _UMTMathClass_Local_reduce = new WeakMap(), _UMTMathClass_Local_repeatedTrial = new WeakMap(), _UMTMathClass_Local_roundOf = new WeakMap(), _UMTMathClass_Local_standardDeviation = new WeakMap(), _UMTMathClass_Local_subtract = new WeakMap(), _UMTMathClass_Local_toBinary = new WeakMap(), _UMTMathClass_Local_toCelsius = new WeakMap(), _UMTMathClass_Local_toKelvin = new WeakMap(), _UMTMathClass_Local_valueSwap = new WeakMap();
288
281
  exports.UMT_Math = new UMTMathClass();
@@ -1,7 +1,6 @@
1
1
  /**
2
- * 小数点を含むかどうか
3
- * @param {any} x
4
- * @param {boolean} [isStrict=true] - 文字列も対象にするかどうか
2
+ * @param {any} x
3
+ * @param {boolean} [loose=true] - 文字列も対象にするかどうか
5
4
  * @returns boolean
6
5
  */
7
6
  export declare const isDouble: (x: any, loose?: boolean) => boolean;
@@ -2,9 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.isDouble = void 0;
4
4
  /**
5
- * 小数点を含むかどうか
6
- * @param {any} x
7
- * @param {boolean} [isStrict=true] - 文字列も対象にするかどうか
5
+ * @param {any} x
6
+ * @param {boolean} [loose=true] - 文字列も対象にするかどうか
8
7
  * @returns boolean
9
8
  */
10
9
  const isDouble = (x, loose = true) => {
@@ -10,10 +10,13 @@ const valueSwap_1 = require("./valueSwap");
10
10
  * @returns number
11
11
  */
12
12
  const lcm = (x, y) => {
13
+ // If either input is 0, the least common multiple is 0
13
14
  if (x === 0 || y === 0) {
14
15
  return 0;
15
16
  }
17
+ // Swap the values of x and y if x is greater than y
16
18
  [x, y] = (0, valueSwap_1.valueSwap)(x, y);
19
+ // The least common multiple is x times y divided by their greatest common divisor
17
20
  return (x / (0, gcd_1.gcd)(x, y)) * y;
18
21
  };
19
22
  exports.lcm = lcm;
File without changes
File without changes
@@ -26,7 +26,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.softmax = void 0;
27
27
  const ArraySum = __importStar(require("../Array/sum"));
28
28
  const division_1 = require("./division");
29
- const roundOff_1 = require("./roundOff");
29
+ const roundOf_1 = require("./roundOf");
30
30
  /**
31
31
  * @param {number[]} x
32
32
  * @return {number[]}
@@ -35,6 +35,6 @@ const softmax = (x) => {
35
35
  const max = Math.max(...x);
36
36
  const exp = x.map((i) => Math.exp(i - max));
37
37
  const sum = ArraySum.sum(exp);
38
- return exp.map((i) => (0, roundOff_1.roundOf)((0, division_1.division)(i, sum), 3));
38
+ return exp.map((i) => (0, roundOf_1.roundOf)((0, division_1.division)(i, sum), 3));
39
39
  };
40
40
  exports.softmax = softmax;
@@ -1 +1,6 @@
1
+ /**
2
+ * Converts a temperature from Kelvin to Celsius.
3
+ * @param kelvin The temperature in Kelvin.
4
+ * @returns The temperature in Celsius.
5
+ */
1
6
  export declare const toCelsius: (kelvin: number) => number;
@@ -2,5 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.toCelsius = void 0;
4
4
  const subtract_1 = require("./subtract");
5
+ /**
6
+ * Converts a temperature from Kelvin to Celsius.
7
+ * @param kelvin The temperature in Kelvin.
8
+ * @returns The temperature in Celsius.
9
+ */
5
10
  const toCelsius = (kelvin) => (0, subtract_1.subtract)(kelvin, 273.15);
6
11
  exports.toCelsius = toCelsius;
@@ -10,18 +10,18 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
10
10
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
11
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
12
  };
13
- var _UMTSimpleDateClass_Localnow;
13
+ var _UMTSimpleDateClass_Local_now;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.UMTSimpleDateClass = void 0;
16
16
  const now_1 = require("./now");
17
17
  class UMTSimpleDateClass {
18
18
  constructor() {
19
- _UMTSimpleDateClass_Localnow.set(this, void 0);
20
- __classPrivateFieldSet(this, _UMTSimpleDateClass_Localnow, now_1.nowSimple, "f");
19
+ _UMTSimpleDateClass_Local_now.set(this, void 0);
20
+ __classPrivateFieldSet(this, _UMTSimpleDateClass_Local_now, now_1.nowSimple, "f");
21
21
  }
22
22
  get now() {
23
- return __classPrivateFieldGet(this, _UMTSimpleDateClass_Localnow, "f");
23
+ return __classPrivateFieldGet(this, _UMTSimpleDateClass_Local_now, "f");
24
24
  }
25
25
  }
26
26
  exports.UMTSimpleDateClass = UMTSimpleDateClass;
27
- _UMTSimpleDateClass_Localnow = new WeakMap();
27
+ _UMTSimpleDateClass_Local_now = new WeakMap();
@@ -1,6 +1,6 @@
1
1
  import { dayType, MonthsWihout31Days, MonthsWith31Days } from '../../types/monType';
2
- export declare const dayOfWeekSimple: <T extends MonthsWith31Days | MonthsWihout31Days>(props?: {
2
+ export declare const dayOfWeekSimple: <T extends MonthsWith31Days | MonthsWihout31Days>(props?: Date | {
3
3
  yer?: number | undefined;
4
4
  mon?: T | undefined;
5
5
  day?: dayType<T> | undefined;
6
- } | `${number}-${T}-${dayType<T>}` | `${number}:${T}:${dayType<T>}` | `${number}/${T}/${dayType<T>}` | Date | undefined, timeDifference?: number) => number;
6
+ } | `${number}-${T}-${dayType<T>}` | `${number}:${T}:${dayType<T>}` | `${number}/${T}/${dayType<T>}` | undefined, timeDifference?: number) => number;
@@ -2,4 +2,10 @@ export declare class UMTSimpleToolClass {
2
2
  #private;
3
3
  constructor();
4
4
  get birthday(): import("./birthday").BIRTHDAYSIMPLE;
5
+ get dayOfWeek(): <T extends import("../../types/monType").MonthsWith31Days | import("../../types/monType").MonthsWihout31Days>(props?: Date | {
6
+ yer?: number | undefined;
7
+ mon?: T | undefined;
8
+ day?: import("../../types/monType").dayType<T> | undefined;
9
+ } | `${number}-${T}-${import("../../types/monType").dayType<T>}` | `${number}:${T}:${import("../../types/monType").dayType<T>}` | `${number}/${T}/${import("../../types/monType").dayType<T>}` | undefined, timeDifference?: number) => number;
10
+ get deviationValue(): import("./deviationValueSimple").DeviationValueSimple;
5
11
  }
@@ -10,18 +10,30 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
10
10
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
11
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
12
  };
13
- var _UMTSimpleToolClass_Localbirthday;
13
+ var _UMTSimpleToolClass_Local_birthday, _UMTSimpleToolClass_Local_dayOfWeek, _UMTSimpleToolClass_Local_deviationValue;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.UMTSimpleToolClass = void 0;
16
16
  const birthday_1 = require("./birthday");
17
+ const dayOfWeekSimple_1 = require("./dayOfWeekSimple");
18
+ const deviationValueSimple_1 = require("./deviationValueSimple");
17
19
  class UMTSimpleToolClass {
18
20
  constructor() {
19
- _UMTSimpleToolClass_Localbirthday.set(this, void 0);
20
- __classPrivateFieldSet(this, _UMTSimpleToolClass_Localbirthday, birthday_1.birthdaySimple, "f");
21
+ _UMTSimpleToolClass_Local_birthday.set(this, void 0);
22
+ _UMTSimpleToolClass_Local_dayOfWeek.set(this, void 0);
23
+ _UMTSimpleToolClass_Local_deviationValue.set(this, void 0);
24
+ __classPrivateFieldSet(this, _UMTSimpleToolClass_Local_dayOfWeek, dayOfWeekSimple_1.dayOfWeekSimple, "f");
25
+ __classPrivateFieldSet(this, _UMTSimpleToolClass_Local_deviationValue, deviationValueSimple_1.deviationValueSimple, "f");
26
+ __classPrivateFieldSet(this, _UMTSimpleToolClass_Local_birthday, birthday_1.birthdaySimple, "f");
21
27
  }
22
28
  get birthday() {
23
- return __classPrivateFieldGet(this, _UMTSimpleToolClass_Localbirthday, "f");
29
+ return __classPrivateFieldGet(this, _UMTSimpleToolClass_Local_birthday, "f");
30
+ }
31
+ get dayOfWeek() {
32
+ return __classPrivateFieldGet(this, _UMTSimpleToolClass_Local_dayOfWeek, "f");
33
+ }
34
+ get deviationValue() {
35
+ return __classPrivateFieldGet(this, _UMTSimpleToolClass_Local_deviationValue, "f");
24
36
  }
25
37
  }
26
38
  exports.UMTSimpleToolClass = UMTSimpleToolClass;
27
- _UMTSimpleToolClass_Localbirthday = new WeakMap();
39
+ _UMTSimpleToolClass_Local_birthday = new WeakMap(), _UMTSimpleToolClass_Local_dayOfWeek = new WeakMap(), _UMTSimpleToolClass_Local_deviationValue = new WeakMap();
@@ -1,11 +1,9 @@
1
1
  import { UMTSimpleDateClass } from './Date/index';
2
- import { UMTSimpleMathClass } from './Math';
3
2
  import { UMTSimpleToolClass } from './Tool';
4
- export declare class UMTSimpleClass<LOCALDATE, LOCALMATH, LOCALTOOL> {
3
+ export declare class UMTSimpleClass<LOCALDATE, LOCALTOOL> {
5
4
  #private;
6
- constructor(constructorLocalDateValue: LOCALDATE, constructorLocalMathValue: LOCALMATH, constructorLocalToolValue: LOCALTOOL);
5
+ constructor(constructorLocalDateValue: LOCALDATE, constructorLocalToolValue: LOCALTOOL);
7
6
  get Date(): LOCALDATE;
8
- get Math(): LOCALMATH;
9
7
  get Tool(): LOCALTOOL;
10
8
  }
11
- export declare const UMT_Simple: UMTSimpleClass<UMTSimpleDateClass, UMTSimpleMathClass, UMTSimpleToolClass>;
9
+ export declare const UMT_Simple: UMTSimpleClass<UMTSimpleDateClass, UMTSimpleToolClass>;
@@ -10,31 +10,25 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
10
10
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
11
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
12
  };
13
- var _UMTSimpleClass_LocalDate, _UMTSimpleClass_LocalMath, _UMTSimpleClass_LocalTool;
13
+ var _UMTSimpleClass_Local_Date, _UMTSimpleClass_Local_Tool;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.UMT_Simple = exports.UMTSimpleClass = void 0;
16
16
  const index_1 = require("./Date/index");
17
- const Math_1 = require("./Math");
18
17
  const Tool_1 = require("./Tool");
19
18
  class UMTSimpleClass {
20
- constructor(constructorLocalDateValue, constructorLocalMathValue, constructorLocalToolValue) {
21
- _UMTSimpleClass_LocalDate.set(this, void 0);
22
- _UMTSimpleClass_LocalMath.set(this, void 0);
23
- _UMTSimpleClass_LocalTool.set(this, void 0);
24
- __classPrivateFieldSet(this, _UMTSimpleClass_LocalDate, constructorLocalDateValue, "f");
25
- __classPrivateFieldSet(this, _UMTSimpleClass_LocalMath, constructorLocalMathValue, "f");
26
- __classPrivateFieldSet(this, _UMTSimpleClass_LocalTool, constructorLocalToolValue, "f");
19
+ constructor(constructorLocalDateValue, constructorLocalToolValue) {
20
+ _UMTSimpleClass_Local_Date.set(this, void 0);
21
+ _UMTSimpleClass_Local_Tool.set(this, void 0);
22
+ __classPrivateFieldSet(this, _UMTSimpleClass_Local_Date, constructorLocalDateValue, "f");
23
+ __classPrivateFieldSet(this, _UMTSimpleClass_Local_Tool, constructorLocalToolValue, "f");
27
24
  }
28
25
  get Date() {
29
- return __classPrivateFieldGet(this, _UMTSimpleClass_LocalDate, "f");
30
- }
31
- get Math() {
32
- return __classPrivateFieldGet(this, _UMTSimpleClass_LocalMath, "f");
26
+ return __classPrivateFieldGet(this, _UMTSimpleClass_Local_Date, "f");
33
27
  }
34
28
  get Tool() {
35
- return __classPrivateFieldGet(this, _UMTSimpleClass_LocalTool, "f");
29
+ return __classPrivateFieldGet(this, _UMTSimpleClass_Local_Tool, "f");
36
30
  }
37
31
  }
38
32
  exports.UMTSimpleClass = UMTSimpleClass;
39
- _UMTSimpleClass_LocalDate = new WeakMap(), _UMTSimpleClass_LocalMath = new WeakMap(), _UMTSimpleClass_LocalTool = new WeakMap();
40
- exports.UMT_Simple = new UMTSimpleClass(new index_1.UMTSimpleDateClass(), new Math_1.UMTSimpleMathClass(), new Tool_1.UMTSimpleToolClass());
33
+ _UMTSimpleClass_Local_Date = new WeakMap(), _UMTSimpleClass_Local_Tool = new WeakMap();
34
+ exports.UMT_Simple = new UMTSimpleClass(new index_1.UMTSimpleDateClass(), new Tool_1.UMTSimpleToolClass());