8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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 stat 8000 ement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import snob fft=snob.ClausenFFT(3)
gives
AttributeError Traceback (most recent call last) Cell In[1], line 2 1 import snob ----> 2 fft=snob.ClausenFFT(3) AttributeError: module 'snob' has no attribute 'ClausenFFT'
and
dir(snob)
returns
['ConvolveFn', 'IntegerPartition', 'IntegerPartitions', 'InvFn', 'LeftTranslateFn', 'Permutation', 'RightTranslateFn', 'Sn', 'SnCClass', 'SnCharacter', 'SnElement', 'SnFunction', 'SnIrrep', 'SnType', 'StandardYoungTableaux', 'YoungTableau', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', 'device_id', 'torch']
Did I miss anything? Thanks! Looking forward to playing around with this!
The text was updated successfully, but these errors were encountered:
Sorry about this! It looks like it was just a missing import. Could you please try again?
Sorry, something went wrong.
Thanks, ClausenFFT is now available. It works well if I pass a snob_base.SnFunction as argument, but not with a snob.SnFunction:
import snob N=3 f=snob.SnFunction.gaussian(N) fft=snob.ClausenFFT(N) F=fft(f)
TypeError Traceback (most recent call last) Cell In[8], line 1 ----> 1 F=fft(f) TypeError: call(): incompatible function arguments. The following argument types are supported: (self: snob_base.ClausenFFT, arg0: snob_base.SnFunction) -> snob_base.SnVec (self: snob_base.ClausenFFT, arg0: snob_base.SnOverSmFunction) -> snob_base.SnVec Invoked with: <snob_base.ClausenFFT object at 0x109053970>, <SnFunction n=3>
TypeError Traceback (most recent call last) Cell In[8], line 1 ----> 1 F=fft(f)
TypeError: call(): incompatible function arguments. The following argument types are supported:
Invoked with: <snob_base.ClausenFFT object at 0x109053970>, <SnFunction n=3>
But
import snob from snob_base import SnFunction N=3 f=SnFunction.gaussian(N) fft=snob.ClausenFFT(N) F=fft(f)
works. Thanks for your help.
No branches or pull requests
gives
and
returns
Did I miss anything?
Thanks! Looking forward to playing around with this!
The text was updated successfully, but these errors were encountered: