next up previous contents index
Next: Interface matrix_product Up: Module linearalgebra_module Previous: Interface print_mathematica   Contents   Index

Interface operator(.mult.)


\begin{boxedminipage}{\textwidth}
\begin{verbatim}prodvect = operator(.mult....
...rodmatrix = operator(.mult.)(matrix1,matrix2)\end{verbatim}
\end{boxedminipage}

Overloaded multiplication for matrix $\times$ matrix and matrix $\times$ vector. Use as C = A .mult. B for matrices and C = A .mult. v for a matrix times a vector.

matrix -- real(dp), intent(in), dimension(:,:)

vect -- real(dp), intent(in), dimension(:)

intvect -- integer, intent(in), dimension(:)

intmat -- integer, intent(in), dimension(:,:)

matrix1 -- intent(in), dimension(:,:), real(dp) or complex(dp)

matrix2 -- intent(in), dimension(:,:), real(dp) or complex(dp)

Return values:

p1 -- real(dp), dimension(size(matrix,1))
p2 -- real(dp), dimension(size(matrix,1))
p3 -- real(dp), dimension(size(matrix,1),size(intmat,2))
p4 -- real(dp), dimension(size(matrix1,1),size(matrix2,2))
p5 -- complex(dp), dimension(size(matrix1,1),size(matrix2,2))
matrix_product interface

gabor 2009-06-30