def diag( self ):
        return Vec( [self[i][i] for i in range(min(self.size))] )
Return a vector composed of elements on the matrix diagonal
dataset/ETHPy150Open sunlightlabs/clearspending/completeness/statlib/matfunc.py/Matrix.diag