pub trait Field:
ComplexField
+ Copy
+ Send
+ Sync
+ PartialEq
+ Debug
+ 'static
+ Add<Output = Self>
+ Sub<Output = Self>
+ Mul<Output = Self>
+ Div<Output = Self>
+ AddAssign
+ SubAssign
+ MulAssign {
const ZERO: Self;
const ONE: Self;
const PIVOT_TOL: f64;
// Required methods
fn from_c64(z: c64) -> Self;
fn to_c64(self) -> c64;
fn modulus(self) -> f64;
fn into_c64(m: Mat<Self>) -> Mat<c64>;
fn schur(f: MatRef<'_, Self>, ne: usize) -> Option<(Mat<Self>, Mat<Self>)>;
}Expand description
Required Associated Constants§
Sourceconst PIVOT_TOL: f64
const PIVOT_TOL: f64
The pivot test of Field::schur: a pivot below this fraction of the largest entry of
the block counts as zero. About 10⁵ times the rounding error of c64; for c32, about
100 times its rounding error. A stricter c32 test would refuse more ill-conditioned
blocks, which nested dissection then delays to larger fronts: more accurate, but up to
3× slower than c64 (ARCHITECTURE.md, item 12).
Required Methods§
Sourcefn schur(f: MatRef<'_, Self>, ne: usize) -> Option<(Mat<Self>, Mat<Self>)>
fn schur(f: MatRef<'_, Self>, ne: usize) -> Option<(Mat<Self>, Mat<Self>)>
Schur complement of the leading ne × ne block f11 of the square matrix f:
(S, X) with X = f11⁻¹ f12 and S = f22 − f21 X, or None if a pivot of the LU of
f11 falls below Field::PIVOT_TOL times its largest entry (numerically singular).
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".