#[non_exhaustive]pub struct DeterminantWithErrorBound { /* private fields */ }Expand description
A closed-form determinant and its certified absolute error bound.
Values of this type are produced by
Matrix::det_direct_with_errbound. The paired result guarantees that the
determinant was evaluated once and that its matching bound was computed for
the same matrix in one call. The guarantee is unavailable when gradual
underflow could invalidate the relative-error analysis or when the matrix
dimension exceeds the closed-form D ≤ 4 scope.
Implementations§
Source§impl DeterminantWithErrorBound
impl DeterminantWithErrorBound
Sourcepub const fn determinant(self) -> f64
pub const fn determinant(self) -> f64
Return the closed-form determinant approximation.
Sourcepub const fn absolute_error_bound(self) -> f64
pub const fn absolute_error_bound(self) -> f64
Return the certified absolute error bound.
The exact determinant lies in
[determinant - bound, determinant + bound].
Trait Implementations§
Source§impl Clone for DeterminantWithErrorBound
impl Clone for DeterminantWithErrorBound
Source§fn clone(&self) -> DeterminantWithErrorBound
fn clone(&self) -> DeterminantWithErrorBound
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 DeterminantWithErrorBound
Source§impl Debug for DeterminantWithErrorBound
impl Debug for DeterminantWithErrorBound
impl StructuralPartialEq for DeterminantWithErrorBound
Auto Trait Implementations§
impl Freeze for DeterminantWithErrorBound
impl RefUnwindSafe for DeterminantWithErrorBound
impl Send for DeterminantWithErrorBound
impl Sync for DeterminantWithErrorBound
impl Unpin for DeterminantWithErrorBound
impl UnsafeUnpin for DeterminantWithErrorBound
impl UnwindSafe for DeterminantWithErrorBound
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