baseConnectionCount property

int get baseConnectionCount

Number of non-zero circulant blocks in baseMatrix.

Implementation

int get baseConnectionCount =>
    baseMatrix.expand((row) => row).where((shift) => shift >= 0).length;