pub struct ConeRPos<L: LinAlg> { /* private fields */ }
Expand description
Nonnegative orthant cone
\[
\mathbb{R}_+^n = \mathbb{R}_+ \times \cdots \times \mathbb{R}_+ =
\left\lbrace x \in \mathbb{R}^n
\ \middle|\ x_i \ge 0,\ i=1,\ldots,n
\right\rbrace
\]
Creates an instance.
Returns the ConeRPos
instance.
Calculates \(\Pi_\mathcal{K}(x)\), that is euclidean projection of \(x\) onto the cone \(\mathcal{K}\).
Read more
Performs grouping for a diagonal preconditioning vector according to the cone \(\mathcal{K}\).
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.