pub fn new(label: impl Into<String>, terms: Vec<(F, impl Into<LCTerm>)>) -> Self {
        let terms = terms.into_iter().map(|(c, t)| (c, t.into())).collect();
        Self {
            label: label.into(),
            terms,
        }
    }
/// Construct a new labeled linear combination.
/// with the terms specified in `term`.
Construct a new labeled linear combination.
with the terms specified in `term`.
Construct a new labeled linear combination . with the terms specified in ` term ` .
pub fn new(label: impl Into<String>, terms: Vec<(F, impl Into<LCTerm>)>) -> Self {
        let terms = terms.into_iter().map(|(c, t)| (c, t.into())).collect();
        Self {
            label: label.into(),
            terms,
        }
    }
pub fn new ( label : impl Into < String > , terms : Vec < ( F , impl Into < LCTerm > ) > ) -> Self { let terms = terms . into_iter ( ) . map ( | ( c , t ) | ( c , t . into ( ) ) ) . collect ( ) ; Self { label : label . into ( ) , terms , } }
Construct a new labeled linear combination.
Construct a new labeled linear combination .
label
impl Into<String>
terms
Vec<(F, impl Into<LCTerm>)>
label
impl Into<String>
terms
Vec<(F, impl Into<LCTerm>)>