source: trunk/LMDZ.GENERIC/libf/bibio/mxva.F @ 1243

Last change on this file since 1243 was 135, checked in by aslmd, 14 years ago

CHANGEMENT ARBORESCENCE ETAPE 2 -- NON COMPLET

File size: 648 bytes
Line 
1      SUBROUTINE MXVA (SA,IAC,IAR,SB,IB,SC,IC,NRA,NCA)
2      IMPLICIT NONE
3
4      INTEGER IAC,IAR,IB,IC,NRA,NCA
5      REAL SA(*), SB(*), SC(*)
6
7      INTEGER I,J
8
9c     initialize product
10      DO 100 I = 1, NRA
11       SC( 1 + (I-1)*IC ) = 0.
12c      ( C(i) := 0. )
13100   CONTINUE
14c     multiply matrix from sa and vector from sb
15      DO 220 J = 1, NCA
16        DO 210 I = 1, NRA
17          SC( 1 + (I-1)*IC )
18     &      = SC( 1 + (I-1)*IC )
19     &        + SA( 1 + (I-1)*IAC + (J-1)*IAR )
20     &          * SB( 1 + (J-1)*IB )
21c         ( C(i) := C(i) + A(i,j)*B(j) )
22210      CONTINUE
23220   CONTINUE
24      RETURN
25      END
Note: See TracBrowser for help on using the repository browser.