@sheetxl/formulas 0.7.28-beta.4 → 0.8.0-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -22
- package/browser/esm/{DQXZXiayIDbfnOUM.mjs → -sN4SmS9cUOrcjVR.mjs} +1 -1
- package/browser/esm/{K0CU2XaCnJJwh9a5.mjs → 0Q46gxHg8afOLJ7K.mjs} +37 -3
- package/{node/esm/B2zbBC2YuaYszbHd.mjs → browser/esm/B-Ig6HWcV53g7Zy0.mjs} +1 -1
- package/browser/esm/{ec8i9mVgadWEbuYy.mjs → B3LvTqivuAJYZW9O.mjs} +1 -1
- package/browser/esm/{CB4iUafw8x-4z_ff.mjs → B52kG70ukWJKrVHl.mjs} +2 -5
- package/browser/esm/{BXyQ76W9hObzOdf2.mjs → B9GCCzx3ZtHrtgsZ.mjs} +1 -1
- package/{node/esm/CmxGNGhfoNTz4Ku7.mjs → browser/esm/BCRhRyTDe0QO3_TF.mjs} +2 -2
- package/browser/esm/{DNz39xRoqy8IPYb3.mjs → BTygNwyrCzzpikEl.mjs} +1 -1
- package/{node/esm/BIxWkCV-r5U5zPnQ.mjs → browser/esm/C1TlAj8cFI90ziZT.mjs} +51 -11
- package/browser/esm/{Ctxig2_c-GErg911.mjs → C2WtsJFzD2GtwSHc.mjs} +69 -4
- package/{node/esm/BM0KaGfI1Lqav17f.mjs → browser/esm/C2nw0NszguSU0idO.mjs} +1 -1
- package/browser/esm/{AuzqFslmIMxseCn8.mjs → CXDwT-uLbi_ZUF6Q.mjs} +1 -1
- package/browser/esm/{jFM2MqBdxFWP6QmN.mjs → CXvEGkvOOLo4v17T.mjs} +1 -1
- package/browser/esm/{B2b-ZmAhe94pNDT0.mjs → CYtUFqOZCtbGw6Sa.mjs} +1 -1
- package/browser/esm/{DIUPlZfIoj507k-C.mjs → CpGJ_hA0h7CW4Jwu.mjs} +1 -1
- package/{node/esm/CWI62PClHru85-mL.mjs → browser/esm/CrfZkfvKRkK2qzpP.mjs} +1 -1
- package/browser/esm/{BHG0YIMg5kOV3mNl.mjs → D-w_d2PrWN8kwM-Z.mjs} +1 -1
- package/browser/esm/{VRXC1SwOYSkv1Vs4.mjs → DG5YNbA9Ya6Uu3DG.mjs} +1 -1
- package/{node/esm/ymPI-MJUjuYe2n5v.mjs → browser/esm/DO9cbfqY2roOBQQi.mjs} +1 -1
- package/{node/esm/Co7O0P5yM1i0exNK.mjs → browser/esm/DYoyWWN86dEdpzVg.mjs} +1 -1
- package/browser/esm/{wDeMNrClyQscDTwZ.mjs → D_PYZQxUASNNORTU.mjs} +48 -2
- package/{node/esm/DjFalvyAcEOwNagC.mjs → browser/esm/KekfJtUQq6sPOmPq.mjs} +1 -1
- package/browser/esm/{DiV1y5wtlmlsRDfm.mjs → PDRj7r-fmSBrQgPS.mjs} +1 -1
- package/browser/esm/index.mjs +5186 -5889
- package/licenses/dependencies.txt +0 -33
- package/node/esm/{DQXZXiayIDbfnOUM.mjs → -sN4SmS9cUOrcjVR.mjs} +1 -1
- package/node/esm/{K0CU2XaCnJJwh9a5.mjs → 0Q46gxHg8afOLJ7K.mjs} +37 -3
- package/{browser/esm/B2zbBC2YuaYszbHd.mjs → node/esm/B-Ig6HWcV53g7Zy0.mjs} +1 -1
- package/node/esm/{CB4iUafw8x-4z_ff.mjs → B52kG70ukWJKrVHl.mjs} +2 -5
- package/node/esm/{BXyQ76W9hObzOdf2.mjs → B9GCCzx3ZtHrtgsZ.mjs} +1 -1
- package/{browser/esm/CmxGNGhfoNTz4Ku7.mjs → node/esm/BCRhRyTDe0QO3_TF.mjs} +2 -2
- package/node/esm/{Dnrd8jP_j1AWCUX6.mjs → BN0QCtL-dZU8U-hd.mjs} +1 -1
- package/node/esm/{8_dh9QnzvNBCvWpp.mjs → Bp4XujtHH5z4dKlz.mjs} +1 -1
- package/{browser/esm/BIxWkCV-r5U5zPnQ.mjs → node/esm/C--VBbIp253pJfw9.mjs} +51 -11
- package/node/esm/{BsBiI5HHw7jjXgp5.mjs → C-jlV3objhN9hpyt.mjs} +1 -1
- package/node/esm/{D1iK18Nn8mRQo6Fk.mjs → C1Qq-yVzO0uZUnVb.mjs} +1 -1
- package/node/esm/{Ctxig2_c-GErg911.mjs → C2WtsJFzD2GtwSHc.mjs} +69 -4
- package/{browser/esm/BM0KaGfI1Lqav17f.mjs → node/esm/C2nw0NszguSU0idO.mjs} +1 -1
- package/node/esm/{B2b-ZmAhe94pNDT0.mjs → CYtUFqOZCtbGw6Sa.mjs} +1 -1
- package/node/esm/{DcSbVdpEmRbpaZf0.mjs → Cf28UVIhJr5Y-_24.mjs} +1 -1
- package/node/esm/{wDeMNrClyQscDTwZ.mjs → CkO4Hx9aLq7m3emI.mjs} +48 -2
- package/{browser/esm/CWI62PClHru85-mL.mjs → node/esm/CrfZkfvKRkK2qzpP.mjs} +1 -1
- package/node/esm/{BHG0YIMg5kOV3mNl.mjs → D-w_d2PrWN8kwM-Z.mjs} +1 -1
- package/node/esm/{VRXC1SwOYSkv1Vs4.mjs → DG5YNbA9Ya6Uu3DG.mjs} +1 -1
- package/{browser/esm/ymPI-MJUjuYe2n5v.mjs → node/esm/DO9cbfqY2roOBQQi.mjs} +1 -1
- package/{browser/esm/Co7O0P5yM1i0exNK.mjs → node/esm/DYoyWWN86dEdpzVg.mjs} +1 -1
- package/{browser/esm/DjFalvyAcEOwNagC.mjs → node/esm/KekfJtUQq6sPOmPq.mjs} +1 -1
- package/node/esm/{DiV1y5wtlmlsRDfm.mjs → PDRj7r-fmSBrQgPS.mjs} +1 -1
- package/node/esm/index.mjs +5778 -4648
- package/package.json +6 -8
- package/types/src/.generated/decl/dateTime/Date.decl.d.ts +2 -1
- package/types/src/.generated/decl/information/Information.decl.d.ts +2 -1
- package/types/src/.generated/decl/lookupReference/Reference.decl.d.ts +2 -1
- package/types/src/.generated/decl/mathTrig/Math.decl.d.ts +2 -1
- package/types/src/.generated/desc/dateTime/Date.desc.d.ts +2 -1
- package/types/src/.generated/desc/information/Information.desc.d.ts +2 -1
- package/types/src/.generated/desc/lookupReference/Reference.desc.d.ts +2 -1
- package/types/src/.generated/desc/mathTrig/Math.desc.d.ts +2 -1
- package/types/src/_utils/AValues.d.ts +30 -0
- package/types/src/_utils/AggregateIFS.d.ts +5 -3
- package/types/src/_utils/Arithmetic.d.ts +36 -0
- package/types/src/_utils/Combinatorics.d.ts +20 -0
- package/types/src/_utils/Distributions.d.ts +94 -0
- package/types/src/_utils/Errors.d.ts +1 -20
- package/types/src/_utils/FirstCell.d.ts +32 -0
- package/types/src/_utils/Matrix.d.ts +31 -0
- package/types/src/_utils/SpecialFunctions.d.ts +91 -0
- package/types/src/_utils/X87.d.ts +28 -0
- package/types/src/database/Database.d.ts +25 -25
- package/types/src/dateTime/Date.d.ts +250 -41
- package/types/src/engineering/Bessel.d.ts +9 -9
- package/types/src/engineering/Bitwise.d.ts +35 -35
- package/types/src/engineering/Convert.d.ts +3 -3
- package/types/src/engineering/Engineering.d.ts +5 -5
- package/types/src/engineering/Error.d.ts +9 -9
- package/types/src/engineering/Imaginary.d.ts +54 -54
- package/types/src/information/Information.d.ts +124 -55
- package/types/src/japanese/Date.d.ts +2 -2
- package/types/src/japanese/Text.d.ts +1 -1
- package/types/src/logical/Logical.d.ts +45 -39
- package/types/src/lookupReference/Reference.d.ts +212 -86
- package/types/src/mathTrig/Math.d.ts +499 -149
- package/types/src/mathTrig/Trig.d.ts +26 -22
- package/types/src/operators/Operators.d.ts +15 -15
- package/types/src/statistical/Distribution.d.ts +157 -161
- package/types/src/statistical/Statistical.d.ts +37 -37
- package/types/src/testing/Testing.d.ts +2 -2
- package/types/src/text/Text.d.ts +119 -54
- package/types/src/thai/Text.d.ts +1 -1
- package/types/src/web/FilterXML.d.ts +1 -1
- package/types/src/web/Web.d.ts +2 -2
- package/browser/cjs/1XrWGMP3GmsQOMIX.cjs +0 -1
- package/browser/cjs/49_x589Na12sizKK.cjs +0 -1
- package/browser/cjs/4nReftSsKWmnRdtf.cjs +0 -1
- package/browser/cjs/507hQYooKKjnRzsZ.cjs +0 -1
- package/browser/cjs/BAxVLKkxFgI6cXnR.cjs +0 -1
- package/browser/cjs/BK0SCfN_VZYqBxoQ.cjs +0 -1
- package/browser/cjs/Btc0Nzu40VYOpzLX.cjs +0 -1
- package/browser/cjs/C9C-pr-T_ThweQX9.cjs +0 -1
- package/browser/cjs/CJYewYJ5Z3iojl7J.cjs +0 -1
- package/browser/cjs/CRx1WvmgBjT8WVyB.cjs +0 -1
- package/browser/cjs/CV4KQsHluMqo1I2Q.cjs +0 -1
- package/browser/cjs/CXlzsh_WHCOsErJ1.cjs +0 -1
- package/browser/cjs/CpJJh4UnFl1_qFui.cjs +0 -1
- package/browser/cjs/CrZlUtdX1h2RUnCP.cjs +0 -1
- package/browser/cjs/D8-KovdJ0LjxqCe2.cjs +0 -1
- package/browser/cjs/DCIlWcGDrp-5PDoA.cjs +0 -1
- package/browser/cjs/DDnGLOLTqLFsdUDS.cjs +0 -1
- package/browser/cjs/DG2kqsWRUtVugjay.cjs +0 -1
- package/browser/cjs/DM7-R_ltoLbA9jde.cjs +0 -1
- package/browser/cjs/DNKyaSruDogoBd2H.cjs +0 -1
- package/browser/cjs/Du4jBiFxRIF1OjD4.cjs +0 -1
- package/browser/cjs/EeOVMRq7TuptFKTc.cjs +0 -1
- package/browser/cjs/Kvn916ebqGc4t6hv.cjs +0 -1
- package/browser/cjs/aONv0Ys3C8xmnaR8.cjs +0 -1
- package/browser/cjs/index.cjs +0 -1
- package/browser/cjs/z_rZE1OHFPpdGBh4.cjs +0 -1
- package/browser/esm/74anAHR6YDREjbgI.mjs +0 -24
- package/browser/esm/BebVPCumXxQqABDP.mjs +0 -21
- package/node/esm/74anAHR6YDREjbgI.mjs +0 -24
- package/node/esm/BebVPCumXxQqABDP.mjs +0 -21
- package/types/src/.generated/decl/lookupReference/GroupBy.decl.d.ts +0 -4
- package/types/src/.generated/decl/lookupReference/PivotBy.decl.d.ts +0 -4
- package/types/src/.generated/desc/lookupReference/GroupBy.desc.d.ts +0 -4
- package/types/src/.generated/desc/lookupReference/PivotBy.desc.d.ts +0 -4
- package/types/src/lookupReference/GroupBy.d.ts +0 -19
- package/types/src/lookupReference/PivotBy.d.ts +0 -24
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { AcceptError, Scalar, IRange, IReferenceRange, Repeating } from '@sheetxl/primitives';
|
|
1
|
+
import { FormulaError, AcceptError, Scalar, IRange, IReferenceRange, Repeating, ReportType } from '@sheetxl/primitives';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Returns the average of the absolute deviations of data points from their mean. Arguments can be numbers or names, arrays, or references that contain numbers.
|
|
4
4
|
* @param number are 1 to 255 arguments for which you want the average of the absolute deviations.
|
|
5
5
|
*/
|
|
6
6
|
export declare function AVEDEV(number: IRange<number>[]): number;
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Returns the average (arithmetic mean) of its arguments, which can be numbers or names, arrays, or references that contain numbers.
|
|
9
9
|
* @param number are 1 to 255 numeric arguments for which you want the average.
|
|
10
10
|
*/
|
|
11
11
|
export declare function AVERAGE(number: IRange<number>[]): number;
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Returns the average (arithmetic mean) of its arguments, evaluating text and FALSE in arguments as 0; TRUE evaluates as 1. Arguments can be numbers, names, arrays, or references.
|
|
14
14
|
* @param value are 1 to 255 arguments for which you want the average.
|
|
15
15
|
*/
|
|
16
16
|
export declare function AVERAGEA(value: IRange<number>[]): number;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Finds average(arithmetic mean) for the cells specified by a given condition or criteria.
|
|
19
19
|
* @param range is the range of cells you want evaluated.
|
|
20
20
|
* @param criteria is the condition or criteria in the form of a number, expression, or text that defines which cells will be used to find the average.
|
|
21
21
|
* @param averageRange are the actual cells to be used to find the average. If omitted, the cells in range are used.
|
|
22
22
|
*/
|
|
23
|
-
export declare function AVERAGEIF(range:
|
|
23
|
+
export declare function AVERAGEIF(range: IReferenceRange, criteria: AcceptError<Scalar>, averageRange?: IReferenceRange): Scalar;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Finds average(arithmetic mean) for the cells specified by a given set of conditions or criteria.
|
|
26
26
|
* @param averageRange are the actual cells to be used to find the average.
|
|
27
27
|
* @param criteria the ranges to evaluate and the conditions to evaluate them against.
|
|
28
28
|
* @param criteria.criteriaRange is the range of cells you want evaluated for the particular condition.
|
|
29
29
|
* @param criteria.criteria is the condition or criteria in the form of a number, expression, or text that defines which cells will be used to find the average.
|
|
30
30
|
*/
|
|
31
|
-
export declare function AVERAGEIFS(averageRange:
|
|
31
|
+
export declare function AVERAGEIFS(averageRange: IReferenceRange, criteria: Repeating<[criteriaRange: IReferenceRange, criteria: AcceptError<Scalar>]>): Scalar;
|
|
32
32
|
/**
|
|
33
|
+
* Finds the weighted average of a set of values, given the values and the corresponding weights.
|
|
33
34
|
* @name AVERAGE.WEIGHTED
|
|
34
|
-
* @summary Finds the weighted average of a set of values, given the values and the corresponding weights.
|
|
35
35
|
* @param values the values to average and the weights to apply to them.
|
|
36
36
|
* @param values.values are the values to be averaged.
|
|
37
37
|
* @param values.weights are the corresponding weights to apply. A weight may be zero but not negative.
|
|
@@ -39,66 +39,66 @@ export declare function AVERAGEIFS(averageRange: AcceptError<IRange>, criteria:
|
|
|
39
39
|
*/
|
|
40
40
|
export declare function AVERAGE_WEIGHTED(values: Repeating<[values: IRange, weights: IRange]>): number;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* Counts the number of cells in a range that contain numbers.
|
|
43
43
|
* @param number are 1 to 255 arguments that can contain or refer to a variety of different types of data, but only numbers are counted.
|
|
44
44
|
*/
|
|
45
45
|
export declare function COUNT(number: AcceptError<IRange<number>>[]): number;
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
47
|
+
* Counts the number of cells in a range that are not empty.
|
|
48
48
|
* @param value are 1 to 255 arguments representing the values and cells you want to count. Values can be any type of information.
|
|
49
49
|
*/
|
|
50
50
|
export declare function COUNTA(value: AcceptError<IRange<number>>[]): number;
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
52
|
+
* Counts the number of empty cells in a specified range of cells.
|
|
53
53
|
* @param range is the range from which you want to count the empty cells.
|
|
54
54
|
*/
|
|
55
|
-
export declare function COUNTBLANK(range:
|
|
55
|
+
export declare function COUNTBLANK(range: IReferenceRange): number | FormulaError.Known;
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* Counts the number of cells within a range that meet the given condition.
|
|
58
58
|
* @param range is the range of cells from which you want to count nonblank cells.
|
|
59
59
|
* @param criteria is the condition in the form of a number, expression, or text that defines which cells will be counted.
|
|
60
60
|
*/
|
|
61
|
-
export declare function COUNTIF(range:
|
|
61
|
+
export declare function COUNTIF(range: IReferenceRange, criteria: AcceptError<Scalar>): Scalar;
|
|
62
62
|
/**
|
|
63
|
-
*
|
|
63
|
+
* Counts the number of cells specified by a given set of conditions or criteria.
|
|
64
64
|
* @param criteria the ranges to evaluate and the conditions to evaluate them against.
|
|
65
65
|
* @param criteria.criteriaRange is the range of cells you want evaluated for the particular condition.
|
|
66
66
|
* @param criteria.criteria is the condition in the form of a number, expression, or text that defines which cells will be counted.
|
|
67
67
|
*/
|
|
68
|
-
export declare function COUNTIFS(criteria: Repeating<[criteriaRange:
|
|
68
|
+
export declare function COUNTIFS(criteria: Repeating<[criteriaRange: IReferenceRange, criteria: AcceptError<Scalar>]>): Scalar;
|
|
69
69
|
/**
|
|
70
|
-
*
|
|
70
|
+
* Counts the number of unique values in a list of specified values and ranges.
|
|
71
71
|
* @param value are the values or ranges to consider for uniqueness.
|
|
72
72
|
* @category Sheets
|
|
73
73
|
*/
|
|
74
74
|
export declare function COUNTUNIQUE(value: AcceptError<IRange>[]): number;
|
|
75
75
|
/**
|
|
76
|
-
*
|
|
76
|
+
* Counts the number of unique values in a range of cells, filtered by a set of criteria.
|
|
77
77
|
* @param countUniqueRange is the range from which the unique values will be counted.
|
|
78
78
|
* @param criteria the ranges to evaluate and the conditions to evaluate them against.
|
|
79
79
|
* @param criteria.criteriaRange is the range of cells you want evaluated for the particular condition.
|
|
80
80
|
* @param criteria.criteria is the condition in the form of a number, expression, or text that defines which cells will be counted.
|
|
81
81
|
* @category Sheets
|
|
82
82
|
*/
|
|
83
|
-
export declare function COUNTUNIQUEIFS(countUniqueRange:
|
|
83
|
+
export declare function COUNTUNIQUEIFS(countUniqueRange: IRange, criteria: Repeating<[criteriaRange: IReferenceRange, criteria: AcceptError<Scalar>]>): number;
|
|
84
84
|
/**
|
|
85
|
-
*
|
|
85
|
+
* Returns the k-th largest value in a data set. For example, the fifth largest number.
|
|
86
86
|
* @param array is the array or range of data for which you want to determine the k-th largest value.
|
|
87
87
|
* @param k is the position (from the largest) in the array or cell range of the value to return.
|
|
88
88
|
*/
|
|
89
|
-
export declare function LARGE(array: IRange<number
|
|
89
|
+
export declare function LARGE(array: ReportType<IRange<number>>, k: number): number;
|
|
90
90
|
/**
|
|
91
|
-
*
|
|
91
|
+
* Returns the largest value in a set of values. Ignores logical values and text.
|
|
92
92
|
* @param number are 1 to 255 numbers, empty cells, logical values, or text numbers for which you want the maximum.
|
|
93
93
|
*/
|
|
94
94
|
export declare function MAX(number: IRange<number>[]): number;
|
|
95
95
|
/**
|
|
96
|
-
*
|
|
96
|
+
* Returns the largest value in a set of values. Does not ignore logical values and text.
|
|
97
97
|
* @param value are 1 to 255 numbers, empty cells, logical values, or text numbers for which you want the maximum.
|
|
98
98
|
*/
|
|
99
99
|
export declare function MAXA(value: IRange<number>[]): number;
|
|
100
100
|
/**
|
|
101
|
-
*
|
|
101
|
+
* Returns the maximum value for the cells within a range that meet the given condition.
|
|
102
102
|
* @param range is the range of cells from which you want to find the maximum nonblank cells.
|
|
103
103
|
* @param criteria is the condition in the form of a number, expression, or text that defines which cells will be counted.
|
|
104
104
|
* @param maxRange are the actual cells to be used to find the maximum. If omitted, the cells in range are used.
|
|
@@ -106,30 +106,30 @@ export declare function MAXA(value: IRange<number>[]): number;
|
|
|
106
106
|
*/
|
|
107
107
|
export declare function MAXIF(range: IReferenceRange, criteria: Scalar, maxRange?: IReferenceRange): Scalar;
|
|
108
108
|
/**
|
|
109
|
-
*
|
|
109
|
+
* Returns the maximum value among cells specified by a given set of conditions or criteria.
|
|
110
110
|
* @param maxRange the cells in which to determine the maximum value.
|
|
111
111
|
* @param criteria the ranges to evaluate and the conditions to evaluate them against.
|
|
112
112
|
* @param criteria.criteriaRange is the range of cells you want to evaluate for the particular condition.
|
|
113
113
|
* @param criteria.criteria is the condition or criteria in the form of a number, expression, or text that defines which cells will be included when determining the maximum value.
|
|
114
114
|
*/
|
|
115
|
-
export declare function MAXIFS(maxRange:
|
|
115
|
+
export declare function MAXIFS(maxRange: IReferenceRange, criteria: Repeating<[criteriaRange: IReferenceRange, criteria: AcceptError<Scalar>], 254>): Scalar;
|
|
116
116
|
/**
|
|
117
|
-
*
|
|
117
|
+
* Returns the median, or the number in the middle of the set of given numbers.
|
|
118
118
|
* @param number are 1 to 255 numbers or names, arrays, or references that contain numbers for which you want the median.
|
|
119
119
|
*/
|
|
120
120
|
export declare function MEDIAN(number: IRange<number>[]): number;
|
|
121
121
|
/**
|
|
122
|
-
*
|
|
122
|
+
* Returns the smallest number in a set of values. Ignores logical values and text.
|
|
123
123
|
* @param number are 1 to 255 numbers, empty cells, logical values, or text numbers for which you want the minimum.
|
|
124
124
|
*/
|
|
125
125
|
export declare function MIN(number: IRange<number>[]): number;
|
|
126
126
|
/**
|
|
127
|
-
*
|
|
127
|
+
* Returns the smallest value in a set of values. Does not ignore logical values and text.
|
|
128
128
|
* @param value are 1 to 255 numbers, empty cells, logical values, or text numbers for which you want the minimum.
|
|
129
129
|
*/
|
|
130
130
|
export declare function MINA(value: IRange<number>[]): number;
|
|
131
131
|
/**
|
|
132
|
-
*
|
|
132
|
+
* Returns the minimum value for the cells within a range that meet the given condition.
|
|
133
133
|
* @param range is the range of cells from which you want to count nonblank cells.
|
|
134
134
|
* @param criteria is the condition in the form of a number, expression, or text that defines which cells will be counted.
|
|
135
135
|
* @param minRange are the actual cells to be used to find the minimum. If omitted, the cells in range are used.
|
|
@@ -137,29 +137,29 @@ export declare function MINA(value: IRange<number>[]): number;
|
|
|
137
137
|
*/
|
|
138
138
|
export declare function MINIF(range: IReferenceRange, criteria: Scalar, minRange?: IReferenceRange): Scalar;
|
|
139
139
|
/**
|
|
140
|
-
*
|
|
140
|
+
* Returns the minimum value among cells specified by a given set of conditions or criteria.
|
|
141
141
|
* @param minRange is the range of cells to evaluate for the minimum value.
|
|
142
142
|
* @param criteria the ranges to evaluate and the conditions to evaluate them against.
|
|
143
143
|
* @param criteria.criteriaRange is the range of cells to evaluate against the criteria.
|
|
144
144
|
* @param criteria.criteria is the criteria to evaluate against the criteria range.
|
|
145
145
|
*/
|
|
146
|
-
export declare function MINIFS(minRange:
|
|
146
|
+
export declare function MINIFS(minRange: IReferenceRange, criteria: Repeating<[criteriaRange: IReferenceRange, criteria: AcceptError<Scalar>], 254>): Scalar;
|
|
147
147
|
/**
|
|
148
|
-
*
|
|
148
|
+
* Returns the number of permutations for a given number of objects that can be selected from the total objects.
|
|
149
149
|
* @param number is the total number of objects.
|
|
150
150
|
* @param numberChoosen is the number of objects in each permutation.
|
|
151
151
|
*/
|
|
152
152
|
export declare function PERMUT(number: number, numberChoosen: number): number;
|
|
153
153
|
/**
|
|
154
|
-
*
|
|
154
|
+
* Returns the number of permutations for a given number of objects (with repetitions) that can be selected from the total objects.
|
|
155
155
|
* @param number is the total number of objects.
|
|
156
156
|
* @param numberChoosen is the number of objects in each permutation.
|
|
157
157
|
*/
|
|
158
158
|
export declare function PERMUTATIONA(number: number, numberChoosen: number): number;
|
|
159
159
|
/**
|
|
160
|
-
*
|
|
160
|
+
* Returns the k-th smallest value in a data set. For example, the fifth smallest number.
|
|
161
161
|
* @param array is an array or range of numerical data for which you want to determine the k-th smallest value.
|
|
162
162
|
* @param k is the position (from the smallest) in the array or range of the value to return.
|
|
163
163
|
*/
|
|
164
|
-
export declare function SMALL(array: IRange<number
|
|
164
|
+
export declare function SMALL(array: ReportType<IRange<number>>, k: number): number;
|
|
165
165
|
//# sourceMappingURL=Statistical.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Scalar, IRange } from '@sheetxl/primitives';
|
|
2
2
|
/**
|
|
3
|
+
* Returns the input value after a delay.
|
|
3
4
|
* @hidden Testing
|
|
4
|
-
* @summary Returns the input value after a delay.
|
|
5
5
|
* @param time the delay time in milliseconds. Default is 1000ms (1 second).
|
|
6
6
|
* @param input returns the input.
|
|
7
7
|
* @param label optional label for the delay function.
|
|
@@ -12,8 +12,8 @@ declare global {
|
|
|
12
12
|
var debugEventTarget: EventTarget | undefined;
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
|
+
* Starts waiting for event
|
|
15
16
|
* @hidden Testing
|
|
16
|
-
* @summary Starts waiting for event
|
|
17
17
|
* @param type the type of message.
|
|
18
18
|
* @param input an optional dependency.
|
|
19
19
|
*
|