Struct dahl_salso::optimize::VILBGLossComputer [−][src]
pub struct VILBGLossComputer<'a> { /* fields omitted */ }
Implementations
impl<'a> VILBGLossComputer<'a>
[src]
impl<'a> VILBGLossComputer<'a>
[src]pub fn new(psm: &'a SquareMatrixBorrower<'a>) -> Self
[src]
pub fn expected_loss_from_kernel(
psm: &'a SquareMatrixBorrower<'a>,
kernel: f64
) -> f64
[src]
psm: &'a SquareMatrixBorrower<'a>,
kernel: f64
) -> f64
Trait Implementations
impl<'a> GeneralLossComputer for VILBGLossComputer<'a>
[src]
impl<'a> GeneralLossComputer for VILBGLossComputer<'a>
[src]fn expected_loss_kernel(&self) -> f64
[src]
fn speculative_add(
&mut self,
partition: &Partition,
i: usize,
subset_index: LabelType
) -> f64
[src]
&mut self,
partition: &Partition,
i: usize,
subset_index: LabelType
) -> f64
fn new_subset(&mut self, partition: &mut Partition)
[src]
fn add_with_index(
&mut self,
partition: &mut Partition,
i: usize,
subset_index: LabelType
)
[src]
&mut self,
partition: &mut Partition,
i: usize,
subset_index: LabelType
)
fn remove(&mut self, partition: &mut Partition, i: usize) -> LabelType
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for VILBGLossComputer<'a>
impl<'a> Send for VILBGLossComputer<'a>
impl<'a> Sync for VILBGLossComputer<'a>
impl<'a> Unpin for VILBGLossComputer<'a>
impl<'a> UnwindSafe for VILBGLossComputer<'a>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,