Cartesius Library
sparsematrix::operator(*) Interface Reference

Public Member Functions

type(sparse_matrix) function mul_sparse (a, b)
 Returns the product of two sparse matrices. More...
 
real function, dimension(sp%nr) mul_sparse_vcol (sp, vin)
 Mutiplies a sparse matrix by a column-vector. More...
 
real function, dimension(sp%nc) mul_sparse_vrow (vin, sp)
 Multipiles a row-vector by a sparse matrix. More...
 
type(sparse_matrix) function mul_sparse_num (num, a)
 

Member Function/Subroutine Documentation

◆ mul_sparse()

type(sparse_matrix) function sparsematrix::operator(*)::mul_sparse ( type(sparse_matrix), intent(in)  a,
type(sparse_matrix), intent(in)  b 
)

Returns the product of two sparse matrices.

◆ mul_sparse_num()

type(sparse_matrix) function sparsematrix::operator(*)::mul_sparse_num ( real, intent(in)  num,
type(sparse_matrix), intent(in)  a 
)

◆ mul_sparse_vcol()

real function, dimension(sp%nr) sparsematrix::operator(*)::mul_sparse_vcol ( type (sparse_matrix), intent(in)  sp,
real, dimension(:), intent(in)  vin 
)

Mutiplies a sparse matrix by a column-vector.

◆ mul_sparse_vrow()

real function, dimension(sp%nc) sparsematrix::operator(*)::mul_sparse_vrow ( real, dimension(:), intent(in)  vin,
type (sparse_matrix), intent(in)  sp 
)

Multipiles a row-vector by a sparse matrix.


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