Matrices/lower_tri.cpp
// This function sets the element at lower triangular
// matrix iff i >= j
This function sets the element at lower triangular
matrix iff i >= j
This function sets the element at lower triangular matrix iff i > = j
void Set(struct Matrix *m, int i, int j, int x)
{
    if(i>=j)
    {
        m->A[(i*(i-1))/2 + (j-1)] = x;
    }
}
void Set ( struct Matrix * m , int i , int j , int x ) { if ( i >= j ) { m -> A [ ( i * ( i - 1 ) ) / 2 + ( j - 1 ) ] = x ; } }
This function sets the element at lower triangular
matrix iff i >= j
This function sets the element at lower triangular matrix iff i > = j