Neko  0.9.0
A portable framework for high-order spectral element flow simulations
matrix.f90 File Reference

Go to the source code of this file.

Data Types

type  matrix::matrix_t
 

Modules

module  matrix
 Defines a matrix.
 

Functions/Subroutines

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