Cartesius Library
sparsematrix::assignment(=) Interface Reference

Public Member Functions

subroutine sparse2mat (mat, sp)
 Convert sparse matrix into a normal one. More...
 
subroutine mat2sparse (sp, mat)
 Convert a normal matrix into a sparse matrix. More...
 
subroutine sparse2sparse (spout, spin)
 Copy the data of one sparse matrix into another. More...
 

Member Function/Subroutine Documentation

◆ mat2sparse()

subroutine sparsematrix::assignment(=)::mat2sparse ( type(sparse_matrix), intent(inout)  sp,
real, dimension(:, :), intent(in)  mat 
)

Convert a normal matrix into a sparse matrix.

◆ sparse2mat()

subroutine sparsematrix::assignment(=)::sparse2mat ( real, dimension(sp%nr, sp%nc), intent(inout)  mat,
type(sparse_matrix), intent(in)  sp 
)

Convert sparse matrix into a normal one.

◆ sparse2sparse()

subroutine sparsematrix::assignment(=)::sparse2sparse ( type(sparse_matrix), intent(inout)  spout,
type(sparse_matrix), intent(in)  spin 
)

Copy the data of one sparse matrix into another.


The documentation for this interface was generated from the following file: