IndexDependentFill¶
Fill each entry of the passed in matrix by querying the specified function which depends upon the global index of the entry.
C++ API¶
-
void
IndexDependentFill
(AbstractDistMatrix<T> &A, std::function<T(Int, Int)> func)¶
C API¶
-
ElError
ElIndexDependentFill_c
(ElMatrix_c A, complex_float (*fill)(ElInt,ElInt))¶
-
ElError
ElIndexDependentFill_z
(ElMatrix_z A, complex_double (*fill)(ElInt,ElInt))¶
-
ElError
ElIndexDependentFillDist_c
(ElDistMatrix_c A, complex_float (*fill)(ElInt,ElInt))¶
-
ElError
ElIndexDependentFillDist_z
(ElDistMatrix_z A, complex_double (*fill)(ElInt,ElInt))¶