complex-numbers
What is a good open source C/C++ math library that supports vector math and complex numbers?
I am working on a project that needs vector math and complex numbers开发者_如何学编程. I am looking a for a good open source API that supports C/C++ and hopefully has decent performance.[详细]
2023-03-04 23:53 分类:问答Use scipy.integrate.quad to integrate complex numbers
I\'m using right now the scipy.integrate.quad to successfu开发者_Go百科lly integrate some real integrands. Now a situation appeared that I need to integrate a complex integrand. quad seems not be able[详细]
2023-03-04 22:41 分类:问答C99: can imaginary part of complex be a negative zero
Is it possible to store negative zero in imaginary part of C99 complex float? How I should statically initialize complex constants with signed imaginary part?[详细]
2023-03-02 15:24 分类:问答Using std::transform and tr1::bind to transform a vector of std::complex
Given a std::vector of std::complex, I would like to transform it to a vector containing only the real part of the complex, divided by some constant coefficient.[详细]
2023-02-27 05:26 分类:问答What is wrong with this fourier transform implementation
I\'m trying to implement a discrete fourier transform, but it\'s not working. I\'m prob开发者_JS百科ably have written a bug somewhere, but I haven\'t found it yet.[详细]
2023-02-26 15:43 分类:问答What's the fastest way to convert an interleaved NumPy integer array to complex64?
I have a stream of incoming data that has interleaved real and imaginary integers. Converting these to complex64 values is the slowest operation in my program. This is my current approach:[详细]
2023-02-25 05:36 分类:问答Plot a complex function in Mathematica
How can I make a Mathematica graphics that copies the behaviour of complex_plot in sage? i.e. ... takes a complex function of one[详细]
2023-02-19 00:29 分类:问答matlab image processing error
I am trying to find the fourier transform of an image in matlab. I am doing this without the hep of the library function. The code is:[详细]
2023-02-17 20:52 分类:问答How to use complex numbers in c++?
may you tell me how to write a complex variable in C++ code please? I do have separate real part psi_rl and imaginary part psi_im. Now I have to write psi = psi_rl + i psi_im. Do you have any idea ho[详细]
2023-02-16 16:19 分类:问答Discrete Fourier Transform (Not FFT) In Java
I\'m doing an assignment for a CSE class in Java and am implementing a FFT and the direct DFT (with matrix calculations). My FFT works fine, but my direct DFT is not working. My Fourier matrix is not[详细]
2023-02-14 17:25 分类:问答