[gnumeric] adjust argument names for RANDSNORM and RANDSTDIST



commit 16e005b8f425df30de8f526395f40e77c0b9121f
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date:   Mon Feb 6 08:43:56 2012 -0700

    adjust argument names for RANDSNORM and RANDSTDIST
    
    2012-02-05 Andreas J. Guelzow <aguelzow pyrshep ca>
    
    	* functions.c (help_randsnorm): adjust argument names
    	(help_randstdist): adjust argument names

 plugins/fn-random/ChangeLog   |    5 +++++
 plugins/fn-random/functions.c |   26 +++++++++++++-------------
 2 files changed, 18 insertions(+), 13 deletions(-)
---
diff --git a/plugins/fn-random/ChangeLog b/plugins/fn-random/ChangeLog
index 5441c22..de1199e 100644
--- a/plugins/fn-random/ChangeLog
+++ b/plugins/fn-random/ChangeLog
@@ -1,5 +1,10 @@
 2012-02-05 Andreas J. Guelzow <aguelzow pyrshep ca>
 
+	* functions.c (help_randsnorm): adjust argument names
+	(help_randstdist): adjust argument names
+
+2012-02-05 Andreas J. Guelzow <aguelzow pyrshep ca>
+
 	* functions.c (help_randsnorm): clarify
 	(help_randstdist): ditto
 
diff --git a/plugins/fn-random/functions.c b/plugins/fn-random/functions.c
index 5b604a8..e040a9c 100644
--- a/plugins/fn-random/functions.c
+++ b/plugins/fn-random/functions.c
@@ -884,29 +884,29 @@ static GnmFuncHelp const help_randsnorm[] = {
         { GNM_FUNC_HELP_NAME, F_("RANDSNORM:random variate from a skew-normal distribution") },
         { GNM_FUNC_HELP_ARG, F_("\360\235\233\274:shape parameter of the skew-normal distribution, "
 				"defaults to 0") },
-        { GNM_FUNC_HELP_ARG, F_("\360\235\234\207:location parameter of the skew-normal distribution, "
+        { GNM_FUNC_HELP_ARG, F_("\360\235\234\211:location parameter of the skew-normal distribution, "
 				"defaults to 0") },
-        { GNM_FUNC_HELP_ARG, F_("\360\235\234\216:scale parameter of the skew-normal distribution, "
+        { GNM_FUNC_HELP_ARG, F_("\360\235\234\224:scale parameter of the skew-normal distribution, "
 				"defaults to 1") },
 	{ GNM_FUNC_HELP_DESCRIPTION, F_("The random variates are drawn from a skew-normal "
-					"distribution with shape parameter \360\235\233\274. "
-					"When \360\235\233\274=0, the skewness vanishes, and "
+					"distribution with shape parameter @{\360\235\233\274}. "
+					"When @{\360\235\233\274}=0, the skewness vanishes, and "
 					"we obtain the standard normal density; as \360\235\233\274"
 					" increases (in absolute value), the skewness of the "
-					"distribution increases; when \360\235\233\274 approaches "
+					"distribution increases; when @{\360\235\233\274} approaches "
 					"infinity  the density converges to the so-called "
 					"half-normal (or folded normal) density function; "
-					"if the sign of \360\235\233\274 changes, the density "
+					"if the sign of @{\360\235\233\274} changes, the density "
 					"is reflected on the opposite side of the vertical axis.") },
-	{ GNM_FUNC_HELP_NOTE, F_("The mean of a skew-normal distribution with location parameter \360\235\234\207=0 "
+	{ GNM_FUNC_HELP_NOTE, F_("The mean of a skew-normal distribution with location parameter @{\360\235\234\211}=0 "
 				 "is not 0.") },
 	{ GNM_FUNC_HELP_NOTE, F_("The standard deviation of a skew-normal distribution with scale parameter "
-				 "\360\235\234\216=1 is not 1.") },
-	{ GNM_FUNC_HELP_NOTE, F_("The skewness of a skew-normal distribution is in general not \360\235\233\274.") },
-	{ GNM_FUNC_HELP_NOTE, F_("If @{\360\235\234\216} < 0, RANDSNORM returns #NUM!") },
+				 "@{\360\235\234\224}=1 is not 1.") },
+	{ GNM_FUNC_HELP_NOTE, F_("The skewness of a skew-normal distribution is in general not @{\360\235\233\274}.") },
+	{ GNM_FUNC_HELP_NOTE, F_("If @{\360\235\234\224} < 0, RANDSNORM returns #NUM!") },
         { GNM_FUNC_HELP_EXAMPLES, "=RANDSNORM(-3,0,1)" },
         { GNM_FUNC_HELP_EXAMPLES, "=RANDSNORM(-3,0,1)" },
-        { GNM_FUNC_HELP_SEEALSO, "RANDNORM" },
+        { GNM_FUNC_HELP_SEEALSO, "RANDNORM,RANDSTDIST" },
         { GNM_FUNC_HELP_END}
 };
 
@@ -943,10 +943,10 @@ static GnmFuncHelp const help_randstdist[] = {
         { GNM_FUNC_HELP_ARG, F_("\360\235\233\274:shape parameter of the skew-t distribution, defaults to 0") },
 	{ GNM_FUNC_HELP_NOTE, F_("The mean of a skew-t distribution is not 0.") },
 	{ GNM_FUNC_HELP_NOTE, F_("The standard deviation of a skew-t distribution is not 1.") },
-	{ GNM_FUNC_HELP_NOTE, F_("The skewness of a skew-t distribution is in general not \360\235\233\274.") },
+	{ GNM_FUNC_HELP_NOTE, F_("The skewness of a skew-t distribution is in general not @{\360\235\233\274}.") },
         { GNM_FUNC_HELP_EXAMPLES, "=RANDSTDIST(5,-2)" },
         { GNM_FUNC_HELP_EXAMPLES, "=RANDSTDIST(5,2)" },
-        { GNM_FUNC_HELP_SEEALSO, "RANDTDIST" },
+        { GNM_FUNC_HELP_SEEALSO, "RANDTDIST,RANDSNORM" },
         { GNM_FUNC_HELP_END}
 };
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]