EntrywiseFill¶
Fill each entry of the passed in matrix by querying the specified function.
C++ API¶
-
void
EntrywiseFill
(Matrix<T> &A, std::function<T(void)> func)¶
-
void
EntrywiseFill
(AbstractDistMatrix<T> &A, std::function<T(void)> func)¶
-
void
EntrywiseFill
(DistMultiVec<T> &A, std::function<T(void)> func)¶
C API¶
-
ElError
ElEntrywiseFill_c
(ElMatrix_c A, complex_float (*fill)())¶
-
ElError
ElEntrywiseFill_z
(ElMatrix_z A, complex_double (*fill)())¶
-
ElError
ElEntrywiseFillDist_c
(ElDistMatrix_c A, complex_float (*fill)())¶
-
ElError
ElEntrywiseFillDist_z
(ElDistMatrix_z A, complex_double (*fill)())¶
-
ElError
ElEntrywiseFillDistMultiVec_c
(ElDistMultiVec_c A, complex_float (*fill)())¶
-
ElError
ElEntrywiseFillDistMultiVec_z
(ElDistMultiVec_z A, complex_double (*fill)())¶