linalg 1.8.2
A linear algebra library that provides a user-friendly interface to several BLAS and LAPACK routines.
|
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) |
Computes the matrix product: C = A * B.
[in] | nrow | The row dimension of matrices A & C. |
[in] | ncol | The column dimension of matrices B & C. |
[in] | job | Set to 0 to compute only the structure (JC & IC); else, set to any non-zero value. |
[in] | a | The non-zero elements of matrix A. |
[in] | ja | The column indices of matrix A. |
[in] | ia | The index in A where the requested row starts. |
[in] | b | The non-zero elements of matrix B. |
[in] | jb | The column indices of matrix B. |
[in] | ib | The index in B where the requested row starts. |
[out] | c | The non-zero elements of matrix C. |
[out] | jc | The column indices of matrix C. |
[out] | ic | The index in C where the requested row starts. |
[in] | nzmax | The length of arrays C & JC. The routine will stop if the results matrix C has a number of elements that exceeds NZMAX. |
[out] | iw | A workspace array with a length equal to the number of of columns in matrix C. |
[out] | ierr | An error message indicator.
|
Definition at line 31 of file sparskit.f90.
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.