@univerjs/engine-formula 0.2.14 → 0.3.0-alpha.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.
Files changed (93) hide show
  1. package/lib/cjs/index.js +2 -2
  2. package/lib/es/index.js +2744 -886
  3. package/lib/types/basics/engineering.d.ts +2 -0
  4. package/lib/types/basics/statistical.d.ts +32 -0
  5. package/lib/types/engine/reference-object/base-reference-object.d.ts +1 -1
  6. package/lib/types/engine/utils/compare.d.ts +11 -3
  7. package/lib/types/engine/value-object/array-value-object.d.ts +12 -1
  8. package/lib/types/engine/value-object/lambda-value-object.d.ts +2 -2
  9. package/lib/types/functions/base-function.d.ts +6 -6
  10. package/lib/types/functions/compatibility/betadist/__tests__/index.spec.d.ts +16 -0
  11. package/lib/types/functions/compatibility/betadist/index.d.ts +8 -0
  12. package/lib/types/functions/compatibility/normsdist/__tests__/index.spec.d.ts +16 -0
  13. package/lib/types/functions/compatibility/normsdist/index.d.ts +8 -0
  14. package/lib/types/functions/logical/bycol/index.d.ts +3 -1
  15. package/lib/types/functions/logical/byrow/index.d.ts +3 -1
  16. package/lib/types/functions/logical/map/index.d.ts +3 -1
  17. package/lib/types/functions/logical/reduce/index.d.ts +3 -1
  18. package/lib/types/functions/logical/scan/index.d.ts +3 -1
  19. package/lib/types/functions/lookup/offset/index.d.ts +1 -1
  20. package/lib/types/functions/lookup/xlookup/index.d.ts +8 -2
  21. package/lib/types/functions/lookup/xmatch/index.d.ts +1 -2
  22. package/lib/types/functions/math/function-map.d.ts +1 -1
  23. package/lib/types/functions/statistical/beta-dist/__tests__/index.spec.d.ts +16 -0
  24. package/lib/types/functions/statistical/beta-dist/index.d.ts +8 -0
  25. package/lib/types/functions/statistical/beta-inv/__tests__/index.spec.d.ts +16 -0
  26. package/lib/types/functions/statistical/beta-inv/index.d.ts +8 -0
  27. package/lib/types/functions/statistical/binom-dist/__tests__/index.spec.d.ts +16 -0
  28. package/lib/types/functions/statistical/binom-dist/index.d.ts +8 -0
  29. package/lib/types/functions/statistical/binom-dist-range/__tests__/index.spec.d.ts +16 -0
  30. package/lib/types/functions/statistical/binom-dist-range/index.d.ts +8 -0
  31. package/lib/types/functions/statistical/binom-inv/__tests__/index.spec.d.ts +16 -0
  32. package/lib/types/functions/statistical/binom-inv/index.d.ts +8 -0
  33. package/lib/types/functions/statistical/chisq-dist/__tests__/index.spec.d.ts +16 -0
  34. package/lib/types/functions/statistical/chisq-dist/index.d.ts +8 -0
  35. package/lib/types/functions/statistical/chisq-dist-rt/__tests__/index.spec.d.ts +16 -0
  36. package/lib/types/functions/statistical/chisq-dist-rt/index.d.ts +8 -0
  37. package/lib/types/functions/statistical/chisq-inv/__tests__/index.spec.d.ts +16 -0
  38. package/lib/types/functions/statistical/chisq-inv/index.d.ts +8 -0
  39. package/lib/types/functions/statistical/chisq-inv-rt/__tests__/index.spec.d.ts +16 -0
  40. package/lib/types/functions/statistical/chisq-inv-rt/index.d.ts +8 -0
  41. package/lib/types/functions/statistical/chisq-test/__tests__/index.spec.d.ts +16 -0
  42. package/lib/types/functions/statistical/chisq-test/index.d.ts +8 -0
  43. package/lib/types/functions/statistical/confidence-norm/__tests__/index.spec.d.ts +16 -0
  44. package/lib/types/functions/statistical/confidence-norm/index.d.ts +7 -0
  45. package/lib/types/functions/statistical/confidence-t/__tests__/index.spec.d.ts +16 -0
  46. package/lib/types/functions/statistical/confidence-t/index.d.ts +7 -0
  47. package/lib/types/functions/statistical/correl/__tests__/index.spec.d.ts +16 -0
  48. package/lib/types/functions/statistical/correl/index.d.ts +8 -0
  49. package/lib/types/functions/statistical/covariance-p/__tests__/index.spec.d.ts +16 -0
  50. package/lib/types/functions/statistical/covariance-p/index.d.ts +8 -0
  51. package/lib/types/functions/statistical/covariance-s/__tests__/index.spec.d.ts +16 -0
  52. package/lib/types/functions/statistical/covariance-s/index.d.ts +8 -0
  53. package/lib/types/functions/statistical/devsq/__tests__/index.spec.d.ts +16 -0
  54. package/lib/types/functions/statistical/devsq/index.d.ts +8 -0
  55. package/lib/types/functions/statistical/expon-dist/__tests__/index.spec.d.ts +16 -0
  56. package/lib/types/functions/statistical/expon-dist/index.d.ts +8 -0
  57. package/lib/types/functions/statistical/f-dist/__tests__/index.spec.d.ts +16 -0
  58. package/lib/types/functions/statistical/f-dist/index.d.ts +8 -0
  59. package/lib/types/functions/statistical/f-dist-rt/__tests__/index.spec.d.ts +16 -0
  60. package/lib/types/functions/statistical/f-dist-rt/index.d.ts +8 -0
  61. package/lib/types/functions/statistical/f-inv/__tests__/index.spec.d.ts +16 -0
  62. package/lib/types/functions/statistical/f-inv/index.d.ts +8 -0
  63. package/lib/types/functions/statistical/f-inv-rt/__tests__/index.spec.d.ts +16 -0
  64. package/lib/types/functions/statistical/f-inv-rt/index.d.ts +8 -0
  65. package/lib/types/functions/statistical/f-test/__tests__/index.spec.d.ts +16 -0
  66. package/lib/types/functions/statistical/f-test/index.d.ts +8 -0
  67. package/lib/types/functions/statistical/fisher/__tests__/index.spec.d.ts +16 -0
  68. package/lib/types/functions/statistical/fisher/index.d.ts +8 -0
  69. package/lib/types/functions/statistical/fisherinv/__tests__/index.spec.d.ts +16 -0
  70. package/lib/types/functions/statistical/fisherinv/index.d.ts +8 -0
  71. package/lib/types/functions/statistical/forecast/__tests__/index.spec.d.ts +16 -0
  72. package/lib/types/functions/statistical/forecast/index.d.ts +8 -0
  73. package/lib/types/functions/statistical/function-map.d.ts +1 -1
  74. package/lib/types/functions/statistical/intercept/__tests__/index.spec.d.ts +16 -0
  75. package/lib/types/functions/statistical/intercept/index.d.ts +8 -0
  76. package/lib/types/functions/statistical/norm-dist/__tests__/index.spec.d.ts +16 -0
  77. package/lib/types/functions/statistical/norm-dist/index.d.ts +8 -0
  78. package/lib/types/functions/statistical/norm-inv/__tests__/index.spec.d.ts +16 -0
  79. package/lib/types/functions/statistical/norm-inv/index.d.ts +8 -0
  80. package/lib/types/functions/statistical/norm-s-dist/__tests__/index.spec.d.ts +16 -0
  81. package/lib/types/functions/statistical/norm-s-dist/index.d.ts +8 -0
  82. package/lib/types/functions/statistical/norm-s-inv/__tests__/index.spec.d.ts +16 -0
  83. package/lib/types/functions/statistical/norm-s-inv/index.d.ts +8 -0
  84. package/lib/types/functions/text/function-map.d.ts +1 -1
  85. package/lib/types/functions/text/leftb/__test__/index.spec.d.ts +16 -0
  86. package/lib/types/functions/text/leftb/index.d.ts +9 -0
  87. package/lib/types/functions/text/mid/__test__/index.spec.d.ts +16 -0
  88. package/lib/types/functions/text/mid/index.d.ts +8 -0
  89. package/lib/types/functions/text/textafter/index.d.ts +2 -1
  90. package/lib/types/functions/text/textbefore/index.d.ts +2 -1
  91. package/lib/types/index.d.ts +13 -13
  92. package/lib/umd/index.js +2 -2
  93. package/package.json +8 -8
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
@@ -0,0 +1,7 @@
1
+ import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
+ import { BaseFunction } from '../../base-function';
3
+ export declare class ConfidenceT extends BaseFunction {
4
+ minParams: number;
5
+ maxParams: number;
6
+ calculate(alpha: BaseValueObject, standardDev: BaseValueObject, size: BaseValueObject): BaseValueObject;
7
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
@@ -0,0 +1,8 @@
1
+ import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
+ import { BaseFunction } from '../../base-function';
3
+ export declare class Correl extends BaseFunction {
4
+ minParams: number;
5
+ maxParams: number;
6
+ calculate(array1: BaseValueObject, array2: BaseValueObject): BaseValueObject;
7
+ private _getResult;
8
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
@@ -0,0 +1,8 @@
1
+ import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
+ import { BaseFunction } from '../../base-function';
3
+ export declare class CovarianceP extends BaseFunction {
4
+ minParams: number;
5
+ maxParams: number;
6
+ calculate(array1: BaseValueObject, array2: BaseValueObject): BaseValueObject;
7
+ private _getResult;
8
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
@@ -0,0 +1,8 @@
1
+ import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
+ import { BaseFunction } from '../../base-function';
3
+ export declare class CovarianceS extends BaseFunction {
4
+ minParams: number;
5
+ maxParams: number;
6
+ calculate(array1: BaseValueObject, array2: BaseValueObject): BaseValueObject;
7
+ private _getResult;
8
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
@@ -0,0 +1,8 @@
1
+ import { BaseFunction } from '../../base-function';
2
+ import { BaseValueObject } from '../../../engine/value-object/base-value-object';
3
+ export declare class Devsq extends BaseFunction {
4
+ minParams: number;
5
+ maxParams: number;
6
+ calculate(...variants: BaseValueObject[]): BaseValueObject;
7
+ private _handleSingleObject;
8
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
@@ -0,0 +1,8 @@
1
+ import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
+ import { BaseFunction } from '../../base-function';
3
+ export declare class ExponDist extends BaseFunction {
4
+ minParams: number;
5
+ maxParams: number;
6
+ calculate(x: BaseValueObject, lambda: BaseValueObject, cumulative: BaseValueObject): BaseValueObject;
7
+ private _handleSignleObject;
8
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
@@ -0,0 +1,8 @@
1
+ import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
+ import { BaseFunction } from '../../base-function';
3
+ export declare class FDist extends BaseFunction {
4
+ minParams: number;
5
+ maxParams: number;
6
+ calculate(x: BaseValueObject, degFreedom1: BaseValueObject, degFreedom2: BaseValueObject, cumulative: BaseValueObject): BaseValueObject;
7
+ private _handleSignleObject;
8
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
@@ -0,0 +1,8 @@
1
+ import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
+ import { BaseFunction } from '../../base-function';
3
+ export declare class FDistRt extends BaseFunction {
4
+ minParams: number;
5
+ maxParams: number;
6
+ calculate(x: BaseValueObject, degFreedom1: BaseValueObject, degFreedom2: BaseValueObject): BaseValueObject;
7
+ private _handleSignleObject;
8
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
@@ -0,0 +1,8 @@
1
+ import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
+ import { BaseFunction } from '../../base-function';
3
+ export declare class FInv extends BaseFunction {
4
+ minParams: number;
5
+ maxParams: number;
6
+ calculate(probability: BaseValueObject, degFreedom1: BaseValueObject, degFreedom2: BaseValueObject): BaseValueObject;
7
+ private _handleSignleObject;
8
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
@@ -0,0 +1,8 @@
1
+ import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
+ import { BaseFunction } from '../../base-function';
3
+ export declare class FInvRt extends BaseFunction {
4
+ minParams: number;
5
+ maxParams: number;
6
+ calculate(probability: BaseValueObject, degFreedom1: BaseValueObject, degFreedom2: BaseValueObject): BaseValueObject;
7
+ private _handleSignleObject;
8
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
@@ -0,0 +1,8 @@
1
+ import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
+ import { BaseFunction } from '../../base-function';
3
+ export declare class FTest extends BaseFunction {
4
+ minParams: number;
5
+ maxParams: number;
6
+ calculate(array1: BaseValueObject, array2: BaseValueObject): BaseValueObject;
7
+ private _getValues;
8
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
@@ -0,0 +1,8 @@
1
+ import { BaseFunction } from '../../base-function';
2
+ import { BaseValueObject } from '../../../engine/value-object/base-value-object';
3
+ export declare class Fisher extends BaseFunction {
4
+ minParams: number;
5
+ maxParams: number;
6
+ calculate(x: BaseValueObject): BaseValueObject;
7
+ private _handleSingleObject;
8
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
@@ -0,0 +1,8 @@
1
+ import { BaseFunction } from '../../base-function';
2
+ import { BaseValueObject } from '../../../engine/value-object/base-value-object';
3
+ export declare class Fisherinv extends BaseFunction {
4
+ minParams: number;
5
+ maxParams: number;
6
+ calculate(y: BaseValueObject): BaseValueObject;
7
+ private _handleSingleObject;
8
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
@@ -0,0 +1,8 @@
1
+ import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
+ import { BaseFunction } from '../../base-function';
3
+ export declare class Forecast extends BaseFunction {
4
+ minParams: number;
5
+ maxParams: number;
6
+ calculate(x: BaseValueObject, knownYs: BaseValueObject, knownXs: BaseValueObject): BaseValueObject;
7
+ private _handleSignleObject;
8
+ }
@@ -1,4 +1,4 @@
1
- import { FUNCTION_NAMES_STATISTICAL } from './function-names';
2
1
  import { Averageif } from './averageif';
2
+ import { FUNCTION_NAMES_STATISTICAL } from './function-names';
3
3
  import { StdevP } from './stdev-p';
4
4
  export declare const functionStatistical: ((FUNCTION_NAMES_STATISTICAL | typeof Averageif)[] | (FUNCTION_NAMES_STATISTICAL | typeof StdevP)[])[];
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
@@ -0,0 +1,8 @@
1
+ import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
+ import { BaseFunction } from '../../base-function';
3
+ export declare class Intercept extends BaseFunction {
4
+ minParams: number;
5
+ maxParams: number;
6
+ calculate(knownYs: BaseValueObject, knownXs: BaseValueObject): BaseValueObject;
7
+ private _getResult;
8
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
@@ -0,0 +1,8 @@
1
+ import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
+ import { BaseFunction } from '../../base-function';
3
+ export declare class NormDist extends BaseFunction {
4
+ minParams: number;
5
+ maxParams: number;
6
+ calculate(x: BaseValueObject, mean: BaseValueObject, standardDev: BaseValueObject, cumulative: BaseValueObject): BaseValueObject;
7
+ private _handleSignleObject;
8
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
@@ -0,0 +1,8 @@
1
+ import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
+ import { BaseFunction } from '../../base-function';
3
+ export declare class NormInv extends BaseFunction {
4
+ minParams: number;
5
+ maxParams: number;
6
+ calculate(probability: BaseValueObject, mean: BaseValueObject, standardDev: BaseValueObject): BaseValueObject;
7
+ private _handleSignleObject;
8
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
@@ -0,0 +1,8 @@
1
+ import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
+ import { BaseFunction } from '../../base-function';
3
+ export declare class NormSDist extends BaseFunction {
4
+ minParams: number;
5
+ maxParams: number;
6
+ calculate(z: BaseValueObject, cumulative: BaseValueObject): BaseValueObject;
7
+ private _handleSignleObject;
8
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
@@ -0,0 +1,8 @@
1
+ import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
+ import { BaseFunction } from '../../base-function';
3
+ export declare class NormSInv extends BaseFunction {
4
+ minParams: number;
5
+ maxParams: number;
6
+ calculate(probability: BaseValueObject): BaseValueObject;
7
+ private _handleSignleObject;
8
+ }
@@ -1,6 +1,6 @@
1
- import { FUNCTION_NAMES_TEXT } from './function-names';
2
1
  import { Concat } from './concat';
3
2
  import { Concatenate } from './concatenate';
3
+ import { FUNCTION_NAMES_TEXT } from './function-names';
4
4
  import { Lower } from './lower';
5
5
  import { Textafter } from './textafter';
6
6
  import { Textbefore } from './textbefore';
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
@@ -0,0 +1,9 @@
1
+ import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
+ import { BaseFunction } from '../../base-function';
3
+ export declare class Leftb extends BaseFunction {
4
+ minParams: number;
5
+ maxParams: number;
6
+ calculate(text: BaseValueObject, numBytes?: BaseValueObject): BaseValueObject;
7
+ private _handleSingleText;
8
+ private _sliceByBytes;
9
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
@@ -0,0 +1,8 @@
1
+ import { BaseValueObject } from '../../../engine/value-object/base-value-object';
2
+ import { BaseFunction } from '../../base-function';
3
+ export declare class Mid extends BaseFunction {
4
+ minParams: number;
5
+ maxParams: number;
6
+ calculate(withinText: BaseValueObject, startNum: BaseValueObject, numChars: BaseValueObject): BaseValueObject;
7
+ private _handleSingleText;
8
+ }
@@ -1,7 +1,7 @@
1
- import { ArrayValueObject } from '../../../engine/value-object/array-value-object';
2
1
  import { BaseValueObject } from '../../../engine/value-object/base-value-object';
3
2
  import { StringValueObject } from '../../../engine/value-object/primitive-object';
4
3
  import { BaseFunction } from '../../base-function';
4
+ import { ArrayValueObject } from '../../../engine/value-object/array-value-object';
5
5
  export declare class Textafter extends BaseFunction {
6
6
  minParams: number;
7
7
  maxParams: number;
@@ -9,6 +9,7 @@ export declare class Textafter extends BaseFunction {
9
9
  private _getResultArray;
10
10
  private _checkVariantsError;
11
11
  private _getStringValue;
12
+ private _getDelimiterValue;
12
13
  private _getVariantsNumberFloorValue;
13
14
  private _getResult;
14
15
  }
@@ -1,7 +1,7 @@
1
- import { ArrayValueObject } from '../../../engine/value-object/array-value-object';
2
1
  import { BaseValueObject } from '../../../engine/value-object/base-value-object';
3
2
  import { StringValueObject } from '../../../engine/value-object/primitive-object';
4
3
  import { BaseFunction } from '../../base-function';
4
+ import { ArrayValueObject } from '../../../engine/value-object/array-value-object';
5
5
  export declare class Textbefore extends BaseFunction {
6
6
  minParams: number;
7
7
  maxParams: number;
@@ -9,6 +9,7 @@ export declare class Textbefore extends BaseFunction {
9
9
  private _getResultArray;
10
10
  private _checkVariantsError;
11
11
  private _getStringValue;
12
+ private _getDelimiterValue;
12
13
  private _getVariantsNumberFloorValue;
13
14
  private _getResult;
14
15
  }