Dot Product (Dot)


How is it used?

Test for Orthogonality

Two vectors are Orthogonal if their dot product is equal to zero.


Algorithms

We will discuss algorithms for the closely related Apdot (alpha plus dot product) operation: $ \alpha \becomes \alpha + x^T y $.

Partitioned Matrix Expression

  • \begin{eqnarray*}
  \alpha
&=&
    \FlaOneByTwo{x_{T}}{x_{B}}
  \FlaTwoByOne{y_{T}}
              {y_{B}}
~ + ~
  \hat{\alpha}
\end{eqnarray*}

Details of how to derive the PME for this operation.

Loop-invariants

The dependencies in the above PME allow for two different loop-invariants to be identified:

Algorithmic variants


Related Operations

More Information

LinearAlgebraWiki: Apdot (last edited 2007-06-15 00:42:30 by RobertVanDeGeijn)