### Navigation

- index
- modules |
- next |
- previous |
- Matrices and Spaces of Matrices »

# Dense Matrices over a general ring

Dense Matrices over a general ring

class `sage.matrix.matrix_generic_dense.``Matrix_generic_dense`

  Bases: `sage.matrix.matrix_dense.Matrix_dense`

  The `Matrix_generic_dense` class derives from `Matrix`, and defines functionality for dense matrices over any base ring. Matrices are represented by a list of elements in the base ring, and element access operations are implemented in this class.

  EXAMPLES:

      sage: A = random_matrix(Integers(25)['x'],2); A
      [    x^2 + 12*x + 2   4*x^2 + 13*x + 8]
      [ 22*x^2 + 2*x + 17 19*x^2 + 22*x + 14]
      sage: type(A)
      <type 'sage.matrix.matrix_generic_dense.Matrix_generic_dense'>
      sage: TestSuite(A).run()

### Navigation

- index
- modules |
- next |
- previous |
- Matrices and Spaces of Matrices »