[][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]

pub fn inverse(&self) -> Self[src]

Trait Implementations

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

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>

impl<F> !Sync for MdsMatrix<F>

impl<F> Unpin for MdsMatrix<F>

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

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

Blanket Implementations

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

impl<T> From<T> for 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<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]