Skip to content

Commit

Permalink
fix intrinsic math erf and erfc formula errors (#311)
Browse files Browse the repository at this point in the history
erf markdown error fix and erfc formula correction
  • Loading branch information
zang-langyan authored Jul 19, 2023
1 parent 9b91b1e commit ecc78ea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ __pycache__/
/build/
/.vscode/
venv/
.DS_Store
2 changes: 1 addition & 1 deletion source/learn/intrinsics/_pages/ERF.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
**erf**(3) computes the error function of **x**, defined as

$$
\text{erf}(x) = \frac{2}{\sqrt{\pi}} \int_0^x e^{__-t__^2} dt.
\text{erf}(x) = \frac{2}{\sqrt{\pi}} \int_0^x e^{-t^2} dt.
$$

### **Options**
Expand Down
2 changes: 1 addition & 1 deletion source/learn/intrinsics/_pages/ERFC.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ $$
-->

$$
\text{erfc}(x) = 1 - \text{erf}(x) = 1 - \frac{2}{\sqrt{\pi}} \int_x^{\infty} e^{-t^2} dt.
\text{erfc}(x) = 1 - \text{erf}(x) = \frac{2}{\sqrt{\pi}} \int_x^{\infty} e^{-t^2} dt.
$$

### **Options**
Expand Down

0 comments on commit ecc78ea

Please sign in to comment.