@sheetxl/formulas 0.8.0-beta.1 → 0.8.0-beta.3
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/cjs/B6vy56yEA1I3B74O.cjs +1 -0
- package/browser/cjs/BcROQ4pvVajDQ1em.cjs +1 -0
- package/browser/cjs/{CRx1WvmgBjT8WVyB.cjs → C0g87ndP2zMUbX6f.cjs} +1 -1
- package/browser/cjs/C9q3zr8iCIoYDrdA.cjs +1 -0
- package/browser/cjs/CVHc_cJddJk7J3Zt.cjs +1 -0
- package/browser/cjs/{EeOVMRq7TuptFKTc.cjs → DF4l8xrxkcLkgExp.cjs} +1 -1
- package/browser/cjs/{Du4jBiFxRIF1OjD4.cjs → Dtxj9JR14A-uliu5.cjs} +1 -1
- package/browser/cjs/{CpJJh4UnFl1_qFui.cjs → Dx7GQ4ALtNG3kshu.cjs} +1 -1
- package/browser/cjs/index.cjs +1 -1
- package/{node/esm/Crb70T1Sp1S4uzq4.mjs → browser/esm/2fdplP7jj4bf9aCO.mjs} +2 -2
- package/browser/esm/{Bsb5i9Jq-Q8RTmvi.mjs → B7oeajl5_4jZhg1U.mjs} +1 -1
- package/browser/esm/{C7mAHEhFYDwSEU6O.mjs → BHET8V48YsNHt6OQ.mjs} +1 -1
- package/browser/esm/{DKFABgVKeBMflym9.mjs → BTdrlwsC44d78M6y.mjs} +1 -1
- package/browser/esm/{DtqLXxtPFISlNoUd.mjs → Bn3FsWESsJTzyaf4.mjs} +1 -1
- package/{node/esm/CCGjvL3YYwY09qF-.mjs → browser/esm/Bo7Cdsg6xFJcfM2I.mjs} +1 -1
- package/{node/esm/D2miaIrotHbpdWei.mjs → browser/esm/C-oFWt8pnPP-GVRA.mjs} +1 -1
- package/{node/esm/CkG4LZN-kb7plKXG.mjs → browser/esm/C5BfcrpiUcRVOBhm.mjs} +69 -4
- package/{node/esm/C9jpXFBeugwmOTbx.mjs → browser/esm/CCVWnizQrKmoAuCq.mjs} +2 -2
- package/browser/esm/{B7750ljsJF3qA9kU.mjs → COY1_1oXpyxOqH8F.mjs} +37 -3
- package/{node/esm/CG1Fn8D-2DrQZoD5.mjs → browser/esm/COxwtE73KoR2iWjR.mjs} +1 -1
- package/{node/esm/HgVmqQQhKQ_2v0HD.mjs → browser/esm/CiV3-7Z2N5XTPGpW.mjs} +2 -2
- package/{node/esm/CWAtVXxcIz86XLzE.mjs → browser/esm/Cvqs42hxCdRyGkOU.mjs} +1 -1
- package/browser/esm/{BYRjnggsufwbb27W.mjs → CyZAJHWFmctZ67Gr.mjs} +1 -1
- package/browser/esm/{-f-RKKojiLg94hp9.mjs → D0bH0XCUaTcJPN0I.mjs} +51 -11
- package/{node/esm/BzNFsi4RXuJrn_1n.mjs → browser/esm/D47uFhCNkVeulQHC.mjs} +1 -1
- package/{node/esm/Ct1gudv1TKk-5FMO.mjs → browser/esm/DFmMjSD0S1dmLV9j.mjs} +48 -2
- package/browser/esm/{B3pEie3jQN0SvV5B.mjs → DQFv41Ho5OgGtsO6.mjs} +1 -1
- package/browser/esm/{BR2ai1V5dGPphpRf.mjs → DZQP6n94wjUf7gh-.mjs} +2 -5
- package/browser/esm/{Cdl7ZalV6WPZHHRE.mjs → dInAtbi5okqOaY-T.mjs} +1 -1
- package/browser/esm/index.mjs +4863 -5072
- package/browser/esm/{Cyvobf2wi0quDD3U.mjs → jigjASYVbU6Fnqi2.mjs} +1 -1
- package/browser/esm/{CltdofO5ik8g_wQ8.mjs → lGpYdO1T9FmC6pk7.mjs} +1 -1
- package/browser/esm/{BM1YhvA2ppUZ3QLB.mjs → o_58F5W4flwhkBQc.mjs} +1 -1
- package/browser/esm/{CVv3DuciDQrnFFeu.mjs → vtj_jhVSTyj6cY8v.mjs} +1 -1
- package/browser/esm/{0amsHACCOHE_JjXI.mjs → y5kSs5KEnqsOSkuQ.mjs} +1 -1
- package/licenses/dependencies.txt +0 -33
- package/node/esm/{DxRD19RVMzj2YvKF.mjs → 2KrV5IunXEqYRPKJ.mjs} +1 -1
- package/{browser/esm/Crb70T1Sp1S4uzq4.mjs → node/esm/2fdplP7jj4bf9aCO.mjs} +2 -2
- package/{browser/esm/Ct1gudv1TKk-5FMO.mjs → node/esm/B8Q2nBHA3421d2De.mjs} +48 -2
- package/node/esm/{C7mAHEhFYDwSEU6O.mjs → BHET8V48YsNHt6OQ.mjs} +1 -1
- package/node/esm/{DKFABgVKeBMflym9.mjs → BTdrlwsC44d78M6y.mjs} +1 -1
- package/node/esm/{DtqLXxtPFISlNoUd.mjs → Bn3FsWESsJTzyaf4.mjs} +1 -1
- package/{browser/esm/CCGjvL3YYwY09qF-.mjs → node/esm/Bo7Cdsg6xFJcfM2I.mjs} +1 -1
- package/node/esm/{ZUay0bTGgyrF8e04.mjs → Bx-wAScb1XcOsbcE.mjs} +1 -1
- package/{browser/esm/D2miaIrotHbpdWei.mjs → node/esm/C-oFWt8pnPP-GVRA.mjs} +1 -1
- package/{browser/esm/CkG4LZN-kb7plKXG.mjs → node/esm/C5BfcrpiUcRVOBhm.mjs} +69 -4
- package/{browser/esm/C9jpXFBeugwmOTbx.mjs → node/esm/CCVWnizQrKmoAuCq.mjs} +2 -2
- package/node/esm/{B7750ljsJF3qA9kU.mjs → COY1_1oXpyxOqH8F.mjs} +37 -3
- package/{browser/esm/CG1Fn8D-2DrQZoD5.mjs → node/esm/COxwtE73KoR2iWjR.mjs} +1 -1
- package/{browser/esm/HgVmqQQhKQ_2v0HD.mjs → node/esm/CiV3-7Z2N5XTPGpW.mjs} +2 -2
- package/node/esm/{DDajoVNkJB39_Fkx.mjs → CqHyaF_3jzclX-4h.mjs} +1 -1
- package/{browser/esm/CWAtVXxcIz86XLzE.mjs → node/esm/Cvqs42hxCdRyGkOU.mjs} +1 -1
- package/{browser/esm/BzNFsi4RXuJrn_1n.mjs → node/esm/D47uFhCNkVeulQHC.mjs} +1 -1
- package/node/esm/{B8rSUcOwH6g4MUgm.mjs → DEvaxgU5D42eGtON.mjs} +1 -1
- package/node/esm/{BR2ai1V5dGPphpRf.mjs → DZQP6n94wjUf7gh-.mjs} +2 -5
- package/node/esm/{Cdl7ZalV6WPZHHRE.mjs → dInAtbi5okqOaY-T.mjs} +1 -1
- package/node/esm/index.mjs +5525 -3899
- package/node/esm/{-f-RKKojiLg94hp9.mjs → jVWpjaeDtzGmzWIs.mjs} +51 -11
- package/node/esm/{Cyvobf2wi0quDD3U.mjs → jigjASYVbU6Fnqi2.mjs} +1 -1
- package/node/esm/{CltdofO5ik8g_wQ8.mjs → lGpYdO1T9FmC6pk7.mjs} +1 -1
- package/node/esm/{2TCIoMd-SYs6i4-N.mjs → ly86gfj1I6wMAUqu.mjs} +1 -1
- package/node/esm/{CVv3DuciDQrnFFeu.mjs → vtj_jhVSTyj6cY8v.mjs} +1 -1
- package/package.json +4 -5
- 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 +3 -1
- 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 +118 -49
- 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/GroupBy.d.ts +4 -4
- package/types/src/lookupReference/PivotBy.d.ts +4 -4
- package/types/src/lookupReference/Reference.d.ts +212 -86
- package/types/src/mathTrig/Math.d.ts +499 -152
- 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/49_x589Na12sizKK.cjs +0 -1
- package/browser/cjs/C9C-pr-T_ThweQX9.cjs +0 -1
- package/browser/cjs/DCIlWcGDrp-5PDoA.cjs +0 -1
- package/browser/cjs/Kvn916ebqGc4t6hv.cjs +0 -1
|
@@ -1,101 +1,101 @@
|
|
|
1
|
-
import { AcceptError, Scalar } from '@sheetxl/primitives';
|
|
1
|
+
import { AcceptError, Omittable, Scalar, NoLift } from '@sheetxl/primitives';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Converts a binary number to decimal.
|
|
4
4
|
* @param number is the binary number you want to convert.
|
|
5
5
|
*/
|
|
6
|
-
export declare function BIN2DEC(number: Scalar): number;
|
|
6
|
+
export declare function BIN2DEC(number: NoLift<Omittable<Scalar>>): number;
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Converts a binary number to hexadecimal.
|
|
9
9
|
* @param number is the binary number you want to convert.
|
|
10
10
|
* @param places is the number of characters to use.
|
|
11
11
|
*/
|
|
12
|
-
export declare function BIN2HEX(number: AcceptError<Scalar
|
|
12
|
+
export declare function BIN2HEX(number: NoLift<Omittable<AcceptError<Scalar>>>, places?: NoLift<Omittable<AcceptError<Scalar>>>): string;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Converts a binary number to octal.
|
|
15
15
|
* @param number is the binary number you want to convert.
|
|
16
16
|
* @param places is the number of characters to use.
|
|
17
17
|
*/
|
|
18
|
-
export declare function BIN2OCT(number: AcceptError<Scalar
|
|
18
|
+
export declare function BIN2OCT(number: NoLift<Omittable<AcceptError<Scalar>>>, places?: NoLift<Omittable<AcceptError<Scalar>>>): string;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Returns a bitwise 'And' of two numbers.
|
|
21
21
|
* @param number1 is the decimal representation of the binary number you want to evaluate.
|
|
22
22
|
* @param number2 is the decimal representation of the binary number you want to evaluate.
|
|
23
23
|
*/
|
|
24
|
-
export declare function BITAND(number1: Scalar
|
|
24
|
+
export declare function BITAND(number1: AcceptError<Scalar>, number2: AcceptError<Scalar>): number;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Returns a number shifted left by shiftAmount bits.
|
|
27
27
|
* @param number is the decimal representation of the binary number you want to evaluate.
|
|
28
28
|
* @param shiftAmount is the number of bits that you want to shift Number left by.
|
|
29
29
|
*/
|
|
30
|
-
export declare function BITLSHIFT(number: Scalar
|
|
30
|
+
export declare function BITLSHIFT(number: AcceptError<Scalar>, shiftAmount: AcceptError<Scalar>): number;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Returns a bitwise 'Or' of two numbers.
|
|
33
33
|
* @param number1 is the decimal representation of the binary number you want to evaluate.
|
|
34
34
|
* @param number2 is the decimal representation of the binary number you want to evaluate.
|
|
35
35
|
*/
|
|
36
|
-
export declare function BITOR(number1: Scalar
|
|
36
|
+
export declare function BITOR(number1: AcceptError<Scalar>, number2: AcceptError<Scalar>): number;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* Returns a number shifted right by shiftAmount bits.
|
|
39
39
|
* @param number is the decimal representation of the binary number you want to evaluate.
|
|
40
40
|
* @param shiftAmount is the number of bits that you want to shift Number left by.
|
|
41
41
|
*/
|
|
42
|
-
export declare function BITRSHIFT(number: Scalar
|
|
42
|
+
export declare function BITRSHIFT(number: AcceptError<Scalar>, shiftAmount: AcceptError<Scalar>): number;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* Returns a bitwise 'Exclusive Or' of two numbers.
|
|
45
45
|
* @param number1 is the decimal representation of the binary number you want to evaluate.
|
|
46
46
|
* @param number2 is the decimal representation of the binary number you want to evaluate.
|
|
47
47
|
*/
|
|
48
|
-
export declare function BITXOR(number1: Scalar
|
|
48
|
+
export declare function BITXOR(number1: AcceptError<Scalar>, number2: AcceptError<Scalar>): number;
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
50
|
+
* Converts a decimal number to binary.
|
|
51
51
|
* @param number is the decimal integer you want to convert.
|
|
52
52
|
* @param places is the number of characters to use.
|
|
53
53
|
*/
|
|
54
|
-
export declare function DEC2BIN(number: AcceptError<Scalar
|
|
54
|
+
export declare function DEC2BIN(number: NoLift<Omittable<AcceptError<Scalar>>>, places?: NoLift<Omittable<AcceptError<Scalar>>>): string;
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* Converts a decimal number to hexadecimal.
|
|
57
57
|
* @param number is the decimal integer you want to convert.
|
|
58
58
|
* @param places is the number of characters to use.
|
|
59
59
|
*/
|
|
60
|
-
export declare function DEC2HEX(number: AcceptError<Scalar
|
|
60
|
+
export declare function DEC2HEX(number: NoLift<Omittable<AcceptError<Scalar>>>, places?: NoLift<Omittable<AcceptError<Scalar>>>): string;
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
62
|
+
* Converts a decimal number to octal.
|
|
63
63
|
* @param number is the decimal integer you want to convert.
|
|
64
64
|
* @param places is the number of characters to use.
|
|
65
65
|
*/
|
|
66
|
-
export declare function DEC2OCT(number: AcceptError<Scalar
|
|
66
|
+
export declare function DEC2OCT(number: NoLift<Omittable<AcceptError<Scalar>>>, places?: NoLift<Omittable<AcceptError<Scalar>>>): string;
|
|
67
67
|
/**
|
|
68
|
-
*
|
|
68
|
+
* Converts a Hexadecimal number to binary.
|
|
69
69
|
* @param number is the hexadecimal number you want to convert.
|
|
70
70
|
* @param places is the number of characters to use.
|
|
71
71
|
*/
|
|
72
|
-
export declare function HEX2BIN(number: AcceptError<
|
|
72
|
+
export declare function HEX2BIN(number: NoLift<Omittable<AcceptError<Scalar>>>, places?: NoLift<Omittable<AcceptError<Scalar>>>): string | number;
|
|
73
73
|
/**
|
|
74
|
-
*
|
|
74
|
+
* Converts a hexadecimal number to decimal.
|
|
75
75
|
* @param number is the hexadecimal number you want to convert.
|
|
76
76
|
*/
|
|
77
|
-
export declare function HEX2DEC(number:
|
|
77
|
+
export declare function HEX2DEC(number: NoLift<Omittable<Scalar>>): number;
|
|
78
78
|
/**
|
|
79
|
-
*
|
|
79
|
+
* Converts a hexadecimal number to octal.
|
|
80
80
|
* @param number is the hexadecimal number you want to convert.
|
|
81
81
|
* @param places is the number of characters to use.
|
|
82
82
|
*/
|
|
83
|
-
export declare function HEX2OCT(number: AcceptError<
|
|
83
|
+
export declare function HEX2OCT(number: NoLift<Omittable<AcceptError<Scalar>>>, places?: NoLift<Omittable<AcceptError<Scalar>>>): string;
|
|
84
84
|
/**
|
|
85
|
-
*
|
|
85
|
+
* Converts an octal number to binary.
|
|
86
86
|
* @param number is the octal number you want to convert.
|
|
87
87
|
* @param places is the number of characters to use.
|
|
88
88
|
*/
|
|
89
|
-
export declare function OCT2BIN(number: AcceptError<
|
|
89
|
+
export declare function OCT2BIN(number: NoLift<Omittable<AcceptError<Scalar>>>, places?: NoLift<Omittable<AcceptError<Scalar>>>): string;
|
|
90
90
|
/**
|
|
91
|
-
*
|
|
91
|
+
* Converts an octal number to decimal.
|
|
92
92
|
* @param number is the octal number you want to convert.
|
|
93
93
|
*/
|
|
94
|
-
export declare function OCT2DEC(number:
|
|
94
|
+
export declare function OCT2DEC(number: NoLift<Omittable<Scalar>>): number;
|
|
95
95
|
/**
|
|
96
|
-
*
|
|
96
|
+
* Converts an octal number to hexadecimal.
|
|
97
97
|
* @param number is the octal number you want to convert.
|
|
98
98
|
* @param places is the number of characters to use.
|
|
99
99
|
*/
|
|
100
|
-
export declare function OCT2HEX(number: AcceptError<
|
|
100
|
+
export declare function OCT2HEX(number: NoLift<Omittable<AcceptError<Scalar>>>, places?: NoLift<Omittable<AcceptError<Scalar>>>): string | number;
|
|
101
101
|
//# sourceMappingURL=Bitwise.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Scalar } from '@sheetxl/primitives';
|
|
1
|
+
import { AcceptError, Scalar, NoLift } from '@sheetxl/primitives';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Converts a number from one measurement system to another.
|
|
4
4
|
* @param number is the value in fromUnit to convert.
|
|
5
5
|
* @param fromUnit is the units for number.
|
|
6
6
|
* @param toUnit is the units for the result.
|
|
7
7
|
*/
|
|
8
|
-
export declare function CONVERT(number: Scalar
|
|
8
|
+
export declare function CONVERT(number: NoLift<Scalar>, fromUnit: NoLift<AcceptError<Scalar>>, toUnit: NoLift<AcceptError<Scalar>>): number;
|
|
9
9
|
//# sourceMappingURL=Convert.d.ts.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { AcceptError, Scalar } from '@sheetxl/primitives';
|
|
1
|
+
import { AcceptError, Omittable, Scalar, NoLift } from '@sheetxl/primitives';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Tests whether two numbers are equal.
|
|
4
4
|
* @param number1 is the first number.
|
|
5
5
|
* @param number2 is the second number.
|
|
6
6
|
*/
|
|
7
|
-
export declare function DELTA(number1: AcceptError<Scalar
|
|
7
|
+
export declare function DELTA(number1: NoLift<Omittable<AcceptError<Scalar>>>, number2?: NoLift<Omittable<AcceptError<Scalar>>>): number;
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Tests whether a number is greater than a threshold value.
|
|
10
10
|
* @param number is the value to test against step.
|
|
11
11
|
* @param step is the threshold value.
|
|
12
12
|
*/
|
|
13
|
-
export declare function GESTEP(number: AcceptError<Scalar
|
|
13
|
+
export declare function GESTEP(number: NoLift<Omittable<AcceptError<Scalar>>>, step?: NoLift<Omittable<AcceptError<Scalar>>>): number;
|
|
14
14
|
//# sourceMappingURL=Engineering.d.ts.map
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { Scalar } from '@sheetxl/primitives';
|
|
1
|
+
import { AcceptError, Omittable, Scalar, NoLift } from '@sheetxl/primitives';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Returns the error function.
|
|
4
4
|
* @param lowerLimit is the lower bound for integrating ERF.
|
|
5
5
|
* @param upperLimit is the upper bound for integrating ERF.
|
|
6
6
|
*/
|
|
7
|
-
export declare function ERF(lowerLimit: Scalar
|
|
7
|
+
export declare function ERF(lowerLimit: NoLift<Omittable<AcceptError<Scalar>>>, upperLimit?: NoLift<AcceptError<Scalar>>): number;
|
|
8
8
|
/**
|
|
9
|
+
* Returns the error function.
|
|
9
10
|
* @name ERF.PRECISE
|
|
10
|
-
* @summary Returns the error function.
|
|
11
11
|
* @param x is the lower bound for integrating ERF.PRECISE.
|
|
12
12
|
*/
|
|
13
|
-
export declare function ERF_PRECISE(x: Scalar): number;
|
|
13
|
+
export declare function ERF_PRECISE(x: NoLift<Omittable<Scalar>>): number;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Returns the complementary error function.
|
|
16
16
|
* @param x is the lower bound for integrating ERF.
|
|
17
17
|
*/
|
|
18
|
-
export declare function ERFC(x: Scalar): number;
|
|
18
|
+
export declare function ERFC(x: NoLift<Omittable<Scalar>>): number;
|
|
19
19
|
/**
|
|
20
|
+
* Returns the complementary error function.
|
|
20
21
|
* @name ERFC.PRECISE
|
|
21
|
-
* @summary Returns the complementary error function.
|
|
22
22
|
* @param x is the lower bound for integrating ERF.
|
|
23
23
|
*/
|
|
24
|
-
export declare function ERFC_PRECISE(x: Scalar): number;
|
|
24
|
+
export declare function ERFC_PRECISE(x: NoLift<Omittable<Scalar>>): number;
|
|
25
25
|
//# sourceMappingURL=Error.d.ts.map
|
|
@@ -1,153 +1,153 @@
|
|
|
1
|
-
import { AcceptError, Scalar } from '@sheetxl/primitives';
|
|
1
|
+
import { AcceptError, Omittable, Scalar, NoLift } from '@sheetxl/primitives';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Converts real and imaginary coefficients into a complex number.
|
|
4
4
|
* @param realNum is the real coefficient of the complex number.
|
|
5
5
|
* @param iNum is the imaginary coefficient of the complex number.
|
|
6
6
|
* @param suffix is the suffix for the imaginary component of the complex number.
|
|
7
7
|
*/
|
|
8
|
-
export declare function COMPLEX(realNum: AcceptError<Scalar
|
|
8
|
+
export declare function COMPLEX(realNum: NoLift<Omittable<AcceptError<Scalar>>>, iNum: NoLift<Omittable<AcceptError<Scalar>>>, suffix?: NoLift<AcceptError<string>>): Scalar;
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Returns the absolute value (modulus) of a complex number
|
|
11
11
|
* @param inumber is a complex number for which you want the absolute value
|
|
12
12
|
*/
|
|
13
|
-
export declare function IMABS(inumber: Scalar): number;
|
|
13
|
+
export declare function IMABS(inumber: NoLift<Scalar>): number;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Returns the imaginary coefficient of a complex number
|
|
16
16
|
* @param inumber is a complex number for which you want the imaginary coefficient
|
|
17
17
|
*/
|
|
18
|
-
export declare function IMAGINARY(inumber: Scalar): number;
|
|
18
|
+
export declare function IMAGINARY(inumber: NoLift<Scalar>): number;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Returns the argument q, an angle expressed in radians
|
|
21
21
|
* @param inumber is a complex number for which you want the argument
|
|
22
22
|
*/
|
|
23
|
-
export declare function IMARGUMENT(inumber: Scalar): number;
|
|
23
|
+
export declare function IMARGUMENT(inumber: NoLift<Scalar>): number;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Returns the complex conjugate of a complex number
|
|
26
26
|
* @param inumber is a complex number for which you want the conjugate
|
|
27
27
|
*/
|
|
28
|
-
export declare function IMCONJUGATE(inumber: Scalar): Scalar;
|
|
28
|
+
export declare function IMCONJUGATE(inumber: NoLift<Scalar>): Scalar;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Returns the cosine of a complex number
|
|
31
31
|
* @param inumber is a complex number for which you want the cosine
|
|
32
32
|
*/
|
|
33
|
-
export declare function IMCOS(inumber: Scalar): Scalar;
|
|
33
|
+
export declare function IMCOS(inumber: NoLift<Scalar>): Scalar;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Returns the hyperbolic cosine of a complex number
|
|
36
36
|
* @param inumber is a complex number for which you want the hyperbolic cosine
|
|
37
37
|
*/
|
|
38
|
-
export declare function IMCOSH(inumber: Scalar): Scalar;
|
|
38
|
+
export declare function IMCOSH(inumber: NoLift<Scalar>): Scalar;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* Returns the cotangent of a complex number
|
|
41
41
|
* @param inumber is a complex number for which you want the cotangent
|
|
42
42
|
*/
|
|
43
|
-
export declare function IMCOT(inumber: Scalar): Scalar;
|
|
43
|
+
export declare function IMCOT(inumber: NoLift<Scalar>): Scalar;
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
* Returns the hyperbolic cotangent of a complex number.
|
|
46
46
|
* @param inumber is a complex number for which you want the hyperbolic cotangent.
|
|
47
47
|
* @category Sheets
|
|
48
48
|
*/
|
|
49
49
|
export declare function IMCOTH(inumber: Scalar): Scalar;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* Returns the cosecant of a complex number
|
|
52
52
|
* @param inumber is a complex number for which you want the cosecant
|
|
53
53
|
*/
|
|
54
|
-
export declare function IMCSC(inumber: Scalar): Scalar;
|
|
54
|
+
export declare function IMCSC(inumber: NoLift<Scalar>): Scalar;
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* Returns the hyperbolic cosecant of a complex number
|
|
57
57
|
* @param inumber is a complex number for which you want the hyperbolic cosecant
|
|
58
58
|
*/
|
|
59
|
-
export declare function IMCSCH(inumber: Scalar): Scalar;
|
|
59
|
+
export declare function IMCSCH(inumber: NoLift<Scalar>): Scalar;
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* Returns the quotient of two complex numbers
|
|
62
62
|
* @param inumber1 is the complex numerator or dividend
|
|
63
63
|
* @param inumber2 is the complex denominator or divisor
|
|
64
64
|
*/
|
|
65
|
-
export declare function IMDIV(inumber1: Scalar
|
|
65
|
+
export declare function IMDIV(inumber1: NoLift<Omittable<AcceptError<Scalar>>>, inumber2: NoLift<Omittable<AcceptError<Scalar>>>): Scalar;
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* Returns the exponential of a complex number
|
|
68
68
|
* @param inumber is a complex number for which you want the exponential
|
|
69
69
|
*/
|
|
70
|
-
export declare function IMEXP(inumber: Scalar): Scalar;
|
|
70
|
+
export declare function IMEXP(inumber: NoLift<Scalar>): Scalar;
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
72
|
+
* Returns the exponential of a complex number
|
|
73
73
|
* @param inumber is a complex number for which you want the exponential
|
|
74
74
|
*/
|
|
75
|
-
export declare function IMLN(inumber: Scalar): Scalar;
|
|
75
|
+
export declare function IMLN(inumber: NoLift<Scalar>): Scalar;
|
|
76
76
|
/**
|
|
77
|
-
*
|
|
77
|
+
* Returns the logarithm of a complex number to a specified base.
|
|
78
78
|
* @param inumber is a complex number for which you want the logarithm.
|
|
79
79
|
* @param base is the base of the logarithm. Default is 10.
|
|
80
80
|
* @category Sheets
|
|
81
81
|
*/
|
|
82
82
|
export declare function IMLOG(inumber: Scalar, base?: number): Scalar;
|
|
83
83
|
/**
|
|
84
|
-
*
|
|
84
|
+
* Returns the base-10 logarithm of a complex number
|
|
85
85
|
* @param inumber is a complex number for which you want the common logarithm
|
|
86
86
|
*/
|
|
87
|
-
export declare function IMLOG10(inumber: Scalar): Scalar;
|
|
87
|
+
export declare function IMLOG10(inumber: NoLift<Scalar>): Scalar;
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* Returns the base-2 logarithm of a complex number
|
|
90
90
|
* @param inumber is a complex number for which you want the base-2 logarithm
|
|
91
91
|
*/
|
|
92
|
-
export declare function IMLOG2(inumber: Scalar): Scalar;
|
|
92
|
+
export declare function IMLOG2(inumber: NoLift<Scalar>): Scalar;
|
|
93
93
|
/**
|
|
94
|
-
*
|
|
94
|
+
* Returns the base-2 logarithm of a complex number
|
|
95
95
|
* @param inumber is a complex number for which you want the base-2 logarithm
|
|
96
96
|
*/
|
|
97
|
-
export declare function IMPOWER(inumber: Scalar
|
|
97
|
+
export declare function IMPOWER(inumber: NoLift<Omittable<AcceptError<Scalar>>>, number: NoLift<Omittable<AcceptError<Scalar>>>): Scalar;
|
|
98
98
|
/**
|
|
99
|
-
*
|
|
99
|
+
* Returns the product of 1 to 255 complex numbers
|
|
100
100
|
* @param inumber are from 1 to 255 complex numbers to multiply.
|
|
101
101
|
*/
|
|
102
102
|
export declare function IMPRODUCT(inumber: Scalar[]): Scalar;
|
|
103
103
|
/**
|
|
104
|
-
*
|
|
104
|
+
* Returns the real coefficient of a complex number
|
|
105
105
|
* @param inumber is a complex number for which you want the real coefficient
|
|
106
106
|
*/
|
|
107
|
-
export declare function IMREAL(inumber: Scalar): number;
|
|
107
|
+
export declare function IMREAL(inumber: NoLift<Scalar>): number;
|
|
108
108
|
/**
|
|
109
|
-
*
|
|
109
|
+
* Returns the secant of a complex number
|
|
110
110
|
* @param inumber is a complex number for which you want the secant
|
|
111
111
|
*/
|
|
112
|
-
export declare function IMSEC(inumber: Scalar): Scalar;
|
|
112
|
+
export declare function IMSEC(inumber: NoLift<Scalar>): Scalar;
|
|
113
113
|
/**
|
|
114
|
-
*
|
|
114
|
+
* Returns the hyperbolic secant of a complex number
|
|
115
115
|
* @param inumber is a complex number for which you want the hyperbolic secant
|
|
116
116
|
*/
|
|
117
|
-
export declare function IMSECH(inumber: Scalar): Scalar;
|
|
117
|
+
export declare function IMSECH(inumber: NoLift<Scalar>): Scalar;
|
|
118
118
|
/**
|
|
119
|
-
*
|
|
119
|
+
* Returns the sine of a complex number
|
|
120
120
|
* @param inumber is a complex number for which you want the sine
|
|
121
121
|
*/
|
|
122
|
-
export declare function IMSIN(inumber: Scalar): Scalar;
|
|
122
|
+
export declare function IMSIN(inumber: NoLift<Scalar>): Scalar;
|
|
123
123
|
/**
|
|
124
|
-
*
|
|
124
|
+
* Returns the hyperbolic sine of a complex number
|
|
125
125
|
* @param inumber is a complex number for which you want the hyperbolic sine
|
|
126
126
|
*/
|
|
127
|
-
export declare function IMSINH(inumber: Scalar): Scalar;
|
|
127
|
+
export declare function IMSINH(inumber: NoLift<Scalar>): Scalar;
|
|
128
128
|
/**
|
|
129
|
-
*
|
|
129
|
+
* Returns the square root of a complex number
|
|
130
130
|
* @param inumber is a complex number for which you want the square root
|
|
131
131
|
*/
|
|
132
|
-
export declare function IMSQRT(inumber: Scalar): Scalar;
|
|
132
|
+
export declare function IMSQRT(inumber: NoLift<Scalar>): Scalar;
|
|
133
133
|
/**
|
|
134
|
-
*
|
|
134
|
+
* Returns the difference of two complex numbers
|
|
135
135
|
* @param inumber1 is the complex number from which to subtract inumber2
|
|
136
136
|
* @param inumber2 is the complex number to subtract from inumber1
|
|
137
137
|
*/
|
|
138
|
-
export declare function IMSUB(inumber1: Scalar
|
|
138
|
+
export declare function IMSUB(inumber1: NoLift<Omittable<AcceptError<Scalar>>>, inumber2: NoLift<Omittable<AcceptError<Scalar>>>): Scalar;
|
|
139
139
|
/**
|
|
140
|
-
*
|
|
140
|
+
* Returns the sum of complex numbers
|
|
141
141
|
* @param inumber are from 1 to 255 complex numbers to add
|
|
142
142
|
*/
|
|
143
143
|
export declare function IMSUM(inumber: Scalar[]): Scalar;
|
|
144
144
|
/**
|
|
145
|
-
*
|
|
145
|
+
* Returns the tangent of a complex number
|
|
146
146
|
* @param inumber is a complex number for which you want the tangent
|
|
147
147
|
*/
|
|
148
|
-
export declare function IMTAN(inumber: Scalar): Scalar;
|
|
148
|
+
export declare function IMTAN(inumber: NoLift<Scalar>): Scalar;
|
|
149
149
|
/**
|
|
150
|
-
*
|
|
150
|
+
* Returns the hyperbolic tangent of a complex number.
|
|
151
151
|
* @param inumber is a complex number for which you want the hyperbolic tangent.
|
|
152
152
|
* @category Sheets
|
|
153
153
|
*/
|