This module contains useful routines related for diagonal matrices.
This function creates a diagonal matrix.
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 returns the size of the diagonal. It works for both rectangle and square arrays.
SetDiag routine can be used for setting the diagonal entries of a square dense matrix. The generic call is given below.
SetTriDiag routine can be used for setting the three diagonals (main, sub
Create a tridiagonal matrix.