next up previous index
Next: F117 Vector Product Up: CERNLIB Previous: F112 Manipulation of

F116 Scalar Product of Two Space-Time Vectors

Routine ID: F116
Author(s): CERN TC DivisionLibrary: KERNLIB
Submitter: C. LetertreSubmitted: 01.09.1969
Language: FortranRevised: 27.11.1984

Function subprogram DOTI computes the scalar product a.b of two space-time vectors
(a1,a2,a3,ia4) , (b1,b2,b3,ib4) , where i=-1 , i.e.

a.b = a1b1+a2b2+a3b3-a4b4.

Structure:

FUNCTION subprogram
User Entry Names: DOTI

Usage:

In any arithmetic expression, DOTI(A,B)

has the value a.b .

A,B
( REAL) One-dimensional arrays of length 4, containing aj,bj,(j=1,2,3,4) , respectively.

F117


Janne Saarela
Mon Apr 3 15:06:23 METDST 1995