This (currently under construction) module allows one to convert a sparse matrix to a dense matrix. It also supports dense the dense versions of core matrix routines. This module will be used in situations where matrices become too dense for good sparse matrix performance.
More...
|
pure subroutine, public | constructdensefromsparse (sparse_matrix, dense_matrix) |
| A function that converts a sparse matrix to a dense matrix. More...
|
|
pure subroutine, public | constructsparsefromdense (dense_matrix, sparse_matrix, threshold) |
| A function that converts a dense matrix to a sparse matrix. More...
|
|
pure subroutine, public | multiplydense (MatA, MatB, MatC) |
| A wrapper for multiplying two dense matrices. More...
|
|
This (currently under construction) module allows one to convert a sparse matrix to a dense matrix. It also supports dense the dense versions of core matrix routines. This module will be used in situations where matrices become too dense for good sparse matrix performance.
◆ constructdensefromsparse()
pure subroutine, public densematrixmodule::constructdensefromsparse |
( |
type(sparsematrix_t), intent(in) |
sparse_matrix, |
|
|
real(ntreal), dimension(:,:), intent(inout) |
dense_matrix |
|
) |
| |
A function that converts a sparse matrix to a dense matrix.
- Parameters
-
[in] | sparse_matrix | a sparse matrix to convert. |
[in,out] | dense_matrix | a preallocated |
◆ constructsparsefromdense()
pure subroutine, public densematrixmodule::constructsparsefromdense |
( |
real(ntreal), dimension(:,:), intent(in) |
dense_matrix, |
|
|
type(sparsematrix_t), intent(out) |
sparse_matrix, |
|
|
real(ntreal), intent(in) |
threshold |
|
) |
| |
A function that converts a dense matrix to a sparse matrix.
- Parameters
-
[in] | dense_matrix | to convert. |
[out] | sparse_matrix | to build. |
[in] | threshold | value for pruning. |
◆ multiplydense()
pure subroutine, public densematrixmodule::multiplydense |
( |
real(ntreal), dimension(:,:), intent(in) |
MatA, |
|
|
real(ntreal), dimension(:,:), intent(in) |
MatB, |
|
|
real(ntreal), dimension(:,:), intent(inout) |
MatC |
|
) |
| |
A wrapper for multiplying two dense matrices.
- Parameters
-
[in] | MatA | the first matrix. |
[in] | MatB | the second matrix. |
[in,out] | MatC | = MatA*MatB. Preallocated. |