##// END OF EJS Templates
Fix bug in plotting
Fix bug in plotting

File last commit:

r0:b84e1135c2c4
r21:781d2d915c68
Show More
vadd.f
24 lines | 559 B | text/x-fortran | FortranFixedLexer
C $Id: vadd.f 3304 2011-01-17 15:25:59Z brideout $
C
SUBROUTINE VADD(A,B,C)
C
C jmh - 11/79 ans fortran 66
C
C VADD calculates the sum of two vectors A and B, C = A + B.
C
C Input:
C A - floating point vector of dimension 3.
C B - floating point vector of dimension 3.
C
C Output:
C C - floating point vector of dimension 3.
C
C .. Array Arguments ..
DOUBLE PRECISION A(3),B(3),C(3)
C ..
C(1) = A(1) + B(1)
C(2) = A(2) + B(2)
C(3) = A(3) + B(3)
RETURN
C
END