RowOp

Trait RowOp 

Source
pub trait RowOp<T, LS: Shape = (), RS: Shape = (), D: Device = Self>: Device {
    // Required methods
    fn add_row(
        &self,
        lhs: &Matrix<'_, T, D, LS>,
        rhs: &Matrix<'_, T, D, RS>,
    ) -> Matrix<'_, T, Self, LS>;
    fn add_row_mut(
        &self,
        lhs: &mut Matrix<'_, T, D, LS>,
        rhs: &Matrix<'_, T, D, RS>,
    );
}

Required Methods§

Source

fn add_row( &self, lhs: &Matrix<'_, T, D, LS>, rhs: &Matrix<'_, T, D, RS>, ) -> Matrix<'_, T, Self, LS>

Source

fn add_row_mut( &self, lhs: &mut Matrix<'_, T, D, LS>, rhs: &Matrix<'_, T, D, RS>, )

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T: Number, D: MainMemory, LS: Shape, RS: Shape> RowOp<T, LS, RS, D> for CPU

Available on crate feature cpu only.
Source§

impl<T: CDatatype> RowOp<T> for OpenCL

Available on crate feature opencl only.