openGPMP
Open Source Mathematics Package
|
Go to the source code of this file.
Functions/Subroutines | |
subroutine | mtx_add_routine_float_ (A, B, C, mtx_size) |
FORTRAN Subroutine for Matrix Addition on flattened matrices as arrays of type float32. Contains C++ wrapper function. More... | |
subroutine | mtx_add_routine_int_ (A, B, C, mtx_size) |
FORTRAN Subroutine for Matrix Addition on flattened matrices as arrays of type int32. Contains C++ wrapper function. More... | |
subroutine | mtx_mult_routine_int_ (A, B, C, rows_a, cols_a, cols_b) |
FORTRAN Subroutine for Matrix Multiplication using Fortran intrinsics. Contains C++ wrapper function. More... | |
subroutine mtx_add_routine_float_ | ( | real(kind=c_float), dimension(mtx_size, mtx_size), intent(in) | A, |
real(kind=c_float), dimension(mtx_size, mtx_size), intent(in) | B, | ||
real(kind=c_float), dimension(mtx_size, mtx_size), intent(out) | C, | ||
integer, intent(in) | mtx_size | ||
) |
FORTRAN Subroutine for Matrix Addition on flattened matrices as arrays of type float32. Contains C++ wrapper function.
A | Addend A, an array representing a Matrix |
B | Addend B, an array representing a Matrix |
C | Sum C, an array representing the sum of A + B |
mtx_size | Assumes same size M x N |
Definition at line 41 of file mtx_routines.f90.
subroutine mtx_add_routine_int_ | ( | integer(c_int), dimension(mtx_size, mtx_size), intent(in) | A, |
integer(c_int), dimension(mtx_size, mtx_size), intent(in) | B, | ||
integer(c_int), dimension(mtx_size, mtx_size), intent(out) | C, | ||
integer, intent(in) | mtx_size | ||
) |
FORTRAN Subroutine for Matrix Addition on flattened matrices as arrays of type int32. Contains C++ wrapper function.
A | Addend A, an array representing a Matrix |
B | Addend B, an array representing a Matrix |
C | Sum C, an array representing the sum of A + B |
mtx_size | Assumes same size M x N |
Definition at line 58 of file mtx_routines.f90.
subroutine mtx_mult_routine_int_ | ( | integer(kind=c_int), dimension(rows_a, cols_a), intent(in) | A, |
integer(kind=c_int), dimension(cols_a, cols_b), intent(in) | B, | ||
integer(kind=c_int), dimension(rows_a, cols_b), intent(out) | C, | ||
integer(kind=c_int), intent(in) | rows_a, | ||
integer(kind=c_int), intent(in) | cols_a, | ||
integer(kind=c_int), intent(in) | cols_b | ||
) |
FORTRAN Subroutine for Matrix Multiplication using Fortran intrinsics. Contains C++ wrapper function.
A | Multiplier A, an array representing a Matrix |
B | Multiplicand B, an array representing a Matrix |
C | Product C, an array representing the produce Matrix |
rows_a | Number of rows Matrix A |
cols_a | Number of columns Matrix A |
cols_b | Number of columns Matrix B |
Definition at line 77 of file mtx_routines.f90.