pub struct ErrorEllipse2 {
pub confidence: f64,
pub chi_square_scale: f64,
pub semi_major: f64,
pub semi_minor: f64,
pub orientation_rad: f64,
}Expand description
A confidence ellipse from an arbitrary 2x2 covariance block.
The semi-axes carry the square root unit of the covariance entries.
orientation_rad is measured from axis 0 toward axis 1.
Fields§
§confidence: f64Confidence probability associated with chi_square_scale.
chi_square_scale: f64Two-degree-of-freedom chi-square scale applied to the covariance eigenvalues.
semi_major: f64Semi-major axis length.
semi_minor: f64Semi-minor axis length.
orientation_rad: f64Semi-major-axis orientation in radians.
Trait Implementations§
Source§impl Clone for ErrorEllipse2
impl Clone for ErrorEllipse2
Source§fn clone(&self) -> ErrorEllipse2
fn clone(&self) -> ErrorEllipse2
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 moreimpl Copy for ErrorEllipse2
Source§impl Debug for ErrorEllipse2
impl Debug for ErrorEllipse2
Source§impl PartialEq for ErrorEllipse2
impl PartialEq for ErrorEllipse2
Source§fn eq(&self, other: &ErrorEllipse2) -> bool
fn eq(&self, other: &ErrorEllipse2) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ErrorEllipse2
Auto Trait Implementations§
impl Freeze for ErrorEllipse2
impl RefUnwindSafe for ErrorEllipse2
impl Send for ErrorEllipse2
impl Sync for ErrorEllipse2
impl Unpin for ErrorEllipse2
impl UnsafeUnpin for ErrorEllipse2
impl UnwindSafe for ErrorEllipse2
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.