next up previous contents
Next: sho() Up: Infrastructure Previous: Idag() and Jdag()

vector-vector product: pvector `*' pvector

  friend pvector operator*(const pvector& in1,const pvector& in2)

Return value:

Input:

Add a function of the above prototype to the pvector class.

Note: This algebraic function gives a short-hand for the operation tex2html_wrap_inline337 (which appears in density functional theory) so that we do not have to actually form the (very large!) diagonal matrix tex2html_wrap_inline339 . With this notation, we can now code the above operation as simply ``V*psi''.



Tomas Arias
Sun Apr 15 22:02:59 EDT 2001