diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-03-04 21:21:30 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-03-04 21:21:30 -0500 |
commit | d54fe7c1f704a63824c5bfa0ece65245572e9b27 (patch) | |
tree | afc52015ffc2c74e0266653eecef1c8ef8ba5d91 /src/slalib/vdv.f | |
download | calfuse-d54fe7c1f704a63824c5bfa0ece65245572e9b27.tar.gz |
Initial commit
Diffstat (limited to 'src/slalib/vdv.f')
-rw-r--r-- | src/slalib/vdv.f | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/slalib/vdv.f b/src/slalib/vdv.f new file mode 100644 index 0000000..eddeac2 --- /dev/null +++ b/src/slalib/vdv.f @@ -0,0 +1,27 @@ + REAL FUNCTION sla_VDV (VA, VB) +*+ +* - - - - +* V D V +* - - - - +* +* Scalar product of two 3-vectors (single precision) +* +* Given: +* VA real(3) first vector +* VB real(3) second vector +* +* The result is the scalar product VA.VB (single precision) +* +* P.T.Wallace Starlink November 1984 +* +* Copyright (C) 1995 Rutherford Appleton Laboratory +*- + + IMPLICIT NONE + + REAL VA(3),VB(3) + + + sla_VDV=VA(1)*VB(1)+VA(2)*VB(2)+VA(3)*VB(3) + + END |