Struct rds::array::NDSliceMut [] [src]

pub struct NDSliceMut<'a, T: 'a> { /* fields omitted */ }

Structure representing an mutable borrow of a n-dimensional array sub slice.

Trait Implementations

impl<'a, T> NDData<T> for NDSliceMut<'a, T>
[src]

Return a slice of length N where each element is the length of the dimension. For a 2 dimensional matrix, the first dimension is the number of rows and the second dimension is the number of columns. Read more

Return a slice of length N where each element is the stride of the dimension.

Return the underlying storage array as a slice.

Return N, the number of dimensions.

Return the total number of element of the N-dimensional array.

Take a slice of length N representing an N-dimensional index in the array and return a reference to the element at this position. Read more

impl<'a, T: Clone + Display> NDDataMut<T> for NDSliceMut<'a, T>
[src]

Return the underlying storage array as a mutable slice.

Take a slice of length N representing an -index in the array and return a mutable reference to the element at this position. Read more

Perform a generic transpose. All the dimensions need to be the same.

Assign another NDData to the NDDataMut. The shapes need to be identical.

impl<'a, T: 'a> NDSliceable<'a, T> for NDSliceMut<'a, T>
[src]

Take a slice of length < N representing the sub slice index and return immutable borrow of the sub slice as an NDSlice. Because the storage is in row-major order and the slice need to be contiguous in the underlying storage array it means, for example, only the rows of a matrix can be borrowed. Read more

impl<'a, T: 'a> NDSliceableMut<'a, T> for NDSliceMut<'a, T>
[src]

Take a slice of length < N representing the sub slice index and return immutable borrow of the sub slice as an NDSlice. Because the storage is in row-major order and the slice need to be contiguous in the underlying storage array it means, for example, only the rows of a matrix can be borrowed. Read more

impl<'a, 'b, T> Index<&'b [usize]> for NDSliceMut<'a, T>
[src]

The returned type after indexing

The method for the indexing (container[index]) operation

impl<'a, 'b, T> Index<&'b [usize; 1]> for NDSliceMut<'a, T>
[src]

The returned type after indexing

The method for the indexing (container[index]) operation

impl<'a, 'b, T> Index<&'b [usize; 2]> for NDSliceMut<'a, T>
[src]

The returned type after indexing

The method for the indexing (container[index]) operation

impl<'a, 'b, T> Index<&'b [usize; 3]> for NDSliceMut<'a, T>
[src]

The returned type after indexing

The method for the indexing (container[index]) operation

impl<'a, 'b, T: Clone + Display> IndexMut<&'b [usize]> for NDSliceMut<'a, T>
[src]

The method for the mutable indexing (container[index]) operation

impl<'a, 'b, T: Clone + Display> IndexMut<&'b [usize; 1]> for NDSliceMut<'a, T>
[src]

The method for the mutable indexing (container[index]) operation

impl<'a, 'b, T: Clone + Display> IndexMut<&'b [usize; 2]> for NDSliceMut<'a, T>
[src]

The method for the mutable indexing (container[index]) operation

impl<'a, 'b, T: Clone + Display> IndexMut<&'b [usize; 3]> for NDSliceMut<'a, T>
[src]

The method for the mutable indexing (container[index]) operation

impl<'a, T: PartialEq, O: NDData<T> + Sized> PartialEq<O> for NDSliceMut<'a, T>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a, T: Eq> Eq for NDSliceMut<'a, T>
[src]

impl<'a, 'b, T: Clone + Display + From<f32>, R: NDData<T> + Sized> AddAssign<&'a R> for NDSliceMut<'b, T> where
    NDSliceMut<'b, T>: Blas<T>, 
[src]

The method for the += operator

impl<'a, 'b, 'c, T: Clone + Display + From<f32>, R: NDData<T> + Sized> Add<&'a R> for &'b NDSliceMut<'c, T> where
    NDArray<T>: Blas<T>, 
[src]

The resulting type after applying the + operator

The method for the + operator

impl<'a, 'b, T: Clone + Display + From<f32>, R: NDData<T> + Sized> SubAssign<&'a R> for NDSliceMut<'b, T> where
    NDSliceMut<'b, T>: Blas<T>, 
[src]

The method for the -= operator

impl<'a, 'b, 'c, T: Clone + Display + From<f32>, R: NDData<T> + Sized> Sub<&'a R> for &'b NDSliceMut<'c, T> where
    NDArray<T>: Blas<T>, 
[src]

The resulting type after applying the - operator

The method for the - operator

impl<'a, 'b, T: Clone + Display + From<f32>, I: NDData<T> + Sized> MulAssign<&'b I> for NDSliceMut<'a, T> where
    NDSliceMut<'a, T>: Blas<T> + NDData<T>, 
[src]

The method for the *= operator

impl<'a, 'b, 'c, T: Clone + Display + From<f32>, R: NDData<T> + Sized> Mul<&'a R> for &'b NDSliceMut<'c, T> where
    NDArray<T>: Blas<T>, 
[src]

The resulting type after applying the * operator

The method for the * operator

impl<'a, T> SizedBuffer for NDSliceMut<'a, T>
[src]

impl<'a, T: Clone + Display> SizedBufferMut for NDSliceMut<'a, T> where
    NDSliceMut<'a, T>: SizedBuffer
[src]