bandhic.band_hic_matrix.iterrows#
- band_hic_matrix.iterrows()[source]#
Iterate over the rows of the band_hic_matrix object.
- Yields:
ndarray – The values in the current row.
- Return type:
Iterator
[ndarray
]
Examples
>>> import bandhic as bh >>> mat = bh.ones((3,3), diag_num=2) >>> for row in mat.iterrows(): ... print(row) [1. 1. 1.] [1. 1. 1.] [1. 1. 1.]