diff options
| author | tony mancill <tmancill@debian.org> | 2023-09-03 19:46:43 -0700 |
|---|---|---|
| committer | tony mancill <tmancill@debian.org> | 2023-09-03 19:46:43 -0700 |
| commit | 393a486ee1d7e308a49f8e0b8c3a4b2f43223248 (patch) | |
| tree | 6a6e8a56ace360795e1cf1a310d5652bb23f1386 /qmap/libqmap/dot.f90 | |
| parent | 6a285ab382ebff18c88e52bec75dc1773ac33b74 (diff) | |
New upstream version 2.7.0~rc2+repackupstream/2.7.0_rc2+repack
Diffstat (limited to 'qmap/libqmap/dot.f90')
| -rwxr-xr-x | qmap/libqmap/dot.f90 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/qmap/libqmap/dot.f90 b/qmap/libqmap/dot.f90 new file mode 100755 index 00000000..a68c5bd1 --- /dev/null +++ b/qmap/libqmap/dot.f90 @@ -0,0 +1,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
|
