# [−][src]Trait alga::linear::MatrixMut

    pub trait MatrixMut: Matrix {
        fn set_row_mut(&mut self, i: usize, row: &Self::Row);
        fn set_column_mut(&mut self, i: usize, col: &Self::Column);
        unsafe fn set_unchecked(&mut self, i: usize, j: usize, val: Self::Field);

        fn set_row(&self, i: usize, row: &Self::Row) -> Self { ... }
        fn set_column(&self, i: usize, col: &Self::Column) -> Self { ... }
        fn set(&mut self, i: usize, j: usize, val: Self::Field) { ... }
    }

The space of all matrices that are stable under modifications of its components, rows and columns.

## Required methods

### `fn set_row_mut(&mut self, i: usize, row: &Self::Row)`

In-place sets the i-th row of this matrix.

### `fn set_column_mut(&mut self, i: usize, col: &Self::Column)`

In-place sets the i-th col of this matrix.

### `unsafe fn set_unchecked(&mut self, i: usize, j: usize, val: Self::Field)`

Sets the component at row `i` and column `j` of this matrix without bound checking.

Loading content...

## Provided methods

### `fn set_row(&self, i: usize, row: &Self::Row) -> Self`

Sets the i-th row of this matrix.

### `fn set_column(&self, i: usize, col: &Self::Column) -> Self`

Sets the i-th col of this matrix.

### `fn set(&mut self, i: usize, j: usize, val: Self::Field)`

Sets the component at row `i` and column `j` of this matrix.

Loading content...

## Implementors

Loading content...

# Help

## Keyboard Shortcuts

`?`
  Show this help dialog
`S`
  Focus the search field
`↑`
  Move up in search results
`↓`
  Move down in search results
`↹`
  Switch tab
`⏎`
  Go to active search result
`+`
  Expand all sections
`-`
  Collapse all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g., `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g., `vec -> usize` or `* -> vec`)

Search multiple things at once by splitting your query with comma (e.g., `str,u8` or `String,struct:Vec,test`)