diff options
author | Winfried Donkers <winfrieddonkers@libreoffice.org> | 2013-11-23 19:31:24 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-11-29 11:12:20 -0600 |
commit | 8539039e0c108da7d0306c37962415ce7e271c84 (patch) | |
tree | f89a8992c602bcdef28bc4063bd495f568347b57 /sc/source/ui | |
parent | d694313b57f2edca8fb04cd8655476df6d879784 (diff) |
fdo#71936 Add Excel 2010 functions GAMMA.DIST, GAMMA.INV, GAMMALN.PRECISE
Change-Id: I96f6beb34c1ce7f7191c6e9d379145ba98320c87
Reviewed-on: https://gerrit.libreoffice.org/6775
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/src/scfuncs.src | 112 |
1 files changed, 112 insertions, 0 deletions
diff --git a/sc/source/ui/src/scfuncs.src b/sc/source/ui/src/scfuncs.src index ba670a40e15a..d761adec9810 100644 --- a/sc/source/ui/src/scfuncs.src +++ b/sc/source/ui/src/scfuncs.src @@ -6687,6 +6687,54 @@ Resource RID_SC_FUNCTION_DESCRIPTIONS2 Text [ en-US ] = "0 or FALSE calculates the probability density function. Any other value or TRUE or omitted calculates the cumulative distribution function." ; }; }; + // -=*# Resource for function GAMMA.DIST #*=- + Resource SC_OPCODE_GAMMA_DIST_MS + { + String 1 // Description + { + Text [ en-US ] = "Returns the value of the probability density function or the cumulative distribution function for the Gamma distribution." ; + }; + ExtraData = + { + 0; + ID_FUNCTION_GRP_STATISTIC; + U2S( HID_FUNC_GAMMADIST_MS ); + 4; 0; 0; 0; 0; + 0; + }; + String 2 // Name of Parameter 1 + { + Text [ en-US ] = "Number" ; + }; + String 3 // Description of Parameter 1 + { + Text [ en-US ] = "The value for which the gamma distribution is to be calculated." ; + }; + String 4 // Name of Parameter 2 + { + Text [ en-US ] = "alpha" ; + }; + String 5 // Description of Parameter 2 + { + Text [ en-US ] = "The Alpha parameter of the Gamma distribution." ; + }; + String 6 // Name of Parameter 3 + { + Text [ en-US ] = "beta" ; + }; + String 7 // Description of Parameter 3 + { + Text [ en-US ] = "The Beta parameter of the Gamma distribution." ; + }; + String 8 // Name of Parameter 4 + { + Text [ en-US ] = "Cumulative" ; + }; + String 9 // Description of Parameter 4 + { + Text [ en-US ] = "0 or FALSE calculates the probability density function. Any other value or TRUE calculates the cumulative distribution function." ; + }; + }; // -=*# Resource for function GAMMAINV #*=- Resource SC_OPCODE_GAMMA_INV { @@ -6727,6 +6775,46 @@ Resource RID_SC_FUNCTION_DESCRIPTIONS2 Text [ en-US ] = "The Beta (scale) parameter of the Gamma distribution." ; }; }; + // -=*# Resource for function GAMMA.INV #*=- + Resource SC_OPCODE_GAMMA_INV_MS + { + String 1 // Description + { + Text [ en-US ] = "Values of the inverse gamma distribution." ; + }; + ExtraData = + { + 0; + ID_FUNCTION_GRP_STATISTIC; + U2S( HID_FUNC_GAMMAINV_MS ); + 3; 0; 0; 0; + 0; + }; + String 2 // Name of Parameter 1 + { + Text [ en-US ] = "Number" ; + }; + String 3 // Description of Parameter 1 + { + Text [ en-US ] = "The probability value for which the inverse gamma distribution is to be calculated." ; + }; + String 4 // Name of Parameter 2 + { + Text [ en-US ] = "alpha" ; + }; + String 5 // Description of Parameter 2 + { + Text [ en-US ] = "The Alpha (shape) parameter of the Gamma distribution." ; + }; + String 6 // Name of Parameter 3 + { + Text [ en-US ] = "beta" ; + }; + String 7 // Description of Parameter 3 + { + Text [ en-US ] = "The Beta (scale) parameter of the Gamma distribution." ; + }; + }; // -=*# Resource for function GAMMALN #*=- Resource SC_OPCODE_GAMMA_LN { @@ -6751,6 +6839,30 @@ Resource RID_SC_FUNCTION_DESCRIPTIONS2 Text [ en-US ] = "The value for which the natural logarithm of the gamma function is to be calculated." ; }; }; + // -=*# Resource for function GAMMALN.PRECISE #*=- + Resource SC_OPCODE_GAMMA_LN_MS + { + String 1 // Description + { + Text [ en-US ] = "Returns the natural logarithm of the gamma function." ; + }; + ExtraData = + { + 0; + ID_FUNCTION_GRP_STATISTIC; + U2S( HID_FUNC_GAMMALN_MS ); + 1; 0; + 0; + }; + String 2 // Name of Parameter 1 + { + Text [ en-US ] = "Number" ; + }; + String 3 // Description of Parameter 1 + { + Text [ en-US ] = "The value for which the natural logarithm of the gamma function is to be calculated." ; + }; + }; // -=*# Resource for function GAMMA #*=- Resource SC_OPCODE_GAMMA |