Due to the lapse in federal government funding, NASA is not updating this website. We sincerely regret this inconvenience.
NASA Logo
Ocean Color Science Software

ocssw V2022
xpose.f
Go to the documentation of this file.
1  subroutine xpose( in, out )
2 c
3 c xpose( in, out )
4 c
5 c purpose: form the transpose of matrix in to matrix out
6 c
7 c calling arguments:
8 c
9 c name Type i/o description
10 c -------- ---- --- -----------
11 c in r*4 i size 3 by 3 input matrix
12 c out r*4 o size 3 by 3 output matrix
13 c
14 c by: w. robinson, gsc, 15 apr 93
15 c
16 c notes:
17 c
18 c modification history:
19 c
20  implicit none
21  real*4 in(3,3), out(3,3)
22 c
23  integer*4 i, j
24 c
25 c
26  do i = 1, 3
27  do j = 1, 3
28  out(j,i) = in(i,j)
29  end do
30  end do
31 c
32  return
33  end
float ** matrix(long nrl, long nrh, long ncl, long nch)
Definition: nrutil.c:60
#define real
Definition: DbAlgOcean.cpp:26
subroutine xpose(in, out)
Definition: xpose.f:2
void transpose(float *in[], float *out[])
Definition: get_zenaz.c:97