Function electro::contour_int_rect [] [src]

pub fn contour_int_rect(field_mat: &Matrix<f64>,
                        rect_coords: &[[usize; 2]; 4],
                        pad_inward: bool)
                        -> f64

Computes the integral (sum) over a rectangular contour, starting from the bottom edge and proceeding counterclockwise.