We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4511be commit 669f352Copy full SHA for 669f352
stan/math/rev/fun/fft.hpp
@@ -111,7 +111,7 @@ inline plain_type_t<V> inv_fft(const V& y) {
111
*
112
* The adjoint computation is given by
113
* ```
114
- * adjoint(x) += size(y) * inv_fft(adjoint(y))
+ * adjoint(x) += size(y) * inv_fft2(adjoint(y))
115
116
117
* @tparam M type of complex matrix argument
@@ -143,7 +143,7 @@ inline plain_type_t<M> fft2(const M& x) {
143
144
145
146
- * adjoint(y) += (1 / size(x)) * fft(adjoint(x))
+ * adjoint(y) += (1 / size(x)) * fft2(adjoint(x))
147
148
149
0 commit comments