Type Definition linfa_kernel::Kernel [−][src]
type Kernel<F> = KernelBase<Array2<F>, CsMat<F>>;
Type definition of Kernel that owns its inner matrix
Implementations
impl<'a, F: Float> Kernel<F>
[src]
pub fn new(
dataset: ArrayView2<'a, F>,
method: KernelMethod<F>,
kind: KernelType
) -> Kernel<F>
[src]
dataset: ArrayView2<'a, F>,
method: KernelMethod<F>,
kind: KernelType
) -> Kernel<F>
pub fn view(&'a self) -> KernelView<'a, F>
[src]
Gives a KernelView which has a view on the original kernel’s inner matrix