summaryrefslogtreecommitdiff
path: root/qmap/libqmap/dot.f90
blob: 5829e87875168c1b9bc9d4bd56c81fb2f1492e2f (plain)
1
2
3
4
5
6
7
8
9
10
11
real*8 function dot(x,y)

  real*8 x(3),y(3)

  dot=0.d0
  do i=1,3
     dot=dot+x(i)*y(i)
  enddo

  return
end function dot