                              boolean&nbsp;cast,
                                  boolean&nbsp;ignore,
                                  int&nbsp;k)</pre>
<div class="block">CP rexpand operation (single input, single output), the classic example of this operation is one hot encoding of a
 column to multiple columns.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>in</code> - Input matrix</dd>
<dd><code>ret</code> - Output matrix</dd>
<dd><code>max</code> - Number of rows/cols of t