Defines a matrix.
|
subroutine | matrix_init (m, nrows, ncols) |
| Initialise a matrix of size nrows*ncols . More...
|
|
subroutine | matrix_free (m) |
| Deallocate a matrix. More...
|
|
integer function | matrix_size (m) |
| Returns the number of entries in the matrix. More...
|
|
subroutine | matrix_assign_matrix (m, w) |
| Assignment \( m = w \). More...
|
|
subroutine | matrix_assign_scalar (m, s) |
| Assignment \( m = s \). More...
|
|
type(matrix_t) function | matrix_add_matrix (m, b) |
| Matrix-matrix addition \( v = m + b \). More...
|
|
type(matrix_t) function | matrix_add_scalar_left (m, c) |
| Matrix-scalar addition \( v = m + c \). More...
|
|
type(matrix_t) function | matrix_add_scalar_right (c, m) |
| Scalar-matrix addition \( v = c + m \). More...
|
|
type(matrix_t) function | matrix_sub_matrix (m, b) |
| Matrix-matrix subtraction \( v = m - b \). More...
|
|
type(matrix_t) function | matrix_sub_scalar_left (m, c) |
| Matrix-scalar subtraction \( v = m - c \). More...
|
|
type(matrix_t) function | matrix_sub_scalar_right (c, m) |
| Scalar-matrix subtraction \( v = c - m \). More...
|
|
type(matrix_t) function | matrix_cmult_left (m, c) |
| Matrix-scalar multiplication \( v = m*c \). More...
|
|
type(matrix_t) function | matrix_cmult_right (c, m) |
| Scalar-matrix multiplication \( v = c*m \). More...
|
|
subroutine | matrix_bcknd_inverse (m) |
|
subroutine | cpu_matrix_inverse (m) |
|