pub fn dot<'a>(exprs: &[Expr<'a>], coeffs: &[f64]) -> Expr<'a>Expand description
Dot product of expressions with scalar coefficients: sum_{i} c_i * e_i.
Both arguments are slices. Pass owned containers by reference:
&vec, vec.as_slice(), or &array.
ยงPanics
Panics if exprs and coeffs have different lengths, or if exprs
is empty (the result needs an arena handle).