Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Lightup1 committed Sep 4, 2023
1 parent f49498b commit 0637c17
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ idx=(length(ck)-1)÷2+1
W=MathieuWron(nu,ck,idx)
```
In some cases, `W` could be negative. One can replace `nu` with `-nu` and reverse `ck`, i.e., `reverse!(ck)`, to get a positive `W`.
If one prefers a positive `nu`, one can further shift `nu` with `nu+=2`.
In this case, `idx` should be `idx+=1`.
If one prefers a positive `nu`, one can further shift `nu` with `nu+=2` and `idx` with `idx+=1`.
Code example:
```julia
nu=2-nu
Expand Down

0 comments on commit 0637c17

Please sign in to comment.