blob: eddeac2acee4f9ebea87c7a08484eacd21e802af (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
|