pub struct LinearSystem2 {
pub a11: f64,
pub a12: f64,
pub b1: f64,
pub a21: f64,
pub a22: f64,
pub b2: f64,
}Expand description
A 2x2 linear system of the form:
a11*x + a12*y = b1
a21*x + a22*y = b2
Fields§
§a11: f64Row 1, column 1 coefficient.
a12: f64Row 1, column 2 coefficient.
b1: f64Row 1 right-hand side.
a21: f64Row 2, column 1 coefficient.
a22: f64Row 2, column 2 coefficient.
b2: f64Row 2 right-hand side.
Implementations§
Trait Implementations§
Source§impl Clone for LinearSystem2
impl Clone for LinearSystem2
Source§fn clone(&self) -> LinearSystem2
fn clone(&self) -> LinearSystem2
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 moreSource§impl Debug for LinearSystem2
impl Debug for LinearSystem2
Source§impl PartialEq for LinearSystem2
impl PartialEq for LinearSystem2
Source§fn eq(&self, other: &LinearSystem2) -> bool
fn eq(&self, other: &LinearSystem2) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RootSolver for LinearSystem2
impl RootSolver for LinearSystem2
impl Copy for LinearSystem2
impl StructuralPartialEq for LinearSystem2
Auto Trait Implementations§
impl Freeze for LinearSystem2
impl RefUnwindSafe for LinearSystem2
impl Send for LinearSystem2
impl Sync for LinearSystem2
impl Unpin for LinearSystem2
impl UnsafeUnpin for LinearSystem2
impl UnwindSafe for LinearSystem2
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