Skip to content

Commit c4244c8

Browse files
Corrected format issues
1 parent ea42824 commit c4244c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

probability/exponential_dist.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
/**
1919
* @brief the expected value of the exponential distribution
20-
* @returns \( \mu = \frac{1}{\lambda} \)
20+
* @returns \f[\mu = \frac{1}{\lambda}\f]
2121
*/
2222
double exponential_expected(double lambda){
2323
if (lambda<=0){
@@ -29,7 +29,7 @@ double exponential_expected(double lambda){
2929

3030
/**
3131
* @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]
3333
*/
3434
double exponential_var(double lambda){
3535
if (lambda<=0){
@@ -41,7 +41,7 @@ double exponential_var(double lambda){
4141

4242
/**
4343
* @brief the standard deviation of the exponential distribution
44-
* @returns \( \sigma = \frac{1}{\lambda} \)
44+
* @returns \f[\sigma = \frac{1}{\lambda}\f]
4545
*/
4646
double exponential_std(double lambda){
4747
if (lambda<=0){

0 commit comments

Comments
 (0)