next up previous contents index
Next: Interface scaled_accum Up: Module matrix_module Previous: Interface diag_spinor   Contents   Index

Interface scaled_sum


\begin{boxedminipage}{\textwidth}
\begin{verbatim}call scaled_sum(this,f1,m1,f2, &
m2)\end{verbatim}
\end{boxedminipage}

Compute the sum of two matrices (complex or real) m$_1$ and m$_2$ weighted by complex factors f1 and f2. The result is a complex matrix.

this -- type(MatrixZ), intent(inout)

f1 -- complex(dp), intent(in)

m1 -- intent(in), type(MatrixD) or type(MatrixZ)

f2 -- complex(dp), intent(in)

m2 -- intent(in), type(MatrixD) or type(MatrixZ)

scaled_accum interface

gabor 2009-06-30