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

Support log base arbitrary field element #32

Closed
mhostetter opened this issue Mar 25, 2021 · 1 comment
Closed

Support log base arbitrary field element #32

mhostetter opened this issue Mar 25, 2021 · 1 comment
Assignees
Labels
feature-request New feature or request

Comments

@mhostetter
Copy link
Owner

GF = galois.GF_factory(2, 8)
a = GF(37)
b = GF(23)

# Log base-b of a
np.logn(a, b)
@mhostetter mhostetter added the feature-request New feature or request label Mar 25, 2021
@mhostetter mhostetter self-assigned this Mar 25, 2021
@mhostetter
Copy link
Owner Author

Actually, logn() is buried in np.lib.scimath.logn. Maybe add a method to GF classes? Call would be GF.log(a, b)?

https://numpy.org/doc/stable/reference/generated/numpy.lib.scimath.logn.html#numpy.lib.scimath.logn

@mhostetter mhostetter linked a pull request Aug 20, 2021 that will close this issue
mhostetter added a commit that referenced this issue Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant