Skip to main content

build_kind

Function build_kind 

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

Build the square matrix for one MatrixKind from an indexed network. The single 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.