From d54fe7c1f704a63824c5bfa0ece65245572e9b27 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 4 Mar 2015 21:21:30 -0500 Subject: Initial commit --- src/slalib/vdv.f | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/slalib/vdv.f (limited to 'src/slalib/vdv.f') 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 -- cgit