Traverse the matrix
for ( i = 1 ; i <= mat . size ; i ++ ) { for ( j = 1 ; j <= mat . size ; j ++ ) { if ( i >= j ) { Console . Write ( " { 0 } ▁ " , mat . A [ i * ( i - 1 ) / 2 + j - 1 ] ) ; } else { Console . Write ( "0 ▁ " ) ; } } Console . Write ( " STRNEWLINE " ) ; } }