Go to the source code of this file.
|
| module | matrix |
| | Defines a matrix.
|
| |
|
| subroutine | matrix::matrix_init (m, nrows, ncols, name) |
| | Initialise a matrix of size nrows*ncols.
|
| |
| subroutine | matrix::matrix_allocate (m, nrows, ncols) |
| | Allocate a matrix of size nrows*ncols.
|
| |
| subroutine | matrix::matrix_free (m) |
| | Deallocate a matrix.
|
| |
| pure integer function | matrix::matrix_size (m) |
| | Returns the number of entries in the matrix.
|
| |
| subroutine | matrix::matrix_copy_from (m, memdir, sync) |
| | Easy way to copy between host and device.
|
| |
| pure integer function | matrix::matrix_nrows (m) |
| | Returns the number of rows in the matrix.
|
| |
| pure integer function | matrix::matrix_ncols (m) |
| | Returns the number of columns in the matrix.
|
| |
| subroutine | matrix::matrix_assign_matrix (m, w) |
| | Assignment \( m = w \).
|
| |
| subroutine | matrix::matrix_assign_scalar (m, s) |
| | Assignment \( m = s \).
|
| |
| subroutine | matrix::matrix_bcknd_inverse (m, bcknd) |
| |
| subroutine | matrix::cpu_matrix_inverse (m) |
| |