13.2.13 Set_0_Diagonal_to_1_ELL_Matrix Procedure

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.

Calling syntax:

call Set_0_Diagonal_to_1 (ELLM)

Input/Output variable:

 ELLM  The ELL_Matrix object to be set.

The Set_0_Diagonal_to_1_ELL_Matrix code listing contains additional documentation.



Michael L. Hall