Skip to main content
susceptance_diag
powerio_
matrix
0.2.3
In powerio_
matrix::
matrix::
incidence
powerio_matrix
::
matrix
::
incidence
Function
susceptance_
diag
Copy item path
Source
pub fn susceptance_diag(b: &[
f64
]) -> CsMat<
f64
>
Expand description
B = diag(b)
, shape
m × m
.