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_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_scale_columns (a, x)
 
integer(fgsl_int) function fgsl_spmatrix_scale_rows (a, x)
 
integer(fgsl_int) function fgsl_spmatrix_minmax (m, min_out, max_out)
 
integer(fgsl_int) function fgsl_spmatrix_min_index (m, imin, jmin)
 
integer(fgsl_int) function fgsl_spmatrix_csc (dest, src)
 
integer(fgsl_int) function fgsl_spmatrix_csr (dest, src)
 
type(fgsl_spmatrix) function fgsl_spmatrix_compress (src, sptype)
 
integer(fgsl_int) function fgsl_spmatrix_add (c, a, b)
 
integer(fgsl_int) function fgsl_spmatrix_add_to_dense (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_spmatrix_transpose (m)
 
integer(fgsl_int) function fgsl_spblas_dgemv (transa, alpha, a, x, beta, y)
 
integer(fgsl_int) function fgsl_spblas_dgemm (alpha, a, b, c)
 
integer(fgsl_int) function fgsl_spmatrix_fwrite (stream, m)
 
integer(fgsl_int) function fgsl_spmatrix_fread (stream, m)
 
integer(fgsl_int) function fgsl_spmatrix_fprintf (stream, m, format)
 
type(fgsl_spmatrix) function fgsl_spmatrix_fscanf (stream)
 
subroutine fgsl_spmatrix_getfields (m, i, p, d)
 

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_add_to_dense()

integer(fgsl_int) function fgsl_spmatrix_add_to_dense ( type(fgsl_matrix), intent(inout)  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_compcol()

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

◆ fgsl_spmatrix_compress()

type(fgsl_spmatrix) function fgsl_spmatrix_compress ( type(fgsl_spmatrix), intent(in)  src,
integer(fgsl_int), intent(in)  sptype 
)

◆ fgsl_spmatrix_csc()

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

◆ fgsl_spmatrix_csr()

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

◆ 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_fprintf()

integer(fgsl_int) function fgsl_spmatrix_fprintf ( type(fgsl_file)  stream,
type(fgsl_spmatrix), intent(in)  m,
character(kind=fgsl_char, len=*), intent(in)  format 
)

◆ fgsl_spmatrix_fread()

integer(fgsl_int) function fgsl_spmatrix_fread ( type(fgsl_file)  stream,
type(fgsl_spmatrix), intent(inout)  m 
)

◆ fgsl_spmatrix_free()

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

◆ fgsl_spmatrix_fscanf()

type(fgsl_spmatrix) function fgsl_spmatrix_fscanf ( type(fgsl_file)  stream)

◆ fgsl_spmatrix_fwrite()

integer(fgsl_int) function fgsl_spmatrix_fwrite ( type(fgsl_file)  stream,
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_getfields()

subroutine fgsl_spmatrix_getfields ( type(fgsl_spmatrix), intent(in)  m,
integer(fgsl_int), dimension(:), intent(inout), pointer  i,
integer(fgsl_int), dimension(:), intent(inout), pointer  p,
real(fgsl_double), dimension(:), intent(inout), pointer  d 
)

◆ fgsl_spmatrix_memcpy()

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

◆ fgsl_spmatrix_min_index()

integer(fgsl_int) function fgsl_spmatrix_min_index ( type(fgsl_spmatrix), intent(in)  m,
real(fgsl_double), intent(out)  imin,
real(fgsl_double), intent(out)  jmin 
)

◆ 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_scale_columns()

integer(fgsl_int) function fgsl_spmatrix_scale_columns ( type(fgsl_spmatrix), intent(inout)  a,
type(fgsl_vector), intent(in)  x 
)

◆ fgsl_spmatrix_scale_rows()

integer(fgsl_int) function fgsl_spmatrix_scale_rows ( type(fgsl_spmatrix), intent(inout)  a,
type(fgsl_vector), 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()

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

◆ fgsl_spmatrix_transpose_memcpy()

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