mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-11 14:36:25 +08:00
Update fast_fourier_transform.cpp
This commit is contained in:
@@ -47,7 +47,7 @@ std::complex<double>* FastFourierTransform(std::complex<double>*p,uint64_t n)
|
||||
|
||||
}
|
||||
|
||||
double pi = 2 * asin(1.0); /// Declaring value of pi
|
||||
auto pi = 2 * asin(1.0); /// Declaring value of pi
|
||||
|
||||
auto om=std::complex<double>(cos(2*pi/n),sin(2*pi/n)); ///Calculating value of omega
|
||||
|
||||
|
||||
Reference in New Issue
Block a user