Completely positive cone (source code)

= Completely positive cone
{title2=$\operatorname{CP}_n$}

The <convex cone> of <completely positive matrices>:
$$
\operatorname{CP}_n=\operatorname{cone}\{xx^T:x\in\mathbb R_{\geq0}^n\}.
$$
It is a <closed convex cone> and the <dual cone> of the <copositive cone> under the <Frobenius inner product>. The finite-sum definition imposes no closure by fiat; <closedness of the completely positive cone> supplies that fact.