table(seq(1, nrow(A)), A, w)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>seqHeight</code> - A sequence vector height.</dd>
<dd><code>A</code> - The MatrixBlock vector to encode.</dd>
<dd><code>w</code> - The weight matrix to multiply on output cells.</dd>
<dd><code>ret</code> - The output MatrixBlock, does not have to be used, but depending on updateClen determine the
                   output size.</dd>
<dd><code>updateClen</code> - Update clen, if set to true, ignore dimensio