pub struct ConeSOC<L: LinAlg> { /* private fields */ }
Expand description
Second-order (or quadratic) cone
\[
\mathcal{Q}^n =
\left\lbrace x \in \mathbb{R}^n
\ \middle|\ \sqrt{x_2^2+\cdots+x_n^2} \le x_1
\right\rbrace
\]
Creates an instance.
Returns the ConeSOC
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.