Skip to main content

calc_matrix

Function calc_matrix 

Source
pub fn calc_matrix(
    view: &IndexedNetwork<'_>,
    kind: MatrixKind,
    opts: &BuildOptions,
) -> Result<CsMat<f64>>
Expand description

Calculate the square matrix for one MatrixKind from an indexed network. This is the dispatch shared by the Pipeline, the verify CLI command, and the TUI inspect screen, so the YbusB = -Im(Y_bus) sign lives in one place.