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

Where is API documentation ? #24

Open
SamGinrich opened this issue Apr 1, 2024 · 4 comments
Open

Where is API documentation ? #24

SamGinrich opened this issue Apr 1, 2024 · 4 comments

Comments

@SamGinrich
Copy link

Web Site
http://sites.google.com/site/piotrwendykier/software/jtransforms
is not reachable.

@biziclop
Copy link

biziclop commented Apr 1, 2024

Hi, this seems to be the last archived version:

https://web.archive.org/web/20230528055919/https://sites.google.com/site/piotrwendykier/software/jtransforms

@SamGinrich
Copy link
Author

Thank you!

So, DoubleFFT_1D.complexForward(double[] a) expects a sequence of complex numbers as array of double-pairs and
returns with the spectrum in same format?

@biziclop
Copy link

biziclop commented Apr 7, 2024

@SamGinrich Hi, you should also download the javadoc zip too for convenience, here is the un-archive.org-ed link:
http://search.maven.org/remotecontent?filepath=com/github/wendykierp/JTransforms/3.1/JTransforms-3.1-javadoc.jar
Anyway, you're right, except it doesn't return anything, the result is put back/calculated in place in your input array:

public void complexForward(double[] a)
Computes 1D forward DFT of complex data leaving the result in a. Complex number is stored as two double values in sequence: the real and imaginary part, i.e. the size of the input array must be greater or equal 2*n. The physical layout of the input data has to be as follows:

 a[2*k] = Re[k], 
 a[2*k+1] = Im[k], 0<=k<n

http://search.maven.org/remotecontent?filepath=com/github/wendykierp/JTransforms/3.1/JTransforms-3.1-with-dependencies.jar
https://web.archive.org/web/20230528055919/http://search.maven.org/remotecontent?filepath=com/github/wendykierp/JTransforms/3.1/JTransforms-3.1-sources.jar

@SamGinrich
Copy link
Author

Thank ou very much for the accurate response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants