next up previous contents index
Next: false,true Up: Bits Previous: apply   Contents   Index


dimension


Signature


\begin{usage}
dimension(b, n)
\end{usage}

\begin{params}
{\em b} & \% & A set of bits\\
{\em n} & \htmlref{\texttt{MachineInteger}}{MachineInteger} & An index\\\end{params}

\begin{retval}
Returns the number of bits of index between 1 and $n$\ that are true.
\end{retval}


Manuel Bronstein 2000-12-13