linalg 1.8.2
A linear algebra library that provides a user-friendly interface to several BLAS and LAPACK routines.
Loading...
Searching...
No Matches
sparskit::amub Interface Reference

Computes the matrix product: C = A * B. More...

Public Member Functions

subroutine amub (nrow, ncol, job, a, ja, ia, b, jb, ib, c, jc, ic, nzmax, iw, ierr)
 

Detailed Description

Computes the matrix product: C = A * B.

Parameters
[in]nrowThe row dimension of matrices A & C.
[in]ncolThe column dimension of matrices B & C.
[in]jobSet to 0 to compute only the structure (JC & IC); else, set to any non-zero value.
[in]aThe non-zero elements of matrix A.
[in]jaThe column indices of matrix A.
[in]iaThe index in A where the requested row starts.
[in]bThe non-zero elements of matrix B.
[in]jbThe column indices of matrix B.
[in]ibThe index in B where the requested row starts.
[out]cThe non-zero elements of matrix C.
[out]jcThe column indices of matrix C.
[out]icThe index in C where the requested row starts.
[in]nzmaxThe length of arrays C & JC. The routine will stop if the results matrix C has a number of elements that exceeds NZMAX.
[out]iwA workspace array with a length equal to the number of of columns in matrix C.
[out]ierrAn error message indicator.
  • 0: Normal return
  • .gt. 0: Routine failed in row I with IERR = I because the number of elements in C exceeds NZMAX.

Definition at line 31 of file sparskit.f90.

Constructor & Destructor Documentation

◆ amub()

subroutine sparskit::amub::amub ( integer(int32), intent(in) nrow,
integer(int32), intent(in) ncol,
integer(int32), intent(in) job,
real(real64), dimension(*), intent(in) a,
integer(int32), dimension(*), intent(in) ja,
integer(int32), dimension(nrow+1), intent(in) ia,
real(real64), dimension(*), intent(in) b,
integer(int32), dimension(*), intent(in) jb,
integer(int32), dimension(*), intent(in) ib,
real(real64), dimension(*), intent(out) c,
integer(int32), dimension(*), intent(out) jc,
integer(int32), dimension(*), intent(out) ic,
integer(int32), intent(in) nzmax,
integer(int32), dimension(ncol), intent(out) iw,
integer(int32), intent(out) ierr )

Definition at line 31 of file sparskit.f90.


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