code: def operator_complexity(self):
          
          return sum([level.A.nnz for level in self.levels]) /\
              float(self.levels[0].A.nnz)
docs: Operator complexity of this multigrid hierarchy.
  
          Defined as:
              Number of nonzeros in the matrix on all levels /
              Number of nonzeros in the matrix on the finest level