pub struct KPartite<A> { /* private fields */ }Expand description
Original pair costs in combinations order, widened and copied once.
Implementations§
Source§impl<A: Acc + Cost<Acc = A>> KPartite<A>
impl<A: Acc + Cost<Acc = A>> KPartite<A>
Sourcepub fn new<T: Cost<Acc = A>>(
mats: &[MatrixView<'_, T>],
) -> Result<Self, KapError>
pub fn new<T: Cost<Acc = A>>( mats: &[MatrixView<'_, T>], ) -> Result<Self, KapError>
Validate the condensed matrix count and all shared dimensions.
Trait Implementations§
Auto Trait Implementations§
impl<A> Forget for KPartite<A>
impl<A> Freeze for KPartite<A>
impl<A> Move for KPartite<A>
impl<A> RefUnwindSafe for KPartite<A>where
Arc<[Dense<A>]>: RefUnwindSafe,
impl<A> Send for KPartite<A>
impl<A> Sync for KPartite<A>
impl<A> Unpin for KPartite<A>
impl<A> UnsafeUnpin for KPartite<A>where
Arc<[Dense<A>]>: UnsafeUnpin,
impl<A> UnwindSafe for KPartite<A>where
Arc<[Dense<A>]>: UnwindSafe,
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