#[non_exhaustive]pub struct DcOpfMatrices {
pub incidence: SparseMatrix,
pub laplacian: SparseMatrix,
pub grounded_laplacian: SparseMatrix,
pub flow_map: SparseMatrix,
pub generator_bus: SparseMatrix,
pub generator_cost: SparseMatrix,
pub reference_selector: Vec<f64>,
}Expand description
Sparse matrices for a DC OPF instance.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.incidence: SparseMatrix§laplacian: SparseMatrix§grounded_laplacian: SparseMatrix§flow_map: SparseMatrix§generator_bus: SparseMatrix§generator_cost: SparseMatrixGenerator space quadratic cost diagonal.
reference_selector: Vec<f64>Trait Implementations§
Source§impl Clone for DcOpfMatrices
impl Clone for DcOpfMatrices
Source§fn clone(&self) -> DcOpfMatrices
fn clone(&self) -> DcOpfMatrices
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DcOpfMatrices
impl RefUnwindSafe for DcOpfMatrices
impl Send for DcOpfMatrices
impl Sync for DcOpfMatrices
impl Unpin for DcOpfMatrices
impl UnsafeUnpin for DcOpfMatrices
impl UnwindSafe for DcOpfMatrices
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