Skip to content

Commit

Permalink
Update index.md, Rayleigh-Ritz.md and Basis.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ohno committed Nov 9, 2024
1 parent 4d3a771 commit 80a4862
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions docs/src/Rayleigh–Ritz.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ hamiltonian = Hamiltonian(
Define the basis set:
```math
\begin{aligned}
\phi_1(r) &= \mathrm{e}^{-13.00773 r^2}, \\
\phi_2(r) &= \mathrm{e}^{-1.962079 r^2}, \\
\phi_3(r) &= \mathrm{e}^{-0.444529 r^2}, \\
\phi_4(r) &= \mathrm{e}^{-0.1219492 r^2}.
\phi_1(r) &= \exp(-13.00773 ~r^2), \\
\phi_2(r) &= \exp(-1.962079 ~r^2), \\
\phi_3(r) &= \exp(-0.444529 ~r^2), \\
\phi_4(r) &= \exp(-0.1219492 ~r^2).
\end{aligned}
```
```@repl example
Expand Down
8 changes: 4 additions & 4 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ hamiltonian = Hamiltonian(
The usage depends on the method. Define the basis set for the [Rayleigh–Ritz method](@ref Rayleigh–Ritz-method):
```math
\begin{aligned}
\phi_1(r) &= \mathrm{e}^{-13.00773 r^2}, \\
\phi_2(r) &= \mathrm{e}^{-1.962079 r^2}, \\
\phi_3(r) &= \mathrm{e}^{-0.444529 r^2}, \\
\phi_4(r) &= \mathrm{e}^{-0.1219492 r^2}.
\phi_1(r) &= \exp(-13.00773 ~r^2), \\
\phi_2(r) &= \exp(-1.962079 ~r^2), \\
\phi_3(r) &= \exp(-0.444529 ~r^2), \\
\phi_4(r) &= \exp(-0.1219492 ~r^2).
\end{aligned}
```
```@repl index
Expand Down
8 changes: 4 additions & 4 deletions src/Basis.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ abstract type Basis end
The basis set is the input for Rayleigh–Ritz method. You can define the basis set like this:
```math
\begin{aligned}
\phi_1(r) &= \mathrm{e}^{-13.00773 r^2} \\
\phi_2(r) &= \mathrm{e}^{-1.962079 r^2} \\
\phi_3(r) &= \mathrm{e}^{-0.444529 r^2} \\
\phi_4(r) &= \mathrm{e}^{-0.1219492 r^2}
\phi_1(r) &= \exp(-13.00773 ~r^2), \\
\phi_2(r) &= \exp(-1.962079 ~r^2), \\
\phi_3(r) &= \exp(-0.444529 ~r^2), \\
\phi_4(r) &= \exp(-0.1219492 ~r^2).
\end{aligned}
```
```@example
Expand Down

0 comments on commit 80a4862

Please sign in to comment.