[][src]Struct lsh_rs::L2

pub struct L2 {
    pub a: Array2<f32>,
    pub r: f32,
    pub b: Array1<f32>,
    // some fields omitted
}

L2 Hasher family. Read more.

Fields

a: Array2<f32>r: f32b: Array1<f32>

Methods

impl L2[src]

pub fn new(dim: usize, r: f32, n_projections: usize, seed: u64) -> L2[src]

Trait Implementations

impl Clone for L2[src]

impl<'de> Deserialize<'de> for L2[src]

impl Serialize for L2[src]

impl VecHash for L2[src]

Auto Trait Implementations

impl RefUnwindSafe for L2

impl Send for L2

impl Sync for L2

impl Unpin for L2

impl UnwindSafe for L2

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,