DiagUtility
This module contains useful routines related for diagonal matrices.
ποΈ Diag
This function creates a diagonal matrix.
ποΈ DiagIndx
DiagIndx returns the indices of elements along a diagonal of a square or rectangle matrix. The indices are returned a two dimensional array of integers.
ποΈ DiagSize
DiagSize returns the size of the diagonal. It works for both rectangle and square arrays.
ποΈ SetDiag
SetDiag routine can be used for setting the diagonal entries of a square dense matrix. The generic call is given below.
ποΈ SetTriDiag
SetTriDiag routine can be used for setting the three diagonals (main, sub
ποΈ TriDiag
Create a tridiagonal matrix.