pub fn calc_edge_flows(edges: &[(usize, usize, f64)], theta: &[f64]) -> Vec<f64>Expand description
The flow w (θ_a − θ_b) of each edge (a, b, w) of an edge list at the
angles theta, the one DC flow from angles, for angles from a
GroundedLaplacianFactor or from an iterative solve over
calc_edge_laplacian_product.
§Panics
When an edge names a bus outside theta.