[][src]Struct r1cs::MdsMatrix

pub struct MdsMatrix<F: Field> { /* fields omitted */ }

A Maximum Distance Separable matrix.

Methods

impl<F: Field> MdsMatrix<F>[src]

pub fn new(rows: Vec<Vec<Element<F>>>) -> Self[src]

Trait Implementations

impl<'_, '_, F: Field> Mul<&'_ [Element<F>]> for &'_ MdsMatrix<F>[src]

type Output = Vec<Element<F>>

The resulting type after applying the * operator.

impl<'_, '_, F: Field> Mul<&'_ [Expression<F>]> for &'_ MdsMatrix<F>[src]

type Output = Vec<Expression<F>>

The resulting type after applying the * operator.

impl<'_, F: Field> Mul<&'_ [Element<F>]> for MdsMatrix<F>[src]

type Output = Vec<Element<F>>

The resulting type after applying the * operator.

impl<'_, F: Field> Mul<&'_ [Expression<F>]> for MdsMatrix<F>[src]

type Output = Vec<Expression<F>>

The resulting type after applying the * operator.

Auto Trait Implementations

impl<F> Send for MdsMatrix<F> where
    F: Send

impl<F> Unpin for MdsMatrix<F> where
    F: Unpin

impl<F> Sync for MdsMatrix<F> where
    F: Sync

impl<F> UnwindSafe for MdsMatrix<F> where
    F: UnwindSafe

impl<F> RefUnwindSafe for MdsMatrix<F> where
    F: RefUnwindSafe

Blanket Implementations

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

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

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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