Skip to main content

combine

Function combine 

Source
pub fn combine<C: Into<c64> + Copy>(terms: &[(C, &CMat)]) -> CMat
Expand description

Σ_i c_i M_i for small matrices of the same shape, with real or complex coefficients: combine(&[(4.0 * t, &s0()), (e_z, &sz())]).