pub struct KernelMatrix {
pub entries: Vec<Vec<f64>>,
pub n: usize,
}Expand description
Kernel (Gram) matrix K_{ij} = k(x_i, x_j).
Fields§
§entries: Vec<Vec<f64>>The matrix entries.
n: usizeNumber of data points n.
Implementations§
Auto Trait Implementations§
impl Freeze for KernelMatrix
impl RefUnwindSafe for KernelMatrix
impl Send for KernelMatrix
impl Sync for KernelMatrix
impl Unpin for KernelMatrix
impl UnsafeUnpin for KernelMatrix
impl UnwindSafe for KernelMatrix
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