FillDiagonal¶
Fills all of the diagonal entries of a matrix to a given value.
C++ API¶
C API¶
-
ElError
ElFillDiagonal_c
(ElMatrix_c A, complex_float alpha, ElInt offset)¶
-
ElError
ElFillDiagonal_z
(ElMatrix_z A, complex_double alpha, ElInt offset)¶
-
ElError
ElFillDiagonalDist_c
(ElDistMatrix_c A, complex_float alpha, ElInt offset)¶
-
ElError
ElFillDiagonalDist_z
(ElDistMatrix_z A, complex_double alpha, ElInt offset)¶