product = dot(Matrix A,Matrix B) Note that a dot product is the sum of elementwise multiplication, not traditional matrix multiplication.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(Matrix_ps), | intent(in) | :: | matA | Matrix A. |
||
| type(Matrix_ps), | intent(in) | :: | matB | Matrix B. |
||
| real(kind=NTREAL), | intent(out) | :: | product | The dot product. |
product = dot(Matrix A,Matrix B) Note that a dot product is the sum of elementwise multiplication, not traditional matrix multiplication.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(Matrix_ps), | intent(in) | :: | matA | Matrix A. |
||
| type(Matrix_ps), | intent(in) | :: | matB | Matrix B. |
||
| complex(kind=NTCOMPLEX), | intent(out) | :: | product | The dot product. |