Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Discrete sine transform
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Computation== Although the direct application of these formulas would require O(''N''<sup>2</sup>) operations, it is possible to compute the same thing with only O(''N'' log ''N'') complexity by factorizing the computation similar to the [[fast Fourier transform]] (FFT). (One can also compute DSTs via FFTs combined with O(''N'') pre- and post-processing steps.) A DST-III or DST-IV can be computed from a DCT-III or DCT-IV (see [[discrete cosine transform]]), respectively, by reversing the order of the inputs and flipping the sign of every other output, and vice versa for DST-II from DCT-II. In this way it follows that types IIβIV of the DST require exactly the same number of arithmetic operations (additions and multiplications) as the corresponding DCT types.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)