pub struct KktOperators {
pub l1: CsMat<f64>,
pub l2: CsMat<f64>,
pub d: Vec<f64>,
pub l1_grounded: CsMat<f64>,
pub l2_grounded: CsMat<f64>,
pub l_eff_grounded: Option<CsMat<f64>>,
pub map: GroundedIndexMap,
}Expand description
The grounded operators a step of the EKS solver consumes, plus their
ungrounded forms and the diagonal D = Dg⁻¹.
Fields§
§l1: CsMat<f64>L₁ = A diag(b²·θf⁻¹) Aᵀ, the reweighted Laplacian (n×n).
l2: CsMat<f64>L₂ = L, the DC Laplacian (n×n).
d: Vec<f64>D = Dg⁻¹ = (Q + Θg⁻¹)⁻¹, positive diagonal, length n.
l1_grounded: CsMat<f64>L₁ grounded at the slack bus, SPD.
l2_grounded: CsMat<f64>L₂ grounded at the slack bus, SPD.
l_eff_grounded: Option<CsMat<f64>>L_eff = L₁ + L₂ D L₂ grounded at the slack bus, SPD. Present only
when requested.
map: GroundedIndexMapTrait Implementations§
Source§impl Clone for KktOperators
impl Clone for KktOperators
Source§fn clone(&self) -> KktOperators
fn clone(&self) -> KktOperators
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for KktOperators
impl RefUnwindSafe for KktOperators
impl Send for KktOperators
impl Sync for KktOperators
impl Unpin for KktOperators
impl UnsafeUnpin for KktOperators
impl UnwindSafe for KktOperators
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more