犰狳 ifft 维度
Armadillo ifft dimension
犰狳ifft support "dim" as Octave/Matlab吗?
Armadillo 文档显示为 "If given a matrix, the transform is done on each column vector of the matrix"。所以,不,它不支持 dim
,但您可以将 Armadillo 的 ifft()
方法视为 Octave/MATLAB 的 dim = 1
(列)。
如果您想对行执行 ifft()
,那么您只需转置输入矩阵...
mat X; // This is the matrix you want to call ifft() on.
// The second transpose is optional, but it will get the Y matrix to have
// the same dimension as the X matrix.
mat Y = ifft(X.t()).t();
犰狳ifft support "dim" as Octave/Matlab吗?
Armadillo 文档显示为 "If given a matrix, the transform is done on each column vector of the matrix"。所以,不,它不支持 dim
,但您可以将 Armadillo 的 ifft()
方法视为 Octave/MATLAB 的 dim = 1
(列)。
如果您想对行执行 ifft()
,那么您只需转置输入矩阵...
mat X; // This is the matrix you want to call ifft() on.
// The second transpose is optional, but it will get the Y matrix to have
// the same dimension as the X matrix.
mat Y = ifft(X.t()).t();