Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update lpc.jl #512

Closed
wants to merge 23 commits into from
Closed

Update lpc.jl #512

wants to merge 23 commits into from

Conversation

wheeheee
Copy link
Contributor

No description provided.

@wheeheee
Copy link
Contributor Author

wheeheee commented Nov 20, 2023

Also referenced PR#171.

- eachindex stuff
- `== nothing` to `=== nothing`
- npairs = max(nz, np)
- use rev_buf to eliminate allocs as much as possible
- changed multiple assignment so that `@views` macro can be used on outer loop
- `eachindex` to make sure `s` and `win` have compatible indices
- `ArraySplit` for non 1-based arrays
- chained comparisons coz they look pretty
- more informative errors
- taking reference from PR 171
- separate `levinson` and `arburg` from `lpc` and export
- reflection coefficients
- `p::Integer`
- not sure if arburg handles complex arguments, but just in case.
- add test for complex
- error for levinson is weirdly high
- test errors more often than original, cannot figure out why
extra keyword argument for scaling in xcorr, fixes large prediction_error in levinson
fix incorrect usage of argmin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant