--- doc/homework/homework5.html 2001/07/13 16:15:01 1.8 +++ doc/homework/homework5.html 2001/07/27 18:13:57 1.9 @@ -365,14 +365,6 @@ Differences (if any) - - sin(x), cos(x), tan(x) - &sin($x), &cos($x), &tan($x) - Trigonometric functions where x is in radians. $x - can be a pure number, i.e., you can call &sin(3.1415) -   - - sin(x), cos(x), tan(x) &sin($x), &cos($x), &tan($x) @@ -472,6 +464,13 @@ + /DIS($x,"nn") + &format($x,"nn") + Display or format $x as nn where nn is nF or nE and n is an integer. +  The difference is obvious. + + + roundto(x,n) &roundto($x,$n) Rounds a real number to n decimal points. $x and @@ -781,13 +780,13 @@ New to LON-CAPA - NOT IMPLEMENTED IN CAPA - @return_array=&random_multivariate_normal ($item_cnt,$seed,@mean,@covar)
- NOTE: @mean should be a length p array of real numbers. @covar should be a length - p array of references to length p arrays or real numbers (i.e. a p by p matrix. + NOT DOCUMENTED IN CAPA + @return_array=&random_multivariate_normal ($item_cnt,$seed,\@mean,\@covar)
+ NOTE: @mean should be of length p array of real numbers. @covar should be a length + p array of references to length p arrays of real numbers (i.e. a p by p matrix. Generate $item_cnt deviates of multivariate_normal distribution with mean vector @mean and variance-covariance matrix. - New to LON-CAPA + Note the backslash before the @mean and @covar arrays. NOT IMPLEMENTED IN CAPA