[−][src]Struct contest_algorithms::math::num::Matrix   
Methods
impl Matrix[src]
pub fn zero(rows: usize, cols: usize) -> Self[src]
pub fn one(cols: usize) -> Self[src]
pub fn vector(vec: &[f64], as_row: bool) -> Self[src]
pub fn pow(&self, exp: u64) -> Self[src]
pub fn rows(&self) -> usize[src]
pub fn transpose(&self) -> Self[src]
pub fn recip(&self) -> Self[src]
Trait Implementations
impl<'_> Add<&'_ Matrix> for &'_ Matrix[src]
type Output = Matrix
The resulting type after applying the + operator.
fn add(self, other: Self) -> Matrix[src]
impl Clone for Matrix[src]
impl Debug for Matrix[src]
impl Index<usize> for Matrix[src]
type Output = [f64]
The returned type after indexing.
fn index(&self, row: usize) -> &Self::Output[src]
impl IndexMut<usize> for Matrix[src]
impl<'_> Mul<&'_ Matrix> for &'_ Matrix[src]
type Output = Matrix
The resulting type after applying the * operator.
fn mul(self, other: Self) -> Matrix[src]
impl<'_> Mul<f64> for &'_ Matrix[src]
type Output = Matrix
The resulting type after applying the * operator.
fn mul(self, scalar: f64) -> Matrix[src]
impl<'_> Neg for &'_ Matrix[src]
impl PartialEq<Matrix> for Matrix[src]
impl StructuralPartialEq for Matrix[src]
impl<'_> Sub<&'_ Matrix> for &'_ Matrix[src]
Auto Trait Implementations
impl RefUnwindSafe for Matrix
impl Send for Matrix
impl Sync for Matrix
impl Unpin for Matrix
impl UnwindSafe for Matrix
Blanket Implementations
impl<T> Any for T where
    T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
    T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
    U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
    T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
    U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, [src]
U: TryFrom<T>,