File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 17
17
18
18
/* *
19
19
* @brief the expected value of the exponential distribution
20
- * @returns \( \mu = \frac{1}{\lambda} \)
20
+ * @returns \f[ \mu = \frac{1}{\lambda}\f]
21
21
*/
22
22
double exponential_expected (double lambda){
23
23
if (lambda<=0 ){
@@ -29,7 +29,7 @@ double exponential_expected(double lambda){
29
29
30
30
/* *
31
31
* @brief the variance of the exponential distribution
32
- * @returns \( \sigma^2 = \frac{1}{\lambda^2} \)
32
+ * @returns \f[ \sigma^2 = \frac{1}{\lambda^2}\f]
33
33
*/
34
34
double exponential_var (double lambda){
35
35
if (lambda<=0 ){
@@ -41,7 +41,7 @@ double exponential_var(double lambda){
41
41
42
42
/* *
43
43
* @brief the standard deviation of the exponential distribution
44
- * @returns \( \sigma = \frac{1}{\lambda} \)
44
+ * @returns \f[ \sigma = \frac{1}{\lambda}\f]
45
45
*/
46
46
double exponential_std (double lambda){
47
47
if (lambda<=0 ){
You can’t perform that action at this time.
0 commit comments