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

request an fl.phasewrap~ object #109

Open
steadykammer opened this issue Nov 16, 2022 · 1 comment
Open

request an fl.phasewrap~ object #109

steadykammer opened this issue Nov 16, 2022 · 1 comment

Comments

@steadykammer
Copy link

I think making sub patchers like this is disappointing...

Screenshot 2022-11-16 at 13 46 41

...and I request there just be a new fl.phasewrap~ object.

@AlexHarker
Copy link
Owner

I'd suggest a more efficient way (that doesn't require a new very specialised object) is:

[fl.expr~ wrap(in1, -pi, pi)]

This is probably near enough as efficient as building a specialist object as the constants are pre-calculated. So I don't see a case for bloating the object set here.

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