FGSL
Fortran interface for the GNU scientific library
Functions/Subroutines
spmatrix.finc File Reference

Functions/Subroutines

type(fgsl_spmatrix) function fgsl_spmatrix_alloc (n1, n2)
 
type(fgsl_spmatrix) function fgsl_spmatrix_alloc_nzmax (n1, n2, nzmax, flags)
 
subroutine fgsl_spmatrix_size (m, n1, n2)
 
subroutine fgsl_spmatrix_free (m)
 
integer(fgsl_int) function fgsl_spmatrix_realloc (nzmax, m)
 
integer(fgsl_int) function fgsl_spmatrix_set_zero (m)
 
integer(fgsl_size_t) function fgsl_spmatrix_nnz (m)
 
integer(fgsl_int) function fgsl_spmatrix_compare_idx (ia, ja, ib, jb)
 
integer(fgsl_int) function fgsl_spmatrix_memcpy (dest, src)
 
real(fgsl_double) function fgsl_spmatrix_get (m, i, j)
 
integer(fgsl_int) function fgsl_spmatrix_set (m, i, j, x)
 
type(fgsl_spmatrix) function fgsl_spmatrix_compcol (T)
 
subroutine fgsl_spmatrix_cumsum (n, c)
 
integer(fgsl_int) function fgsl_spmatrix_scale (m, x)
 
integer(fgsl_int) function fgsl_spmatrix_minmax (m, min_out, max_out)
 
integer(fgsl_int) function fgsl_spmatrix_add (c, a, b)
 
integer(fgsl_int) function fgsl_spmatrix_d2sp (S, A)
 
integer(fgsl_int) function fgsl_spmatrix_sp2d (A, S)
 
integer(fgsl_int) function fgsl_spmatrix_equal (a, b)
 
integer(fgsl_int) function fgsl_spmatrix_transpose_memcpy (dest, src)
 
integer(fgsl_int) function fgsl_spblas_dgemv (transa, alpha, a, x, beta, y)
 
integer(fgsl_int) function fgsl_spblas_dgemm (alpha, a, b, c)
 

Function/Subroutine Documentation

◆ fgsl_spblas_dgemm()

integer(fgsl_int) function fgsl_spblas_dgemm ( real(fgsl_double), intent(in)  alpha,
type(fgsl_spmatrix), intent(in)  a,
type(fgsl_spmatrix), intent(in)  b,
type(fgsl_spmatrix), intent(inout)  c 
)

◆ fgsl_spblas_dgemv()

integer(fgsl_int) function fgsl_spblas_dgemv ( integer(fgsl_int), intent(in)  transa,
real(fgsl_double), intent(in)  alpha,
type(fgsl_spmatrix), intent(in)  a,
type(fgsl_vector), intent(in)  x,
real(fgsl_double), intent(in)  beta,
type(fgsl_vector), intent(inout)  y 
)

◆ fgsl_spmatrix_add()

integer(fgsl_int) function fgsl_spmatrix_add ( type(fgsl_spmatrix), intent(inout)  c,
type(fgsl_spmatrix), intent(in)  a,
type(fgsl_spmatrix), intent(in)  b 
)

◆ fgsl_spmatrix_alloc()

type(fgsl_spmatrix) function fgsl_spmatrix_alloc ( integer(fgsl_size_t), intent(in)  n1,
integer(fgsl_size_t), intent(in)  n2 
)

◆ fgsl_spmatrix_alloc_nzmax()

type(fgsl_spmatrix) function fgsl_spmatrix_alloc_nzmax ( integer(fgsl_size_t), intent(in)  n1,
integer(fgsl_size_t), intent(in)  n2,
integer(fgsl_size_t), intent(in)  nzmax,
integer(fgsl_size_t), intent(in)  flags 
)

◆ fgsl_spmatrix_compare_idx()

