[][src]Struct flag_algebra::sdp::ProblemView

pub struct ProblemView<'a, N, F> {
    pub obj: &'a QFlag<N, F>,
    pub ineqs: Select<'a, Vec<Ineq<N, F>>, Vec<Vec<usize>>>,
    pub cs: Select<'a, Vec<MulAndUnlabel<F>>, Vec<ArrayVec<[CSMode; 2]>>>,
    pub cs_subspace: Vec<(usize, &'a CsMat<f64>)>,
}

A reference to a Problem filtered by a Selector.

Fields

obj: &'a QFlag<N, F>ineqs: Select<'a, Vec<Ineq<N, F>>, Vec<Vec<usize>>>cs: Select<'a, Vec<MulAndUnlabel<F>>, Vec<ArrayVec<[CSMode; 2]>>>cs_subspace: Vec<(usize, &'a CsMat<f64>)>

Implementations

impl<'a, N, F> ProblemView<'a, N, F> where
    N: Display + Neg<Output = N> + Zero + Copy + PartialEq,
    F: Flag
[src]

pub fn write_sdpa(&self, filename: &str) -> Result<()>[src]

Write the semi-definite program in the file filename in the sdpa format.

Trait Implementations

impl<'a, N: Clone, F: Clone> Clone for ProblemView<'a, N, F>[src]

impl<'a, N: Debug, F: Debug> Debug for ProblemView<'a, N, F>[src]

Auto Trait Implementations

impl<'a, N, F> !RefUnwindSafe for ProblemView<'a, N, F>

impl<'a, N, F> !Send for ProblemView<'a, N, F>

impl<'a, N, F> !Sync for ProblemView<'a, N, F>

impl<'a, N, F> Unpin for ProblemView<'a, N, F>

impl<'a, N, F> !UnwindSafe for ProblemView<'a, N, F>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,