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

Refactor functions for computing moments #268

Closed
3 tasks done
beorostica opened this issue Dec 21, 2023 · 0 comments
Closed
3 tasks done

Refactor functions for computing moments #268

beorostica opened this issue Dec 21, 2023 · 0 comments
Assignees

Comments

@beorostica
Copy link
Contributor

beorostica commented Dec 21, 2023

We need to define get_Mk that calculates $$\int_0^T t^k G(t) dt$$ and then we just define some shortcuts:

  • get_M0(seq; kwargs...) = get_Mk(seq, 0; kwargs...)
  • get_M1(seq; kwargs...) = get_Mk(seq, 1; kwargs...)
  • get_M2(seq; kwargs...) = get_Mk(seq, 2; kwargs...)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants