Circulant¶
An \(n \times n\) matrix \(A\) is called circulant if there exists a vector \(b\) such that
\[A(i,j) = b((i-j) \bmod n).\]
The following routines generate a circulant matrix using the vector a
.
C++ API¶
-
void
Circulant
(AbstractDistMatrix<T> &A, const std::vector<T> &a)¶
C API¶
-
ElError
ElCirculant_c
(ElMatrix_c A, ElInt aSize, complex_float* aBuf)¶
-
ElError
ElCirculant_z
(ElMatrix_z A, ElInt aSize, complex_double* aBuf)¶
-
ElError
ElCirculantDist_c
(ElDistMatrix_c A, ElInt aSize, complex_float* aBuf)¶
-
ElError
ElCirculantDist_z
(ElDistMatrix_z A, ElInt aSize, complex_double* aBuf)¶