pub struct RcmResult {
pub permutation: Vec<usize>,
pub inverse_permutation: Vec<usize>,
pub original_bandwidth: usize,
pub new_bandwidth: usize,
}Expand description
Result of the Reverse Cuthill-McKee algorithm.
Fields§
§permutation: Vec<usize>The permutation vector: new_index[i] = old_index.
inverse_permutation: Vec<usize>The inverse permutation: old_index[i] = new_index.
original_bandwidth: usizeOriginal bandwidth of the matrix.
new_bandwidth: usizeBandwidth after reordering.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RcmResult
impl RefUnwindSafe for RcmResult
impl Send for RcmResult
impl Sync for RcmResult
impl Unpin for RcmResult
impl UnsafeUnpin for RcmResult
impl UnwindSafe for RcmResult
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 more