The Set_0_Diagonal_to_1_ELL_Matrix procedure sets the diagonal of a matrix to unity if the equation for that diagonal is missing. That is, if all entries on a row of a matrix are zero (both the values and the column numbers) then the diagonal is set to one.
|call Set_0_Diagonal_to_1 (ELLM)|
|ELLM||The ELL_Matrix object to be set.|
The Set_0_Diagonal_to_1_ELL_Matrix code listing contains additional documentation.