index

Returns the index within the hypecube where the input is true (ie $>0.5$). For example, where

\begin{eqnarray*}
\iota(3,3) &=& \left(\begin{array}{ccc}
0 & 3 & 6 \\
1 & 4...
...ray}{ccc}
0 & 3 &\\
1 & 4 &\\
2 & &
\end{array}\right),\\
\end{eqnarray*}


Note that the output array has the same shape as the input, with unused values padded with NANs (missing value).

Dimension and argument parameters are unused.