@gridsheet/functions 3.0.0-rc.9 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/functions/src/index.d.ts +7 -0
- package/dist/functions/src/index.d.ts.map +1 -0
- package/dist/{information → functions/src/information}/index.d.ts +1 -1
- package/dist/functions/src/information/index.d.ts.map +1 -0
- package/dist/{information → functions/src/information}/isblank.d.ts +1 -1
- package/dist/functions/src/information/isblank.d.ts.map +1 -0
- package/dist/functions/src/information/isblank.spec.d.ts.map +1 -0
- package/dist/{information → functions/src/information}/isdate.d.ts +1 -1
- package/dist/functions/src/information/isdate.d.ts.map +1 -0
- package/dist/functions/src/information/isdate.spec.d.ts.map +1 -0
- package/dist/{information → functions/src/information}/isemail.d.ts +1 -1
- package/dist/functions/src/information/isemail.d.ts.map +1 -0
- package/dist/functions/src/information/isemail.spec.d.ts.map +1 -0
- package/dist/{information → functions/src/information}/iserr.d.ts +2 -2
- package/dist/functions/src/information/iserr.d.ts.map +1 -0
- package/dist/functions/src/information/iserr.spec.d.ts.map +1 -0
- package/dist/functions/src/information/iserror.d.ts +9 -0
- package/dist/functions/src/information/iserror.d.ts.map +1 -0
- package/dist/functions/src/information/iserror.spec.d.ts.map +1 -0
- package/dist/{information → functions/src/information}/isformula.d.ts +1 -1
- package/dist/functions/src/information/isformula.d.ts.map +1 -0
- package/dist/functions/src/information/isformula.spec.d.ts.map +1 -0
- package/dist/{information → functions/src/information}/islogical.d.ts +1 -1
- package/dist/functions/src/information/islogical.d.ts.map +1 -0
- package/dist/functions/src/information/islogical.spec.d.ts.map +1 -0
- package/dist/{information → functions/src/information}/isna.d.ts +2 -2
- package/dist/functions/src/information/isna.d.ts.map +1 -0
- package/dist/functions/src/information/isna.spec.d.ts.map +1 -0
- package/dist/{information → functions/src/information}/isnontext.d.ts +1 -1
- package/dist/functions/src/information/isnontext.d.ts.map +1 -0
- package/dist/functions/src/information/isnontext.spec.d.ts.map +1 -0
- package/dist/functions/src/information/isref.d.ts +9 -0
- package/dist/functions/src/information/isref.d.ts.map +1 -0
- package/dist/functions/src/information/isref.spec.d.ts.map +1 -0
- package/dist/{information → functions/src/information}/istext.d.ts +1 -1
- package/dist/functions/src/information/istext.d.ts.map +1 -0
- package/dist/functions/src/information/istext.spec.d.ts.map +1 -0
- package/dist/{information → functions/src/information}/n.d.ts +2 -2
- package/dist/functions/src/information/n.d.ts.map +1 -0
- package/dist/{information → functions/src/information}/n.spec.d.ts.map +1 -1
- package/dist/{information → functions/src/information}/na.d.ts +1 -1
- package/dist/functions/src/information/na.d.ts.map +1 -0
- package/dist/functions/src/information/na.spec.d.ts.map +1 -0
- package/dist/{information → functions/src/information}/sheets.d.ts +1 -1
- package/dist/functions/src/information/sheets.d.ts.map +1 -0
- package/dist/functions/src/information/sheets.spec.d.ts.map +1 -0
- package/dist/{logical → functions/src/logical}/ifna.d.ts +1 -1
- package/dist/functions/src/logical/ifna.d.ts.map +1 -0
- package/dist/{logical → functions/src/logical}/ifs.d.ts +1 -1
- package/dist/functions/src/logical/ifs.d.ts.map +1 -0
- package/dist/{logical → functions/src/logical}/index.d.ts +1 -1
- package/dist/functions/src/logical/index.d.ts.map +1 -0
- package/dist/{logical → functions/src/logical}/xor.d.ts +1 -1
- package/dist/functions/src/logical/xor.d.ts.map +1 -0
- package/dist/{lookup → functions/src/lookup}/column.d.ts +1 -1
- package/dist/functions/src/lookup/column.d.ts.map +1 -0
- package/dist/functions/src/lookup/column.spec.d.ts.map +1 -0
- package/dist/{lookup → functions/src/lookup}/columns.d.ts +2 -2
- package/dist/functions/src/lookup/columns.d.ts.map +1 -0
- package/dist/functions/src/lookup/columns.spec.d.ts.map +1 -0
- package/dist/{lookup → functions/src/lookup}/hlookup.d.ts +1 -1
- package/dist/functions/src/lookup/hlookup.d.ts.map +1 -0
- package/dist/functions/src/lookup/hlookup.spec.d.ts.map +1 -0
- package/dist/functions/src/lookup/index.d.ts +4 -0
- package/dist/functions/src/lookup/index.d.ts.map +1 -0
- package/dist/{lookup → functions/src/lookup}/indexFn.d.ts +2 -2
- package/dist/functions/src/lookup/indexFn.d.ts.map +1 -0
- package/dist/functions/src/lookup/indexFn.spec.d.ts.map +1 -0
- package/dist/{lookup → functions/src/lookup}/match.d.ts +1 -1
- package/dist/functions/src/lookup/match.d.ts.map +1 -0
- package/dist/functions/src/lookup/match.spec.d.ts.map +1 -0
- package/dist/{lookup → functions/src/lookup}/row.d.ts +1 -1
- package/dist/functions/src/lookup/row.d.ts.map +1 -0
- package/dist/{lookup → functions/src/lookup}/row.spec.d.ts.map +1 -1
- package/dist/{lookup → functions/src/lookup}/rows.d.ts +2 -2
- package/dist/functions/src/lookup/rows.d.ts.map +1 -0
- package/dist/{lookup → functions/src/lookup}/rows.spec.d.ts.map +1 -1
- package/dist/{lookup → functions/src/lookup}/sheet.d.ts +2 -2
- package/dist/functions/src/lookup/sheet.d.ts.map +1 -0
- package/dist/functions/src/lookup/sheet.spec.d.ts.map +1 -0
- package/dist/{lookup → functions/src/lookup}/vlookup.d.ts +1 -1
- package/dist/functions/src/lookup/vlookup.d.ts.map +1 -0
- package/dist/functions/src/lookup/vlookup.spec.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/__matrix_base.d.ts +1 -1
- package/dist/functions/src/math/__matrix_base.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/acos.d.ts +1 -1
- package/dist/functions/src/math/acos.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/acos.spec.d.ts.map +1 -1
- package/dist/{math → functions/src/math}/asin.d.ts +1 -1
- package/dist/functions/src/math/asin.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/asin.spec.d.ts.map +1 -1
- package/dist/{math → functions/src/math}/atan.d.ts +1 -1
- package/dist/functions/src/math/atan.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/atan.spec.d.ts.map +1 -1
- package/dist/{math → functions/src/math}/atan2.d.ts +1 -1
- package/dist/functions/src/math/atan2.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/atan2.spec.d.ts.map +1 -1
- package/dist/{math → functions/src/math}/base.d.ts +1 -1
- package/dist/functions/src/math/base.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/base.spec.d.ts.map +1 -1
- package/dist/{math → functions/src/math}/cos.d.ts +1 -1
- package/dist/functions/src/math/cos.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/cos.spec.d.ts.map +1 -1
- package/dist/{math → functions/src/math}/countif.d.ts +1 -1
- package/dist/functions/src/math/countif.d.ts.map +1 -0
- package/dist/functions/src/math/countif.spec.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/countifs.d.ts +1 -1
- package/dist/functions/src/math/countifs.d.ts.map +1 -0
- package/dist/functions/src/math/countifs.spec.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/even.d.ts +1 -1
- package/dist/functions/src/math/even.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/even.spec.d.ts.map +1 -1
- package/dist/{math → functions/src/math}/exp.d.ts +1 -1
- package/dist/functions/src/math/exp.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/exp.spec.d.ts.map +1 -1
- package/dist/{math → functions/src/math}/fact.d.ts +1 -1
- package/dist/functions/src/math/fact.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/fact.spec.d.ts.map +1 -1
- package/dist/functions/src/math/index.d.ts +4 -0
- package/dist/functions/src/math/index.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/int.d.ts +1 -1
- package/dist/functions/src/math/int.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/int.spec.d.ts.map +1 -1
- package/dist/{math → functions/src/math}/iseven.d.ts +1 -1
- package/dist/functions/src/math/iseven.d.ts.map +1 -0
- package/dist/functions/src/math/iseven.spec.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/isodd.d.ts +1 -1
- package/dist/functions/src/math/isodd.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/isodd.spec.d.ts.map +1 -1
- package/dist/{math → functions/src/math}/lcm.d.ts +1 -1
- package/dist/functions/src/math/lcm.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/lcm.spec.d.ts.map +1 -1
- package/dist/{math → functions/src/math}/ln.d.ts +1 -1
- package/dist/functions/src/math/ln.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/ln.spec.d.ts.map +1 -1
- package/dist/{math → functions/src/math}/log.d.ts +1 -1
- package/dist/functions/src/math/log.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/log.spec.d.ts.map +1 -1
- package/dist/{math → functions/src/math}/log10.d.ts +1 -1
- package/dist/functions/src/math/log10.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/log10.spec.d.ts.map +1 -1
- package/dist/{math → functions/src/math}/mdeterm.d.ts +1 -1
- package/dist/functions/src/math/mdeterm.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/minverse.d.ts +1 -1
- package/dist/functions/src/math/minverse.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/mmult.d.ts +1 -1
- package/dist/functions/src/math/mmult.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/mod.d.ts +1 -1
- package/dist/functions/src/math/mod.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/mod.spec.d.ts.map +1 -1
- package/dist/{math → functions/src/math}/odd.d.ts +1 -1
- package/dist/functions/src/math/odd.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/odd.spec.d.ts.map +1 -1
- package/dist/{math → functions/src/math}/pi.d.ts +1 -1
- package/dist/functions/src/math/pi.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/pi.spec.d.ts.map +1 -1
- package/dist/{math → functions/src/math}/product.d.ts +1 -1
- package/dist/functions/src/math/product.d.ts.map +1 -0
- package/dist/functions/src/math/product.spec.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/radians.d.ts +1 -1
- package/dist/functions/src/math/radians.d.ts.map +1 -0
- package/dist/functions/src/math/radians.spec.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/rand.d.ts +1 -1
- package/dist/functions/src/math/rand.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/rand.spec.d.ts.map +1 -1
- package/dist/{math → functions/src/math}/round.d.ts +1 -1
- package/dist/functions/src/math/round.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/round.spec.d.ts.map +1 -1
- package/dist/{math → functions/src/math}/rounddown.d.ts +1 -1
- package/dist/functions/src/math/rounddown.d.ts.map +1 -0
- package/dist/functions/src/math/rounddown.spec.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/roundup.d.ts +1 -1
- package/dist/functions/src/math/roundup.d.ts.map +1 -0
- package/dist/functions/src/math/roundup.spec.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/sequence.d.ts +1 -1
- package/dist/functions/src/math/sequence.d.ts.map +1 -0
- package/dist/functions/src/math/sequence.spec.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/sign.d.ts +2 -2
- package/dist/functions/src/math/sign.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/sign.spec.d.ts.map +1 -1
- package/dist/{math → functions/src/math}/sin.d.ts +1 -1
- package/dist/functions/src/math/sin.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/sin.spec.d.ts.map +1 -1
- package/dist/{math → functions/src/math}/sqrt.d.ts +1 -1
- package/dist/functions/src/math/sqrt.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/sqrt.spec.d.ts.map +1 -1
- package/dist/{math → functions/src/math}/sumif.d.ts +1 -1
- package/dist/functions/src/math/sumif.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/sumifs.d.ts +1 -1
- package/dist/functions/src/math/sumifs.d.ts.map +1 -0
- package/dist/functions/src/math/sumifs.spec.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/sumproduct.d.ts +1 -1
- package/dist/functions/src/math/sumproduct.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/sumsq.d.ts +1 -1
- package/dist/functions/src/math/sumsq.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/sumsq.spec.d.ts.map +1 -1
- package/dist/{math → functions/src/math}/tan.d.ts +1 -1
- package/dist/functions/src/math/tan.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/tan.spec.d.ts.map +1 -1
- package/dist/{math → functions/src/math}/transpose.d.ts +1 -1
- package/dist/functions/src/math/transpose.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/trunc.d.ts +1 -1
- package/dist/functions/src/math/trunc.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/trunc.spec.d.ts.map +1 -1
- package/dist/{math → functions/src/math}/unaryPercent.d.ts +1 -1
- package/dist/functions/src/math/unaryPercent.d.ts.map +1 -0
- package/dist/functions/src/math/unaryPercent.spec.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/uplus.d.ts +1 -1
- package/dist/functions/src/math/uplus.d.ts.map +1 -0
- package/dist/{math → functions/src/math}/uplus.spec.d.ts.map +1 -1
- package/dist/{statistics → functions/src/statistics}/averageif.d.ts +1 -1
- package/dist/functions/src/statistics/averageif.d.ts.map +1 -0
- package/dist/functions/src/statistics/averageifs.d.ts +10 -0
- package/dist/functions/src/statistics/averageifs.d.ts.map +1 -0
- package/dist/functions/src/statistics/averageifs.spec.d.ts.map +1 -0
- package/dist/{statistics → functions/src/statistics}/correl.d.ts +1 -1
- package/dist/functions/src/statistics/correl.d.ts.map +1 -0
- package/dist/functions/src/statistics/correl.spec.d.ts.map +1 -0
- package/dist/{statistics → functions/src/statistics}/covariance_p.d.ts +1 -1
- package/dist/functions/src/statistics/covariance_p.d.ts.map +1 -0
- package/dist/functions/src/statistics/covariance_p.spec.d.ts.map +1 -0
- package/dist/{statistics → functions/src/statistics}/covariance_s.d.ts +1 -1
- package/dist/functions/src/statistics/covariance_s.d.ts.map +1 -0
- package/dist/functions/src/statistics/covariance_s.spec.d.ts.map +1 -0
- package/dist/functions/src/statistics/index.d.ts +4 -0
- package/dist/functions/src/statistics/index.d.ts.map +1 -0
- package/dist/{statistics → functions/src/statistics}/median.d.ts +1 -1
- package/dist/functions/src/statistics/median.d.ts.map +1 -0
- package/dist/functions/src/statistics/median.spec.d.ts.map +1 -0
- package/dist/{statistics → functions/src/statistics}/mode_sngl.d.ts +1 -1
- package/dist/functions/src/statistics/mode_sngl.d.ts.map +1 -0
- package/dist/functions/src/statistics/mode_sngl.spec.d.ts.map +1 -0
- package/dist/{statistics → functions/src/statistics}/percentile_inc.d.ts +1 -1
- package/dist/functions/src/statistics/percentile_inc.d.ts.map +1 -0
- package/dist/functions/src/statistics/percentile_inc.spec.d.ts.map +1 -0
- package/dist/{statistics → functions/src/statistics}/quartile_inc.d.ts +1 -1
- package/dist/functions/src/statistics/quartile_inc.d.ts.map +1 -0
- package/dist/functions/src/statistics/quartile_inc.spec.d.ts.map +1 -0
- package/dist/{statistics → functions/src/statistics}/rank_eq.d.ts +1 -1
- package/dist/functions/src/statistics/rank_eq.d.ts.map +1 -0
- package/dist/functions/src/statistics/rank_eq.spec.d.ts.map +1 -0
- package/dist/{statistics → functions/src/statistics}/rsq.d.ts +1 -1
- package/dist/functions/src/statistics/rsq.d.ts.map +1 -0
- package/dist/functions/src/statistics/rsq.spec.d.ts.map +1 -0
- package/dist/{statistics → functions/src/statistics}/stdev_p.d.ts +1 -1
- package/dist/functions/src/statistics/stdev_p.d.ts.map +1 -0
- package/dist/functions/src/statistics/stdev_p.spec.d.ts.map +1 -0
- package/dist/{statistics → functions/src/statistics}/stdev_s.d.ts +1 -1
- package/dist/functions/src/statistics/stdev_s.d.ts.map +1 -0
- package/dist/functions/src/statistics/stdev_s.spec.d.ts.map +1 -0
- package/dist/{statistics → functions/src/statistics}/t_test.d.ts +1 -1
- package/dist/functions/src/statistics/t_test.d.ts.map +1 -0
- package/dist/functions/src/statistics/t_test.spec.d.ts.map +1 -0
- package/dist/{statistics → functions/src/statistics}/var_p.d.ts +1 -1
- package/dist/functions/src/statistics/var_p.d.ts.map +1 -0
- package/dist/functions/src/statistics/var_p.spec.d.ts.map +1 -0
- package/dist/{statistics → functions/src/statistics}/var_s.d.ts +1 -1
- package/dist/functions/src/statistics/var_s.d.ts.map +1 -0
- package/dist/functions/src/statistics/var_s.spec.d.ts.map +1 -0
- package/dist/{text → functions/src/text}/char.d.ts +1 -1
- package/dist/functions/src/text/char.d.ts.map +1 -0
- package/dist/{text → functions/src/text}/char.spec.d.ts.map +1 -1
- package/dist/{text → functions/src/text}/clean.d.ts +1 -1
- package/dist/functions/src/text/clean.d.ts.map +1 -0
- package/dist/{text → functions/src/text}/clean.spec.d.ts.map +1 -1
- package/dist/{text → functions/src/text}/concatenate.d.ts +1 -1
- package/dist/functions/src/text/concatenate.d.ts.map +1 -0
- package/dist/functions/src/text/concatenate.spec.d.ts.map +1 -0
- package/dist/{text → functions/src/text}/exact.d.ts +1 -1
- package/dist/functions/src/text/exact.d.ts.map +1 -0
- package/dist/{text → functions/src/text}/exact.spec.d.ts.map +1 -1
- package/dist/functions/src/text/index.d.ts +4 -0
- package/dist/functions/src/text/index.d.ts.map +1 -0
- package/dist/{text → functions/src/text}/join.d.ts +1 -1
- package/dist/functions/src/text/join.d.ts.map +1 -0
- package/dist/{text → functions/src/text}/join.spec.d.ts.map +1 -1
- package/dist/{text → functions/src/text}/lenb.d.ts +1 -1
- package/dist/functions/src/text/lenb.d.ts.map +1 -0
- package/dist/{text → functions/src/text}/lenb.spec.d.ts.map +1 -1
- package/dist/{text → functions/src/text}/lower.d.ts +2 -2
- package/dist/functions/src/text/lower.d.ts.map +1 -0
- package/dist/{text → functions/src/text}/lower.spec.d.ts.map +1 -1
- package/dist/{text → functions/src/text}/proper.d.ts +1 -1
- package/dist/functions/src/text/proper.d.ts.map +1 -0
- package/dist/functions/src/text/proper.spec.d.ts.map +1 -0
- package/dist/{text → functions/src/text}/replace.d.ts +1 -1
- package/dist/functions/src/text/replace.d.ts.map +1 -0
- package/dist/functions/src/text/replace.spec.d.ts.map +1 -0
- package/dist/{text → functions/src/text}/rept.d.ts +1 -1
- package/dist/functions/src/text/rept.d.ts.map +1 -0
- package/dist/{text → functions/src/text}/rept.spec.d.ts.map +1 -1
- package/dist/{text → functions/src/text}/trim.d.ts +2 -2
- package/dist/functions/src/text/trim.d.ts.map +1 -0
- package/dist/{text → functions/src/text}/trim.spec.d.ts.map +1 -1
- package/dist/{text → functions/src/text}/unichar.d.ts +1 -1
- package/dist/functions/src/text/unichar.d.ts.map +1 -0
- package/dist/functions/src/text/unichar.spec.d.ts.map +1 -0
- package/dist/{text → functions/src/text}/unicode.d.ts +1 -1
- package/dist/functions/src/text/unicode.d.ts.map +1 -0
- package/dist/functions/src/text/unicode.spec.d.ts.map +1 -0
- package/dist/{text → functions/src/text}/upper.d.ts +2 -2
- package/dist/functions/src/text/upper.d.ts.map +1 -0
- package/dist/{text → functions/src/text}/upper.spec.d.ts.map +1 -1
- package/dist/{time → functions/src/time}/date.d.ts +1 -1
- package/dist/functions/src/time/date.d.ts.map +1 -0
- package/dist/{time → functions/src/time}/day.d.ts +2 -2
- package/dist/functions/src/time/day.d.ts.map +1 -0
- package/dist/{time → functions/src/time}/days.d.ts +1 -1
- package/dist/functions/src/time/days.d.ts.map +1 -0
- package/dist/{time → functions/src/time}/hour.d.ts +2 -2
- package/dist/functions/src/time/hour.d.ts.map +1 -0
- package/dist/functions/src/time/index.d.ts +4 -0
- package/dist/functions/src/time/index.d.ts.map +1 -0
- package/dist/{time → functions/src/time}/minute.d.ts +2 -2
- package/dist/functions/src/time/minute.d.ts.map +1 -0
- package/dist/{time → functions/src/time}/month.d.ts +2 -2
- package/dist/functions/src/time/month.d.ts.map +1 -0
- package/dist/{time → functions/src/time}/second.d.ts +2 -2
- package/dist/functions/src/time/second.d.ts.map +1 -0
- package/dist/{time → functions/src/time}/time.d.ts +2 -2
- package/dist/functions/src/time/time.d.ts.map +1 -0
- package/dist/{time → functions/src/time}/today.d.ts +1 -1
- package/dist/functions/src/time/today.d.ts.map +1 -0
- package/dist/{time → functions/src/time}/workday.d.ts +1 -1
- package/dist/functions/src/time/workday.d.ts.map +1 -0
- package/dist/{time → functions/src/time}/year.d.ts +2 -2
- package/dist/functions/src/time/year.d.ts.map +1 -0
- package/dist/functions/src/types.d.ts.map +1 -0
- package/dist/index.d.ts +6 -7
- package/dist/lookup/index.d.ts +6 -4
- package/dist/math/index.d.ts +6 -4
- package/dist/math/index.js +186 -186
- package/dist/math/index.js.map +1 -1
- package/dist/statistics/index.d.ts +6 -4
- package/dist/statistics/index.js +179 -179
- package/dist/statistics/index.js.map +1 -1
- package/dist/text/index.d.ts +6 -4
- package/dist/time/index.d.ts +6 -4
- package/package.json +8 -5
- package/dist/index.d.ts.map +0 -1
- package/dist/information/index.d.ts.map +0 -1
- package/dist/information/isblank.d.ts.map +0 -1
- package/dist/information/isblank.spec.d.ts.map +0 -1
- package/dist/information/isdate.d.ts.map +0 -1
- package/dist/information/isdate.spec.d.ts.map +0 -1
- package/dist/information/isemail.d.ts.map +0 -1
- package/dist/information/isemail.spec.d.ts.map +0 -1
- package/dist/information/iserr.d.ts.map +0 -1
- package/dist/information/iserr.spec.d.ts.map +0 -1
- package/dist/information/iserror.d.ts +0 -9
- package/dist/information/iserror.d.ts.map +0 -1
- package/dist/information/iserror.spec.d.ts.map +0 -1
- package/dist/information/isformula.d.ts.map +0 -1
- package/dist/information/isformula.spec.d.ts.map +0 -1
- package/dist/information/islogical.d.ts.map +0 -1
- package/dist/information/islogical.spec.d.ts.map +0 -1
- package/dist/information/isna.d.ts.map +0 -1
- package/dist/information/isna.spec.d.ts.map +0 -1
- package/dist/information/isnontext.d.ts.map +0 -1
- package/dist/information/isnontext.spec.d.ts.map +0 -1
- package/dist/information/isref.d.ts +0 -9
- package/dist/information/isref.d.ts.map +0 -1
- package/dist/information/isref.spec.d.ts.map +0 -1
- package/dist/information/istext.d.ts.map +0 -1
- package/dist/information/istext.spec.d.ts.map +0 -1
- package/dist/information/n.d.ts.map +0 -1
- package/dist/information/na.d.ts.map +0 -1
- package/dist/information/na.spec.d.ts.map +0 -1
- package/dist/information/sheets.d.ts.map +0 -1
- package/dist/information/sheets.spec.d.ts.map +0 -1
- package/dist/logical/ifna.d.ts.map +0 -1
- package/dist/logical/ifs.d.ts.map +0 -1
- package/dist/logical/index.d.ts.map +0 -1
- package/dist/logical/xor.d.ts.map +0 -1
- package/dist/lookup/column.d.ts.map +0 -1
- package/dist/lookup/column.spec.d.ts.map +0 -1
- package/dist/lookup/columns.d.ts.map +0 -1
- package/dist/lookup/columns.spec.d.ts.map +0 -1
- package/dist/lookup/hlookup.d.ts.map +0 -1
- package/dist/lookup/hlookup.spec.d.ts.map +0 -1
- package/dist/lookup/index.d.ts.map +0 -1
- package/dist/lookup/indexFn.d.ts.map +0 -1
- package/dist/lookup/indexFn.spec.d.ts.map +0 -1
- package/dist/lookup/match.d.ts.map +0 -1
- package/dist/lookup/match.spec.d.ts.map +0 -1
- package/dist/lookup/row.d.ts.map +0 -1
- package/dist/lookup/rows.d.ts.map +0 -1
- package/dist/lookup/sheet.d.ts.map +0 -1
- package/dist/lookup/sheet.spec.d.ts.map +0 -1
- package/dist/lookup/vlookup.d.ts.map +0 -1
- package/dist/lookup/vlookup.spec.d.ts.map +0 -1
- package/dist/math/__matrix_base.d.ts.map +0 -1
- package/dist/math/acos.d.ts.map +0 -1
- package/dist/math/asin.d.ts.map +0 -1
- package/dist/math/atan.d.ts.map +0 -1
- package/dist/math/atan2.d.ts.map +0 -1
- package/dist/math/base.d.ts.map +0 -1
- package/dist/math/cos.d.ts.map +0 -1
- package/dist/math/countif.d.ts.map +0 -1
- package/dist/math/countif.spec.d.ts.map +0 -1
- package/dist/math/countifs.d.ts.map +0 -1
- package/dist/math/countifs.spec.d.ts.map +0 -1
- package/dist/math/even.d.ts.map +0 -1
- package/dist/math/exp.d.ts.map +0 -1
- package/dist/math/fact.d.ts.map +0 -1
- package/dist/math/index.d.ts.map +0 -1
- package/dist/math/int.d.ts.map +0 -1
- package/dist/math/iseven.d.ts.map +0 -1
- package/dist/math/iseven.spec.d.ts.map +0 -1
- package/dist/math/isodd.d.ts.map +0 -1
- package/dist/math/lcm.d.ts.map +0 -1
- package/dist/math/ln.d.ts.map +0 -1
- package/dist/math/log.d.ts.map +0 -1
- package/dist/math/log10.d.ts.map +0 -1
- package/dist/math/mdeterm.d.ts.map +0 -1
- package/dist/math/minverse.d.ts.map +0 -1
- package/dist/math/mmult.d.ts.map +0 -1
- package/dist/math/mod.d.ts.map +0 -1
- package/dist/math/odd.d.ts.map +0 -1
- package/dist/math/pi.d.ts.map +0 -1
- package/dist/math/product.d.ts.map +0 -1
- package/dist/math/product.spec.d.ts.map +0 -1
- package/dist/math/radians.d.ts.map +0 -1
- package/dist/math/radians.spec.d.ts.map +0 -1
- package/dist/math/rand.d.ts.map +0 -1
- package/dist/math/round.d.ts.map +0 -1
- package/dist/math/rounddown.d.ts.map +0 -1
- package/dist/math/rounddown.spec.d.ts.map +0 -1
- package/dist/math/roundup.d.ts.map +0 -1
- package/dist/math/roundup.spec.d.ts.map +0 -1
- package/dist/math/sequence.d.ts.map +0 -1
- package/dist/math/sequence.spec.d.ts.map +0 -1
- package/dist/math/sign.d.ts.map +0 -1
- package/dist/math/sin.d.ts.map +0 -1
- package/dist/math/sqrt.d.ts.map +0 -1
- package/dist/math/sumif.d.ts.map +0 -1
- package/dist/math/sumifs.d.ts.map +0 -1
- package/dist/math/sumifs.spec.d.ts.map +0 -1
- package/dist/math/sumproduct.d.ts.map +0 -1
- package/dist/math/sumsq.d.ts.map +0 -1
- package/dist/math/tan.d.ts.map +0 -1
- package/dist/math/transpose.d.ts.map +0 -1
- package/dist/math/trunc.d.ts.map +0 -1
- package/dist/math/unaryPercent.d.ts.map +0 -1
- package/dist/math/unaryPercent.spec.d.ts.map +0 -1
- package/dist/math/uplus.d.ts.map +0 -1
- package/dist/statistics/averageif.d.ts.map +0 -1
- package/dist/statistics/averageifs.d.ts +0 -10
- package/dist/statistics/averageifs.d.ts.map +0 -1
- package/dist/statistics/averageifs.spec.d.ts.map +0 -1
- package/dist/statistics/correl.d.ts.map +0 -1
- package/dist/statistics/correl.spec.d.ts.map +0 -1
- package/dist/statistics/covariance_p.d.ts.map +0 -1
- package/dist/statistics/covariance_p.spec.d.ts.map +0 -1
- package/dist/statistics/covariance_s.d.ts.map +0 -1
- package/dist/statistics/covariance_s.spec.d.ts.map +0 -1
- package/dist/statistics/index.d.ts.map +0 -1
- package/dist/statistics/median.d.ts.map +0 -1
- package/dist/statistics/median.spec.d.ts.map +0 -1
- package/dist/statistics/mode_sngl.d.ts.map +0 -1
- package/dist/statistics/mode_sngl.spec.d.ts.map +0 -1
- package/dist/statistics/percentile_inc.d.ts.map +0 -1
- package/dist/statistics/percentile_inc.spec.d.ts.map +0 -1
- package/dist/statistics/quartile_inc.d.ts.map +0 -1
- package/dist/statistics/quartile_inc.spec.d.ts.map +0 -1
- package/dist/statistics/rank_eq.d.ts.map +0 -1
- package/dist/statistics/rank_eq.spec.d.ts.map +0 -1
- package/dist/statistics/rsq.d.ts.map +0 -1
- package/dist/statistics/rsq.spec.d.ts.map +0 -1
- package/dist/statistics/stdev_p.d.ts.map +0 -1
- package/dist/statistics/stdev_p.spec.d.ts.map +0 -1
- package/dist/statistics/stdev_s.d.ts.map +0 -1
- package/dist/statistics/stdev_s.spec.d.ts.map +0 -1
- package/dist/statistics/t_test.d.ts.map +0 -1
- package/dist/statistics/t_test.spec.d.ts.map +0 -1
- package/dist/statistics/var_p.d.ts.map +0 -1
- package/dist/statistics/var_p.spec.d.ts.map +0 -1
- package/dist/statistics/var_s.d.ts.map +0 -1
- package/dist/statistics/var_s.spec.d.ts.map +0 -1
- package/dist/text/char.d.ts.map +0 -1
- package/dist/text/clean.d.ts.map +0 -1
- package/dist/text/concatenate.d.ts.map +0 -1
- package/dist/text/concatenate.spec.d.ts.map +0 -1
- package/dist/text/exact.d.ts.map +0 -1
- package/dist/text/index.d.ts.map +0 -1
- package/dist/text/join.d.ts.map +0 -1
- package/dist/text/lenb.d.ts.map +0 -1
- package/dist/text/lower.d.ts.map +0 -1
- package/dist/text/proper.d.ts.map +0 -1
- package/dist/text/proper.spec.d.ts.map +0 -1
- package/dist/text/replace.d.ts.map +0 -1
- package/dist/text/replace.spec.d.ts.map +0 -1
- package/dist/text/rept.d.ts.map +0 -1
- package/dist/text/trim.d.ts.map +0 -1
- package/dist/text/unichar.d.ts.map +0 -1
- package/dist/text/unichar.spec.d.ts.map +0 -1
- package/dist/text/unicode.d.ts.map +0 -1
- package/dist/text/unicode.spec.d.ts.map +0 -1
- package/dist/text/upper.d.ts.map +0 -1
- package/dist/time/date.d.ts.map +0 -1
- package/dist/time/day.d.ts.map +0 -1
- package/dist/time/days.d.ts.map +0 -1
- package/dist/time/hour.d.ts.map +0 -1
- package/dist/time/index.d.ts.map +0 -1
- package/dist/time/minute.d.ts.map +0 -1
- package/dist/time/month.d.ts.map +0 -1
- package/dist/time/second.d.ts.map +0 -1
- package/dist/time/time.d.ts.map +0 -1
- package/dist/time/today.d.ts.map +0 -1
- package/dist/time/workday.d.ts.map +0 -1
- package/dist/time/year.d.ts.map +0 -1
- package/dist/types.d.ts.map +0 -1
- /package/dist/{information → functions/src/information}/isblank.spec.d.ts +0 -0
- /package/dist/{information → functions/src/information}/isdate.spec.d.ts +0 -0
- /package/dist/{information → functions/src/information}/isemail.spec.d.ts +0 -0
- /package/dist/{information → functions/src/information}/iserr.spec.d.ts +0 -0
- /package/dist/{information → functions/src/information}/iserror.spec.d.ts +0 -0
- /package/dist/{information → functions/src/information}/isformula.spec.d.ts +0 -0
- /package/dist/{information → functions/src/information}/islogical.spec.d.ts +0 -0
- /package/dist/{information → functions/src/information}/isna.spec.d.ts +0 -0
- /package/dist/{information → functions/src/information}/isnontext.spec.d.ts +0 -0
- /package/dist/{information → functions/src/information}/isref.spec.d.ts +0 -0
- /package/dist/{information → functions/src/information}/istext.spec.d.ts +0 -0
- /package/dist/{information → functions/src/information}/n.spec.d.ts +0 -0
- /package/dist/{information → functions/src/information}/na.spec.d.ts +0 -0
- /package/dist/{information → functions/src/information}/sheets.spec.d.ts +0 -0
- /package/dist/{lookup → functions/src/lookup}/column.spec.d.ts +0 -0
- /package/dist/{lookup → functions/src/lookup}/columns.spec.d.ts +0 -0
- /package/dist/{lookup → functions/src/lookup}/hlookup.spec.d.ts +0 -0
- /package/dist/{lookup → functions/src/lookup}/indexFn.spec.d.ts +0 -0
- /package/dist/{lookup → functions/src/lookup}/match.spec.d.ts +0 -0
- /package/dist/{lookup → functions/src/lookup}/row.spec.d.ts +0 -0
- /package/dist/{lookup → functions/src/lookup}/rows.spec.d.ts +0 -0
- /package/dist/{lookup → functions/src/lookup}/sheet.spec.d.ts +0 -0
- /package/dist/{lookup → functions/src/lookup}/vlookup.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/acos.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/asin.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/atan.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/atan2.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/base.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/cos.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/countif.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/countifs.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/even.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/exp.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/fact.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/int.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/iseven.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/isodd.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/lcm.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/ln.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/log.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/log10.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/mod.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/odd.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/pi.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/product.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/radians.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/rand.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/round.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/rounddown.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/roundup.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/sequence.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/sign.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/sin.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/sqrt.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/sumifs.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/sumsq.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/tan.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/trunc.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/unaryPercent.spec.d.ts +0 -0
- /package/dist/{math → functions/src/math}/uplus.spec.d.ts +0 -0
- /package/dist/{statistics → functions/src/statistics}/averageifs.spec.d.ts +0 -0
- /package/dist/{statistics → functions/src/statistics}/correl.spec.d.ts +0 -0
- /package/dist/{statistics → functions/src/statistics}/covariance_p.spec.d.ts +0 -0
- /package/dist/{statistics → functions/src/statistics}/covariance_s.spec.d.ts +0 -0
- /package/dist/{statistics → functions/src/statistics}/median.spec.d.ts +0 -0
- /package/dist/{statistics → functions/src/statistics}/mode_sngl.spec.d.ts +0 -0
- /package/dist/{statistics → functions/src/statistics}/percentile_inc.spec.d.ts +0 -0
- /package/dist/{statistics → functions/src/statistics}/quartile_inc.spec.d.ts +0 -0
- /package/dist/{statistics → functions/src/statistics}/rank_eq.spec.d.ts +0 -0
- /package/dist/{statistics → functions/src/statistics}/rsq.spec.d.ts +0 -0
- /package/dist/{statistics → functions/src/statistics}/stdev_p.spec.d.ts +0 -0
- /package/dist/{statistics → functions/src/statistics}/stdev_s.spec.d.ts +0 -0
- /package/dist/{statistics → functions/src/statistics}/t_test.spec.d.ts +0 -0
- /package/dist/{statistics → functions/src/statistics}/var_p.spec.d.ts +0 -0
- /package/dist/{statistics → functions/src/statistics}/var_s.spec.d.ts +0 -0
- /package/dist/{text → functions/src/text}/char.spec.d.ts +0 -0
- /package/dist/{text → functions/src/text}/clean.spec.d.ts +0 -0
- /package/dist/{text → functions/src/text}/concatenate.spec.d.ts +0 -0
- /package/dist/{text → functions/src/text}/exact.spec.d.ts +0 -0
- /package/dist/{text → functions/src/text}/join.spec.d.ts +0 -0
- /package/dist/{text → functions/src/text}/lenb.spec.d.ts +0 -0
- /package/dist/{text → functions/src/text}/lower.spec.d.ts +0 -0
- /package/dist/{text → functions/src/text}/proper.spec.d.ts +0 -0
- /package/dist/{text → functions/src/text}/replace.spec.d.ts +0 -0
- /package/dist/{text → functions/src/text}/rept.spec.d.ts +0 -0
- /package/dist/{text → functions/src/text}/trim.spec.d.ts +0 -0
- /package/dist/{text → functions/src/text}/unichar.spec.d.ts +0 -0
- /package/dist/{text → functions/src/text}/unicode.spec.d.ts +0 -0
- /package/dist/{text → functions/src/text}/upper.spec.d.ts +0 -0
- /package/dist/{types.d.ts → functions/src/types.d.ts} +0 -0
package/dist/math/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { BaseFunction as o, FormulaError as u, ensureNumber as h, eachMatrix as l, conditionArg as f, ensureString as b, stripMatrix as
|
|
2
|
-
const
|
|
3
|
-
class
|
|
1
|
+
import { BaseFunction as o, FormulaError as u, ensureNumber as h, eachMatrix as l, isNumeric as w, conditionArg as f, ensureString as b, stripMatrix as y, check as M, Sheet as x, createBooleanMask as v } from "@gridsheet/core";
|
|
2
|
+
const T = "Returns the result of the modulo operation.";
|
|
3
|
+
class A extends o {
|
|
4
4
|
constructor() {
|
|
5
|
-
super(...arguments), this.example = "MOD(10, 4)", this.description =
|
|
5
|
+
super(...arguments), this.example = "MOD(10, 4)", this.description = T, this.defs = [
|
|
6
6
|
{
|
|
7
7
|
name: "dividend",
|
|
8
8
|
description: "A number that will be divided by divisor.",
|
|
@@ -23,10 +23,10 @@ class T extends o {
|
|
|
23
23
|
return (e % t + t) % t;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
const
|
|
27
|
-
class
|
|
26
|
+
const R = "Returns the positive square root of a positive number.";
|
|
27
|
+
class N extends o {
|
|
28
28
|
constructor() {
|
|
29
|
-
super(...arguments), this.example = "SQRT(9)", this.description =
|
|
29
|
+
super(...arguments), this.example = "SQRT(9)", this.description = R, this.defs = [
|
|
30
30
|
{
|
|
31
31
|
name: "value",
|
|
32
32
|
description: "A number for which the positive square root is to be found.",
|
|
@@ -40,10 +40,10 @@ class R extends o {
|
|
|
40
40
|
return Math.sqrt(e);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
const
|
|
44
|
-
class
|
|
43
|
+
const F = "Returns the product of a series of numbers.";
|
|
44
|
+
class S extends o {
|
|
45
45
|
constructor() {
|
|
46
|
-
super(...arguments), this.example = "PRODUCT(2,3,4)", this.description =
|
|
46
|
+
super(...arguments), this.example = "PRODUCT(2,3,4)", this.description = F, this.defs = [
|
|
47
47
|
{
|
|
48
48
|
name: "value",
|
|
49
49
|
description: "Numbers or ranges to multiply.",
|
|
@@ -59,17 +59,17 @@ class F extends o {
|
|
|
59
59
|
l(
|
|
60
60
|
n,
|
|
61
61
|
(r) => {
|
|
62
|
-
r
|
|
62
|
+
w(r) && (t *= h(r));
|
|
63
63
|
},
|
|
64
64
|
this.at
|
|
65
65
|
);
|
|
66
66
|
return t;
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
const
|
|
70
|
-
class
|
|
69
|
+
const U = "Round a number to the specified number of decimal places according to standard rules.";
|
|
70
|
+
class E extends o {
|
|
71
71
|
constructor() {
|
|
72
|
-
super(...arguments), this.example = "ROUND(99.44,1)", this.description =
|
|
72
|
+
super(...arguments), this.example = "ROUND(99.44,1)", this.description = U, this.defs = [
|
|
73
73
|
{
|
|
74
74
|
name: "value",
|
|
75
75
|
description: "A number to be rounded.",
|
|
@@ -88,10 +88,10 @@ class U extends o {
|
|
|
88
88
|
return Math.round(e * n) / n;
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
|
-
const
|
|
92
|
-
class
|
|
91
|
+
const $ = "Round down a number to the specified number of decimal places according to standard rules.";
|
|
92
|
+
class q extends o {
|
|
93
93
|
constructor() {
|
|
94
|
-
super(...arguments), this.example = "ROUNDDOWN(99.44,1)", this.description =
|
|
94
|
+
super(...arguments), this.example = "ROUNDDOWN(99.44,1)", this.description = $, this.defs = [
|
|
95
95
|
{
|
|
96
96
|
name: "value",
|
|
97
97
|
description: "A number to be rounded down.",
|
|
@@ -110,10 +110,10 @@ class $ extends o {
|
|
|
110
110
|
return Math.floor(e * n) / n;
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
|
-
const
|
|
114
|
-
class
|
|
113
|
+
const C = "Round up a number to the specified number of decimal places according to standard rules.";
|
|
114
|
+
class I extends o {
|
|
115
115
|
constructor() {
|
|
116
|
-
super(...arguments), this.example = "ROUNDUP(99.44,1)", this.description =
|
|
116
|
+
super(...arguments), this.example = "ROUNDUP(99.44,1)", this.description = C, this.defs = [
|
|
117
117
|
{
|
|
118
118
|
name: "value",
|
|
119
119
|
description: "A number to be rounded up.",
|
|
@@ -132,10 +132,10 @@ class C extends o {
|
|
|
132
132
|
return Math.ceil(e * n) / n;
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
|
-
const
|
|
136
|
-
class
|
|
135
|
+
const k = "Returns the logarithm of a number whose base is the specified number.";
|
|
136
|
+
class D extends o {
|
|
137
137
|
constructor() {
|
|
138
|
-
super(...arguments), this.example = "LOG(128, 2)", this.description =
|
|
138
|
+
super(...arguments), this.example = "LOG(128, 2)", this.description = k, this.defs = [
|
|
139
139
|
{
|
|
140
140
|
name: "value",
|
|
141
141
|
description: "The value for the logarithm of the specified number as base.",
|
|
@@ -156,10 +156,10 @@ class k extends o {
|
|
|
156
156
|
return Math.log2(e) / Math.log2(t);
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
|
-
const
|
|
160
|
-
class
|
|
159
|
+
const O = "Returns the logarithm of 10";
|
|
160
|
+
class L extends o {
|
|
161
161
|
constructor() {
|
|
162
|
-
super(...arguments), this.example = "LOG10(100)", this.description =
|
|
162
|
+
super(...arguments), this.example = "LOG10(100)", this.description = O, this.defs = [
|
|
163
163
|
{
|
|
164
164
|
name: "value",
|
|
165
165
|
description: "The value for the logarithm of 10",
|
|
@@ -173,10 +173,10 @@ class O extends o {
|
|
|
173
173
|
return Math.log10(e);
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
|
-
const
|
|
177
|
-
class
|
|
176
|
+
const P = "Returns the logarithm of e";
|
|
177
|
+
class V extends o {
|
|
178
178
|
constructor() {
|
|
179
|
-
super(...arguments), this.example = "LN(100)", this.description =
|
|
179
|
+
super(...arguments), this.example = "LN(100)", this.description = P, this.defs = [
|
|
180
180
|
{
|
|
181
181
|
name: "value",
|
|
182
182
|
description: "The value for the logarithm of e",
|
|
@@ -190,10 +190,10 @@ class P extends o {
|
|
|
190
190
|
return Math.log(e);
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
|
-
const
|
|
194
|
-
class
|
|
193
|
+
const B = "Returns the power of a number whose base is the Euler number e.";
|
|
194
|
+
class _ extends o {
|
|
195
195
|
constructor() {
|
|
196
|
-
super(...arguments), this.example = "EXP(2)", this.description =
|
|
196
|
+
super(...arguments), this.example = "EXP(2)", this.description = B, this.defs = [
|
|
197
197
|
{
|
|
198
198
|
name: "exponent",
|
|
199
199
|
description: "It is an exponent of power with e as the base.",
|
|
@@ -210,19 +210,19 @@ class B extends o {
|
|
|
210
210
|
return Math.exp(e);
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
|
-
const
|
|
214
|
-
class
|
|
213
|
+
const z = "Returns the value of Pi.";
|
|
214
|
+
class j extends o {
|
|
215
215
|
constructor() {
|
|
216
|
-
super(...arguments), this.example = "PI()", this.description =
|
|
216
|
+
super(...arguments), this.example = "PI()", this.description = z, this.defs = [], this.category = "math";
|
|
217
217
|
}
|
|
218
218
|
main() {
|
|
219
219
|
return Math.PI;
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
|
-
const
|
|
223
|
-
class
|
|
222
|
+
const G = "Converts an angle value in degrees to radians.";
|
|
223
|
+
class Q extends o {
|
|
224
224
|
constructor() {
|
|
225
|
-
super(...arguments), this.example = "RADIANS(180)", this.description =
|
|
225
|
+
super(...arguments), this.example = "RADIANS(180)", this.description = G, this.defs = [
|
|
226
226
|
{
|
|
227
227
|
name: "angle",
|
|
228
228
|
description: "An angle in degrees that you want to convert to radians.",
|
|
@@ -234,10 +234,10 @@ class G extends o {
|
|
|
234
234
|
return e / 180 * Math.PI;
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
|
-
const
|
|
238
|
-
class
|
|
237
|
+
const X = "Returns the sin of the angle specified in radians.";
|
|
238
|
+
class W extends o {
|
|
239
239
|
constructor() {
|
|
240
|
-
super(...arguments), this.example = "SIN(PI()/2)", this.description =
|
|
240
|
+
super(...arguments), this.example = "SIN(PI()/2)", this.description = X, this.defs = [
|
|
241
241
|
{
|
|
242
242
|
name: "angle",
|
|
243
243
|
description: "An angle in radians, at which you want the sin.",
|
|
@@ -249,10 +249,10 @@ class X extends o {
|
|
|
249
249
|
return Math.sin(e);
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
|
-
const
|
|
253
|
-
class
|
|
252
|
+
const Y = "Returns the cos of the angle specified in radians.";
|
|
253
|
+
class H extends o {
|
|
254
254
|
constructor() {
|
|
255
|
-
super(...arguments), this.example = "COS(PI())", this.description =
|
|
255
|
+
super(...arguments), this.example = "COS(PI())", this.description = Y, this.defs = [
|
|
256
256
|
{
|
|
257
257
|
name: "angle",
|
|
258
258
|
description: "An angle in radians, at which you want the cos.",
|
|
@@ -264,10 +264,10 @@ class Y extends o {
|
|
|
264
264
|
return Math.cos(e);
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
|
-
const
|
|
268
|
-
class
|
|
267
|
+
const J = "Returns the tan of the angle specified in radians.";
|
|
268
|
+
class K extends o {
|
|
269
269
|
constructor() {
|
|
270
|
-
super(...arguments), this.example = "TAN(PI()/4)", this.description =
|
|
270
|
+
super(...arguments), this.example = "TAN(PI()/4)", this.description = J, this.defs = [
|
|
271
271
|
{
|
|
272
272
|
name: "angle",
|
|
273
273
|
description: "An angle in radians, at which you want the tan.",
|
|
@@ -279,10 +279,10 @@ class J extends o {
|
|
|
279
279
|
return Math.tan(e);
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
|
-
const
|
|
283
|
-
class
|
|
282
|
+
const Z = "Returns the inverse sin of the value in radians.";
|
|
283
|
+
class ee extends o {
|
|
284
284
|
constructor() {
|
|
285
|
-
super(...arguments), this.example = "ASIN(1)", this.description =
|
|
285
|
+
super(...arguments), this.example = "ASIN(1)", this.description = Z, this.defs = [
|
|
286
286
|
{
|
|
287
287
|
name: "value",
|
|
288
288
|
description: "A value for the inverse sin between -1 and 1.",
|
|
@@ -296,10 +296,10 @@ class Z extends o {
|
|
|
296
296
|
return Math.asin(e);
|
|
297
297
|
}
|
|
298
298
|
}
|
|
299
|
-
const
|
|
300
|
-
class
|
|
299
|
+
const te = "Returns the inverse cos of the value in radians.";
|
|
300
|
+
class ne extends o {
|
|
301
301
|
constructor() {
|
|
302
|
-
super(...arguments), this.example = "ACOS(0)", this.description =
|
|
302
|
+
super(...arguments), this.example = "ACOS(0)", this.description = te, this.defs = [
|
|
303
303
|
{
|
|
304
304
|
name: "value",
|
|
305
305
|
description: "A value for the inverse cos between -1 and 1.",
|
|
@@ -313,10 +313,10 @@ class te extends o {
|
|
|
313
313
|
return Math.acos(e);
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
|
-
const
|
|
317
|
-
class
|
|
316
|
+
const se = "Returns the inverse tan of the value in radians.";
|
|
317
|
+
class re extends o {
|
|
318
318
|
constructor() {
|
|
319
|
-
super(...arguments), this.example = "ATAN(1)", this.description =
|
|
319
|
+
super(...arguments), this.example = "ATAN(1)", this.description = se, this.defs = [
|
|
320
320
|
{
|
|
321
321
|
name: "value",
|
|
322
322
|
description: "A value for the inverse tan.",
|
|
@@ -328,10 +328,10 @@ class se extends o {
|
|
|
328
328
|
return Math.atan(e);
|
|
329
329
|
}
|
|
330
330
|
}
|
|
331
|
-
const
|
|
332
|
-
class
|
|
331
|
+
const ie = "Returns the angle in radians between the x-axis and a line passing from the origin through a given coordinate point (x, y).";
|
|
332
|
+
class ae extends o {
|
|
333
333
|
constructor() {
|
|
334
|
-
super(...arguments), this.example = "ATAN2(4,3)", this.description =
|
|
334
|
+
super(...arguments), this.example = "ATAN2(4,3)", this.description = ie, this.defs = [
|
|
335
335
|
{
|
|
336
336
|
name: "x",
|
|
337
337
|
description: "x of the point.",
|
|
@@ -348,19 +348,19 @@ class ie extends o {
|
|
|
348
348
|
return Math.atan2(e, t);
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
|
-
const
|
|
352
|
-
class
|
|
351
|
+
const oe = "Returns a random number between 0 and 1.";
|
|
352
|
+
class ce extends o {
|
|
353
353
|
constructor() {
|
|
354
|
-
super(...arguments), this.example = "RAND()", this.description =
|
|
354
|
+
super(...arguments), this.example = "RAND()", this.description = oe, this.defs = [], this.category = "math";
|
|
355
355
|
}
|
|
356
356
|
main() {
|
|
357
357
|
return Math.random();
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
|
-
const
|
|
361
|
-
class
|
|
360
|
+
const ue = "Returns a value interpreted as a percentage, i.e. divides the number by 100.";
|
|
361
|
+
class me extends o {
|
|
362
362
|
constructor() {
|
|
363
|
-
super(...arguments), this.example = "UNARY_PERCENT(50)", this.description =
|
|
363
|
+
super(...arguments), this.example = "UNARY_PERCENT(50)", this.description = ue, this.defs = [
|
|
364
364
|
{
|
|
365
365
|
name: "value",
|
|
366
366
|
description: "A number to be divided by 100.",
|
|
@@ -372,10 +372,10 @@ class ue extends o {
|
|
|
372
372
|
return e / 100;
|
|
373
373
|
}
|
|
374
374
|
}
|
|
375
|
-
const
|
|
376
|
-
class
|
|
375
|
+
const de = "Returns the number with its sign unchanged (unary plus).";
|
|
376
|
+
class he extends o {
|
|
377
377
|
constructor() {
|
|
378
|
-
super(...arguments), this.example = "UPLUS(4)", this.description =
|
|
378
|
+
super(...arguments), this.example = "UPLUS(4)", this.description = de, this.defs = [
|
|
379
379
|
{
|
|
380
380
|
name: "value",
|
|
381
381
|
description: "A number to return as-is.",
|
|
@@ -387,10 +387,10 @@ class de extends o {
|
|
|
387
387
|
return e;
|
|
388
388
|
}
|
|
389
389
|
}
|
|
390
|
-
const
|
|
391
|
-
class
|
|
390
|
+
const pe = "Returns the sum of a series of cells.";
|
|
391
|
+
class le extends o {
|
|
392
392
|
constructor() {
|
|
393
|
-
super(...arguments), this.example = 'SUMIF(A1:A10,">20")', this.description =
|
|
393
|
+
super(...arguments), this.example = 'SUMIF(A1:A10,">20")', this.description = pe, this.defs = [
|
|
394
394
|
{ name: "range", description: "A condition range.", takesMatrix: !0, acceptedTypes: ["matrix"] },
|
|
395
395
|
f,
|
|
396
396
|
{
|
|
@@ -419,15 +419,15 @@ class pe extends o {
|
|
|
419
419
|
);
|
|
420
420
|
let m = 0;
|
|
421
421
|
return s.forEach((c, d) => {
|
|
422
|
-
const p =
|
|
423
|
-
|
|
422
|
+
const p = y((n ? a[d] : c) ?? 0, this.at);
|
|
423
|
+
w(p) && M(c, r) && (m += h(p));
|
|
424
424
|
}), m;
|
|
425
425
|
}
|
|
426
426
|
}
|
|
427
|
-
const
|
|
428
|
-
class
|
|
427
|
+
const fe = "Returns the sum of a range depending on multiple criteria.";
|
|
428
|
+
class ge extends o {
|
|
429
429
|
constructor() {
|
|
430
|
-
super(...arguments), this.example = 'SUMIFS(A1:A10, B1:B10, ">20")', this.description =
|
|
430
|
+
super(...arguments), this.example = 'SUMIFS(A1:A10, B1:B10, ">20")', this.description = fe, this.defs = [
|
|
431
431
|
{ name: "sum_range", description: "The range to be summed.", takesMatrix: !0, acceptedTypes: ["matrix"] },
|
|
432
432
|
{
|
|
433
433
|
name: "range",
|
|
@@ -453,7 +453,7 @@ class fe extends o {
|
|
|
453
453
|
throw new u("#VALUE!", "Array arguments to SUMIFS are of different size.");
|
|
454
454
|
s.push(t[d]), a.push(b(t[d + 1]));
|
|
455
455
|
}
|
|
456
|
-
const m = t[0], c =
|
|
456
|
+
const m = t[0], c = v(s, a, this.at);
|
|
457
457
|
return [m, c];
|
|
458
458
|
}
|
|
459
459
|
main(e, t) {
|
|
@@ -462,18 +462,18 @@ class fe extends o {
|
|
|
462
462
|
e,
|
|
463
463
|
(r, s) => {
|
|
464
464
|
if (s && t[s.y][s.x]) {
|
|
465
|
-
const a =
|
|
466
|
-
|
|
465
|
+
const a = y(r ?? 0, this.at);
|
|
466
|
+
w(a) && (n += h(a));
|
|
467
467
|
}
|
|
468
468
|
},
|
|
469
469
|
this.at
|
|
470
470
|
), n;
|
|
471
471
|
}
|
|
472
472
|
}
|
|
473
|
-
const
|
|
474
|
-
class
|
|
473
|
+
const xe = "Returns the count of a series of cells.";
|
|
474
|
+
class be extends o {
|
|
475
475
|
constructor() {
|
|
476
|
-
super(...arguments), this.example = 'COUNTIF(A1:A10,">20")', this.description =
|
|
476
|
+
super(...arguments), this.example = 'COUNTIF(A1:A10,">20")', this.description = xe, this.defs = [
|
|
477
477
|
{ name: "range", description: "Target range.", takesMatrix: !0, acceptedTypes: ["matrix"] },
|
|
478
478
|
{ ...f }
|
|
479
479
|
], this.category = "math";
|
|
@@ -484,16 +484,16 @@ class xe extends o {
|
|
|
484
484
|
return l(
|
|
485
485
|
e,
|
|
486
486
|
(s) => {
|
|
487
|
-
|
|
487
|
+
M(s, n) && r++;
|
|
488
488
|
},
|
|
489
489
|
this.at
|
|
490
490
|
), r;
|
|
491
491
|
}
|
|
492
492
|
}
|
|
493
|
-
const
|
|
494
|
-
class
|
|
493
|
+
const we = "Returns the count of a range depending on multiple criteria.";
|
|
494
|
+
class ye extends o {
|
|
495
495
|
constructor() {
|
|
496
|
-
super(...arguments), this.example = 'COUNTIFS(A1:A10, ">20", B1:B10, "<5")', this.description =
|
|
496
|
+
super(...arguments), this.example = 'COUNTIFS(A1:A10, ">20", B1:B10, "<5")', this.description = we, this.defs = [
|
|
497
497
|
{ name: "range1", description: "First condition range.", takesMatrix: !0, acceptedTypes: ["matrix"] },
|
|
498
498
|
{ ...f, name: "condition1" },
|
|
499
499
|
{
|
|
@@ -522,7 +522,7 @@ class we extends o {
|
|
|
522
522
|
throw new u("#VALUE!", "Array arguments to COUNTIFS are of different size.");
|
|
523
523
|
a.push(t[d]), m.push(b(t[d + 1]));
|
|
524
524
|
}
|
|
525
|
-
return [
|
|
525
|
+
return [v(a, m, this.at)];
|
|
526
526
|
}
|
|
527
527
|
main(e) {
|
|
528
528
|
let t = 0;
|
|
@@ -532,10 +532,10 @@ class we extends o {
|
|
|
532
532
|
return t;
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
|
-
const
|
|
536
|
-
class
|
|
535
|
+
const Me = "Returns the factorial of a number.";
|
|
536
|
+
class ve extends o {
|
|
537
537
|
constructor() {
|
|
538
|
-
super(...arguments), this.example = "FACT(5)", this.description =
|
|
538
|
+
super(...arguments), this.example = "FACT(5)", this.description = Me, this.defs = [
|
|
539
539
|
{
|
|
540
540
|
name: "value",
|
|
541
541
|
description: "A non-negative integer whose factorial will be returned.",
|
|
@@ -552,10 +552,10 @@ class Me extends o {
|
|
|
552
552
|
return t;
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
|
-
const
|
|
556
|
-
class
|
|
555
|
+
const Te = "Rounds a number down to the nearest integer that is less than or equal to it.";
|
|
556
|
+
class Ae extends o {
|
|
557
557
|
constructor() {
|
|
558
|
-
super(...arguments), this.example = "INT(8.9)", this.description =
|
|
558
|
+
super(...arguments), this.example = "INT(8.9)", this.description = Te, this.defs = [
|
|
559
559
|
{ name: "value", description: "The value to round down to the nearest integer.", acceptedTypes: ["number"] }
|
|
560
560
|
], this.category = "math";
|
|
561
561
|
}
|
|
@@ -563,10 +563,10 @@ class Te extends o {
|
|
|
563
563
|
return Math.floor(e);
|
|
564
564
|
}
|
|
565
565
|
}
|
|
566
|
-
const
|
|
567
|
-
class
|
|
566
|
+
const Re = "Returns TRUE if the value is even.";
|
|
567
|
+
class Ne extends o {
|
|
568
568
|
constructor() {
|
|
569
|
-
super(...arguments), this.example = "ISEVEN(4)", this.description =
|
|
569
|
+
super(...arguments), this.example = "ISEVEN(4)", this.description = Re, this.defs = [
|
|
570
570
|
{ name: "value", description: "The value to check for being even.", acceptedTypes: ["number"] }
|
|
571
571
|
], this.category = "math";
|
|
572
572
|
}
|
|
@@ -574,10 +574,10 @@ class Re extends o {
|
|
|
574
574
|
return Math.floor(Math.abs(e)) % 2 === 0;
|
|
575
575
|
}
|
|
576
576
|
}
|
|
577
|
-
const
|
|
578
|
-
class
|
|
577
|
+
const Fe = "Returns TRUE if the value is odd.";
|
|
578
|
+
class Se extends o {
|
|
579
579
|
constructor() {
|
|
580
|
-
super(...arguments), this.example = "ISODD(3)", this.description =
|
|
580
|
+
super(...arguments), this.example = "ISODD(3)", this.description = Fe, this.defs = [
|
|
581
581
|
{ name: "value", description: "The value to check for being odd.", acceptedTypes: ["number"] }
|
|
582
582
|
], this.category = "math";
|
|
583
583
|
}
|
|
@@ -585,15 +585,15 @@ class Fe extends o {
|
|
|
585
585
|
return Math.floor(Math.abs(e)) % 2 !== 0;
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
|
-
function
|
|
588
|
+
function Ue(i, e) {
|
|
589
589
|
for (i = Math.abs(Math.floor(i)), e = Math.abs(Math.floor(e)); e; )
|
|
590
590
|
[i, e] = [e, i % e];
|
|
591
591
|
return i;
|
|
592
592
|
}
|
|
593
|
-
const
|
|
594
|
-
class
|
|
593
|
+
const Ee = "Returns the least common multiple of one or more integers.";
|
|
594
|
+
class $e extends o {
|
|
595
595
|
constructor() {
|
|
596
|
-
super(...arguments), this.example = "LCM(4, 6)", this.description =
|
|
596
|
+
super(...arguments), this.example = "LCM(4, 6)", this.description = Ee, this.defs = [
|
|
597
597
|
{ name: "value", description: "Integers (must be >= 1).", acceptedTypes: ["number"], variadic: !0 }
|
|
598
598
|
], this.category = "math";
|
|
599
599
|
}
|
|
@@ -608,13 +608,13 @@ class Ee extends o {
|
|
|
608
608
|
});
|
|
609
609
|
}
|
|
610
610
|
main(...e) {
|
|
611
|
-
return e.reduce((t, n) => t * n /
|
|
611
|
+
return e.reduce((t, n) => t * n / Ue(t, n), 1);
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
|
-
const
|
|
615
|
-
class
|
|
614
|
+
const qe = "Rounds a number up to the nearest odd integer.";
|
|
615
|
+
class Ce extends o {
|
|
616
616
|
constructor() {
|
|
617
|
-
super(...arguments), this.example = "ODD(2.3)", this.description =
|
|
617
|
+
super(...arguments), this.example = "ODD(2.3)", this.description = qe, this.defs = [
|
|
618
618
|
{ name: "value", description: "The value to round up to the nearest odd integer.", acceptedTypes: ["number"] }
|
|
619
619
|
], this.category = "math";
|
|
620
620
|
}
|
|
@@ -626,10 +626,10 @@ class qe extends o {
|
|
|
626
626
|
return n % 2 === 0 && n++, t * n;
|
|
627
627
|
}
|
|
628
628
|
}
|
|
629
|
-
const
|
|
630
|
-
class
|
|
629
|
+
const Ie = "Rounds a number up to the nearest even integer.";
|
|
630
|
+
class ke extends o {
|
|
631
631
|
constructor() {
|
|
632
|
-
super(...arguments), this.example = "EVEN(3.1)", this.description =
|
|
632
|
+
super(...arguments), this.example = "EVEN(3.1)", this.description = Ie, this.defs = [
|
|
633
633
|
{ name: "value", description: "The value to round up to the nearest even integer.", acceptedTypes: ["number"] }
|
|
634
634
|
], this.category = "math";
|
|
635
635
|
}
|
|
@@ -641,10 +641,10 @@ class Ie extends o {
|
|
|
641
641
|
return n % 2 !== 0 && n++, t * n;
|
|
642
642
|
}
|
|
643
643
|
}
|
|
644
|
-
const
|
|
645
|
-
class
|
|
644
|
+
const De = "Returns -1 if the value is negative, 1 if positive, and 0 if zero.";
|
|
645
|
+
class Oe extends o {
|
|
646
646
|
constructor() {
|
|
647
|
-
super(...arguments), this.example = "SIGN(-3)", this.description =
|
|
647
|
+
super(...arguments), this.example = "SIGN(-3)", this.description = De, this.defs = [
|
|
648
648
|
{ name: "value", description: "The number to check the sign of.", acceptedTypes: ["number"] }
|
|
649
649
|
], this.category = "math";
|
|
650
650
|
}
|
|
@@ -652,10 +652,10 @@ class De extends o {
|
|
|
652
652
|
return e > 0 ? 1 : e < 0 ? -1 : 0;
|
|
653
653
|
}
|
|
654
654
|
}
|
|
655
|
-
const
|
|
656
|
-
class
|
|
655
|
+
const Le = "Returns the sum of the squares of a series of numbers or cells.";
|
|
656
|
+
class Pe extends o {
|
|
657
657
|
constructor() {
|
|
658
|
-
super(...arguments), this.example = "SUMSQ(A1:A10, 3)", this.description =
|
|
658
|
+
super(...arguments), this.example = "SUMSQ(A1:A10, 3)", this.description = Le, this.defs = [
|
|
659
659
|
{
|
|
660
660
|
name: "value",
|
|
661
661
|
description: "Numbers or ranges to square and sum.",
|
|
@@ -679,10 +679,10 @@ class Le extends o {
|
|
|
679
679
|
return t;
|
|
680
680
|
}
|
|
681
681
|
}
|
|
682
|
-
const
|
|
683
|
-
class
|
|
682
|
+
const Ve = "Truncates a number to a certain number of significant digits by omitting less significant digits.";
|
|
683
|
+
class Be extends o {
|
|
684
684
|
constructor() {
|
|
685
|
-
super(...arguments), this.example = "TRUNC(3.14159, 2)", this.description =
|
|
685
|
+
super(...arguments), this.example = "TRUNC(3.14159, 2)", this.description = Ve, this.defs = [
|
|
686
686
|
{ name: "value", description: "The number to truncate.", acceptedTypes: ["number"] },
|
|
687
687
|
{
|
|
688
688
|
name: "places",
|
|
@@ -697,10 +697,10 @@ class Ve extends o {
|
|
|
697
697
|
return (e >= 0 ? Math.floor : Math.ceil)(e * r) / r;
|
|
698
698
|
}
|
|
699
699
|
}
|
|
700
|
-
const
|
|
701
|
-
class
|
|
700
|
+
const _e = "Converts a number into a text representation in another base, e.g. base 2 for binary.";
|
|
701
|
+
class ze extends o {
|
|
702
702
|
constructor() {
|
|
703
|
-
super(...arguments), this.example = "BASE(255, 16)", this.description =
|
|
703
|
+
super(...arguments), this.example = "BASE(255, 16)", this.description = _e, this.defs = [
|
|
704
704
|
{ name: "value", description: "A non-negative integer to convert.", acceptedTypes: ["number"] },
|
|
705
705
|
{ name: "base", description: "The base (radix) to convert into, between 2 and 36.", acceptedTypes: ["number"] },
|
|
706
706
|
{
|
|
@@ -727,11 +727,11 @@ class _e extends o {
|
|
|
727
727
|
return n != null && r.length < n ? r.padStart(n, "0") : r;
|
|
728
728
|
}
|
|
729
729
|
}
|
|
730
|
-
const
|
|
730
|
+
const je = `Generates a sequence of numbers in a 2D array.
|
|
731
731
|
Returns a rows × cols array starting at start, incrementing by step.`;
|
|
732
|
-
class
|
|
732
|
+
class Ge extends o {
|
|
733
733
|
constructor() {
|
|
734
|
-
super(...arguments), this.autoSpilling = !0, this.example = "SEQUENCE(4, 3, 1, 1)", this.description =
|
|
734
|
+
super(...arguments), this.autoSpilling = !0, this.example = "SEQUENCE(4, 3, 1, 1)", this.description = je, this.defs = [
|
|
735
735
|
{
|
|
736
736
|
name: "rows",
|
|
737
737
|
description: "The number of rows to return.",
|
|
@@ -802,11 +802,11 @@ class g extends o {
|
|
|
802
802
|
throw new u("#VALUE!", `${t} requires a square matrix.`);
|
|
803
803
|
}
|
|
804
804
|
}
|
|
805
|
-
const
|
|
805
|
+
const Qe = `Returns the matrix product of two matrices.
|
|
806
806
|
The number of columns in matrix1 must equal the number of rows in matrix2.`;
|
|
807
|
-
class
|
|
807
|
+
class Xe extends g {
|
|
808
808
|
constructor() {
|
|
809
|
-
super(...arguments), this.autoSpilling = !0, this.example = "MMULT(A1:B2, C1:D2)", this.description =
|
|
809
|
+
super(...arguments), this.autoSpilling = !0, this.example = "MMULT(A1:B2, C1:D2)", this.description = Qe, this.defs = [
|
|
810
810
|
{ name: "matrix1", description: "First matrix.", takesMatrix: !0, acceptedTypes: ["matrix"] },
|
|
811
811
|
{ name: "matrix2", description: "Second matrix.", takesMatrix: !0, acceptedTypes: ["matrix"] }
|
|
812
812
|
];
|
|
@@ -836,11 +836,11 @@ class Qe extends g {
|
|
|
836
836
|
return a;
|
|
837
837
|
}
|
|
838
838
|
}
|
|
839
|
-
const
|
|
839
|
+
const We = `Returns the transpose of a matrix.
|
|
840
840
|
Rows and columns of the input array are swapped.`;
|
|
841
|
-
class
|
|
841
|
+
class Ye extends g {
|
|
842
842
|
constructor() {
|
|
843
|
-
super(...arguments), this.autoSpilling = !0, this.example = "TRANSPOSE(A1:C3)", this.description =
|
|
843
|
+
super(...arguments), this.autoSpilling = !0, this.example = "TRANSPOSE(A1:C3)", this.description = We, this.defs = [
|
|
844
844
|
{ name: "matrix", description: "The matrix to transpose.", takesMatrix: !0, acceptedTypes: ["matrix"] }
|
|
845
845
|
];
|
|
846
846
|
}
|
|
@@ -859,11 +859,11 @@ class We extends g {
|
|
|
859
859
|
return r;
|
|
860
860
|
}
|
|
861
861
|
}
|
|
862
|
-
const
|
|
862
|
+
const He = `Returns the inverse of a square matrix.
|
|
863
863
|
The matrix must be square and non-singular (determinant ≠ 0).`;
|
|
864
|
-
class
|
|
864
|
+
class Je extends g {
|
|
865
865
|
constructor() {
|
|
866
|
-
super(...arguments), this.autoSpilling = !0, this.example = "MINVERSE(A1:C3)", this.description =
|
|
866
|
+
super(...arguments), this.autoSpilling = !0, this.example = "MINVERSE(A1:C3)", this.description = He, this.defs = [
|
|
867
867
|
{ name: "matrix", description: "A square numeric matrix.", takesMatrix: !0, acceptedTypes: ["matrix"] }
|
|
868
868
|
];
|
|
869
869
|
}
|
|
@@ -903,10 +903,10 @@ class He extends g {
|
|
|
903
903
|
return n.map((r) => r.slice(t));
|
|
904
904
|
}
|
|
905
905
|
}
|
|
906
|
-
const
|
|
907
|
-
class
|
|
906
|
+
const Ke = "Returns the determinant of a square matrix.";
|
|
907
|
+
class Ze extends g {
|
|
908
908
|
constructor() {
|
|
909
|
-
super(...arguments), this.example = "MDETERM(A1:C3)", this.description =
|
|
909
|
+
super(...arguments), this.example = "MDETERM(A1:C3)", this.description = Ke, this.defs = [
|
|
910
910
|
{ name: "matrix", description: "A square numeric matrix.", takesMatrix: !0, acceptedTypes: ["matrix"] }
|
|
911
911
|
];
|
|
912
912
|
}
|
|
@@ -938,11 +938,11 @@ class Ke extends g {
|
|
|
938
938
|
return r;
|
|
939
939
|
}
|
|
940
940
|
}
|
|
941
|
-
const
|
|
941
|
+
const et = `Returns the sum of the products of corresponding array elements.
|
|
942
942
|
All arrays must have the same dimensions.`;
|
|
943
|
-
class
|
|
943
|
+
class tt extends g {
|
|
944
944
|
constructor() {
|
|
945
|
-
super(...arguments), this.example = "SUMPRODUCT(A1:A3, B1:B3)", this.description =
|
|
945
|
+
super(...arguments), this.example = "SUMPRODUCT(A1:A3, B1:B3)", this.description = et, this.defs = [
|
|
946
946
|
{ name: "array1", description: "First array.", takesMatrix: !0, acceptedTypes: ["matrix"] },
|
|
947
947
|
{ name: "array2", description: "Additional arrays.", takesMatrix: !0, acceptedTypes: ["matrix"], variadic: !0 }
|
|
948
948
|
];
|
|
@@ -969,53 +969,53 @@ class et extends g {
|
|
|
969
969
|
return r;
|
|
970
970
|
}
|
|
971
971
|
}
|
|
972
|
-
const
|
|
973
|
-
mod:
|
|
974
|
-
sqrt:
|
|
975
|
-
product:
|
|
976
|
-
round:
|
|
977
|
-
rounddown:
|
|
978
|
-
roundup:
|
|
979
|
-
log:
|
|
980
|
-
log10:
|
|
981
|
-
ln:
|
|
982
|
-
exp:
|
|
983
|
-
pi:
|
|
984
|
-
radians:
|
|
985
|
-
sin:
|
|
986
|
-
cos:
|
|
987
|
-
tan:
|
|
988
|
-
asin:
|
|
989
|
-
acos:
|
|
990
|
-
atan:
|
|
991
|
-
atan2:
|
|
992
|
-
rand:
|
|
993
|
-
unary_percent:
|
|
994
|
-
uplus:
|
|
995
|
-
sumif:
|
|
996
|
-
sumifs:
|
|
997
|
-
countif:
|
|
998
|
-
countifs:
|
|
999
|
-
fact:
|
|
1000
|
-
int:
|
|
1001
|
-
iseven:
|
|
1002
|
-
isodd:
|
|
1003
|
-
lcm:
|
|
1004
|
-
odd:
|
|
1005
|
-
even:
|
|
1006
|
-
sign:
|
|
1007
|
-
sumsq:
|
|
1008
|
-
trunc:
|
|
1009
|
-
base:
|
|
1010
|
-
sequence:
|
|
1011
|
-
mmult:
|
|
1012
|
-
transpose:
|
|
1013
|
-
minverse:
|
|
1014
|
-
mdeterm:
|
|
1015
|
-
sumproduct:
|
|
972
|
+
const st = {
|
|
973
|
+
mod: A,
|
|
974
|
+
sqrt: N,
|
|
975
|
+
product: S,
|
|
976
|
+
round: E,
|
|
977
|
+
rounddown: q,
|
|
978
|
+
roundup: I,
|
|
979
|
+
log: D,
|
|
980
|
+
log10: L,
|
|
981
|
+
ln: V,
|
|
982
|
+
exp: _,
|
|
983
|
+
pi: j,
|
|
984
|
+
radians: Q,
|
|
985
|
+
sin: W,
|
|
986
|
+
cos: H,
|
|
987
|
+
tan: K,
|
|
988
|
+
asin: ee,
|
|
989
|
+
acos: ne,
|
|
990
|
+
atan: re,
|
|
991
|
+
atan2: ae,
|
|
992
|
+
rand: ce,
|
|
993
|
+
unary_percent: me,
|
|
994
|
+
uplus: he,
|
|
995
|
+
sumif: le,
|
|
996
|
+
sumifs: ge,
|
|
997
|
+
countif: be,
|
|
998
|
+
countifs: ye,
|
|
999
|
+
fact: ve,
|
|
1000
|
+
int: Ae,
|
|
1001
|
+
iseven: Ne,
|
|
1002
|
+
isodd: Se,
|
|
1003
|
+
lcm: $e,
|
|
1004
|
+
odd: Ce,
|
|
1005
|
+
even: ke,
|
|
1006
|
+
sign: Oe,
|
|
1007
|
+
sumsq: Pe,
|
|
1008
|
+
trunc: Be,
|
|
1009
|
+
base: ze,
|
|
1010
|
+
sequence: Ge,
|
|
1011
|
+
mmult: Xe,
|
|
1012
|
+
transpose: Ye,
|
|
1013
|
+
minverse: Je,
|
|
1014
|
+
mdeterm: Ze,
|
|
1015
|
+
sumproduct: tt
|
|
1016
1016
|
};
|
|
1017
1017
|
export {
|
|
1018
|
-
|
|
1019
|
-
|
|
1018
|
+
st as default,
|
|
1019
|
+
st as mathFunctions
|
|
1020
1020
|
};
|
|
1021
1021
|
//# sourceMappingURL=index.js.map
|