This interface overloads the Fortran intrinsic matmul
for the
Strang
matrix, both for matrix-vector and matrix-matrix products.
For matrix-matrix product , only can be a Strang
matrix. Both and are standard rank-2 arrays. All
underlying functions are defined as pure
.
y = matmul(A, x)
Driver for the matrix-vector product.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(Strang), | intent(in) | :: | A |
Input matrix. |
||
real(kind=dp), | intent(in) | :: | x(:) |
Input vector. |
Output vector.
Driver for the matrix-matrix product.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(Strang), | intent(in) | :: | A |
Input matrix. |
||
real(kind=dp), | intent(in) | :: | X(:,:) |
Input vector. |
Output vector.