Row run length
= Row run length
{title2=$r_{ij}$}
The number of consecutive true entries ending at a specified column of one row of a <Boolean> <matrix>. It is zero at a false entry and otherwise one plus the previous column's <row run length>, taking the value before column zero to be zero.