integer(fgsl_int) function fgsl_spmatrix_compare_idx ( integer(fgsl_size_t), intent(in)  ia,
integer(fgsl_size_t), intent(in)  ja,
integer(fgsl_size_t), intent(in)  ib,
integer(fgsl_size_t), intent(in)  jb 
)

◆ fgsl_spmatrix_compcol()

type(fgsl_spmatrix) function fgsl_spmatrix_compcol ( type(fgsl_spmatrix), intent(in)  T)

◆ fgsl_spmatrix_cumsum()

subroutine fgsl_spmatrix_cumsum ( integer(fgsl_size_t), intent(in)  n,
integer(fgsl_size_t), dimension(:), intent(inout), target, contiguous  c 
)

◆ fgsl_spmatrix_d2sp()

integer(fgsl_int) function fgsl_spmatrix_d2sp ( type(fgsl_spmatrix), intent(inout)  S,
type(fgsl_matrix), intent(in)  A 
)

◆ fgsl_spmatrix_equal()

integer(fgsl_int) function fgsl_spmatrix_equal ( type(fgsl_spmatrix), intent(in)  a,
type(fgsl_spmatrix), intent(in)  b 
)

◆ fgsl_spmatrix_free()

subroutine fgsl_spmatrix_free ( type(fgsl_spmatrix), intent(in)  m)

◆ fgsl_spmatrix_get()

real(fgsl_double) function fgsl_spmatrix_get ( type(fgsl_spmatrix), intent(in)  m,
integer(fgsl_size_t), intent(in)  i,
integer(fgsl_size_t), intent(in)  j 
)

◆ fgsl_spmatrix_memcpy()

integer(fgsl_int) function fgsl_spmatrix_memcpy ( type(fgsl_spmatrix), intent(inout)  dest,
type(fgsl_spmatrix), intent(in)  src 
)

◆ fgsl_spmatrix_minmax()

integer(fgsl_int) function fgsl_spmatrix_minmax ( type(fgsl_spmatrix), intent(in)  m,
real(fgsl_double), intent(out)  min_out,
real(fgsl_double), intent(out)  max_out 
)

◆ fgsl_spmatrix_nnz()

integer(fgsl_size_t) function fgsl_spmatrix_nnz ( type(fgsl_spmatrix), intent(in)  m)

◆ fgsl_spmatrix_realloc()

integer(fgsl_int) function fgsl_spmatrix_realloc ( integer(fgsl_size_t), intent(in)  nzmax,
type(fgsl_spmatrix), intent(inout)  m 
)

◆ fgsl_spmatrix_scale()

integer(fgsl_int) function fgsl_spmatrix_scale ( type(fgsl_spmatrix), intent(inout)  m,
real(fgsl_double), intent(in)  x 
)

◆ fgsl_spmatrix_set()

integer(fgsl_int) function fgsl_spmatrix_set ( type(fgsl_spmatrix), intent(in)  m,
integer(fgsl_size_t), intent(in)  i,
integer(fgsl_size_t), intent(in)  j,
real(fgsl_double), intent(in)  x 
)

◆ fgsl_spmatrix_set_zero()

integer(fgsl_int) function fgsl_spmatrix_set_zero ( type(fgsl_spmatrix), intent(inout)  m)

◆ fgsl_spmatrix_size()

subroutine fgsl_spmatrix_size ( type(fgsl_spmatrix), intent(in)  m,
integer(fgsl_size_t), intent(inout)  n1,
integer(fgsl_size_t), intent(inout)  n2 
)

◆ fgsl_spmatrix_sp2d()

integer(fgsl_int) function fgsl_spmatrix_sp2d ( type(fgsl_matrix), intent(inout)  A,
type(fgsl_spmatrix), intent(in)  S 
)

◆ fgsl_spmatrix_transpose_memcpy()

integer(fgsl_int) function fgsl_spmatrix_transpose_memcpy ( type(fgsl_spmatrix), intent(inout)  dest,
type(fgsl_spmatrix), intent(in)  src 
)