14.1.5 Add_to_Matrix_Equation_Monomial Procedure

The Add_to_Matrix_Equation_Monomial procedure adds the linearized version of the Monomial Term to the specified matrix equation. It currently assumes that there is a one-to-one correspondence between the Monomial locus (e.g. Cells) and the equation and variable numbering, and furthermore assumes that the locus is Cells.

Calling syntax:

call Add_to_Matrix_Equation (Monomial, ELLM, RHS_MV)

Input variables:

 Monomial  The Monomial Term to be added.
 ELLM  The ELL Matrix to be incremented.
 RHS_MV  The right-hand side Mathematic Vector to be incremented.

Output variables:

 ELLM  The ELL Matrix that has been incremented.
 RHS_MV  The right-hand side Mathematic Vector that has been incremented.

Internal variables:

 Matrix_Columns  Columns for the added matrix values.
 Matrix_Rows  Rows for the added matrix values.
 Matrix_Values  Calculated values to be added to the matrix or vector.

The Add_to_Matrix_Equation_Monomial code listing contains additional documentation.

Michael L. Hall