Struct mat::Sum [] [src]

pub struct Sum<L, R> { /* fields omitted */ }

The sum of two matrices

Trait Implementations

impl<L: Clone, R: Clone> Clone for Sum<L, R>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<L: Copy, R: Copy> Copy for Sum<L, R>
[src]

impl<T, L, R> Matrix for Sum<L, R> where
    L: Matrix<Elem = T>,
    R: Matrix<Elem = T>,
    T: Add<T, Output = T> + Copy
[src]

Number of rows

Number of columns

[src]

Returns the element at row r and column c Read more

[src]

Returns the size of the matrix

[src]

Returns the number of rows of the matrix

[src]

Returns the number of columns of the matrix

impl<T, L, R> UnsafeGet for Sum<L, R> where
    L: Matrix<Elem = T>,
    R: Matrix<Elem = T>,
    T: Add<T, Output = T> + Copy
[src]

The matrix element type

[src]

Returns the element at row r and column c with performing bounds checks

Auto Trait Implementations

impl<L, R> Send for Sum<L, R> where
    L: Send,
    R: Send

impl<L, R> Sync for Sum<L, R> where
    L: Sync,
    R: Sync