Group Abstract Group Abstract

Message Boards Message Boards

1
|
1.3K Views
|
4 Replies
|
7 Total Likes
View groups...
Share
Share this post:

Why doesn't Fourier work properly with NumericArray?

Posted 4 months ago
POSTED BY: Anton Lutsenko
4 Replies
Posted 4 months ago

Wolfram's Fourier does not support NumericArray directly. A simple workaround is converting NumericArray back to a standard list before applying Fourier: f2 = Fourier[Normal[dataNum]]. However, this may negate potential memory benefits. If performance is critical, consider sticking with PackedArray or implementing a custom DFT using LibraryFunctionLoad for optimized handling of NumericArray.

POSTED BY: Jaymal Raja

For Me this is a big oversight !

Can you write to WRI and and explain what you need.

Regards M.I.

POSTED BY: Mariusz Iwaniuk
Posted 4 months ago

NumericalArray[] returns an object, not a matrix. Use Normal[], e.g., f2=Fourier[Normal[dataNum]]

POSTED BY: Sangdon Lee
POSTED BY: Mariusz Iwaniuk
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard