toms467


toms467, a FORTRAN77 code which implements ACM toms algorithm 467, to transpose the elements of a matrix in place.

The text of many ACM toms algorithms is available online through ACM: http://www.acm.org/pubs/calgo or NETLIB: http://www.netlib.org/toms/index.html.

Usage:

call xpose ( a, n1, n2, n12, moved, nwork )
where A is the matrix to be transposed, stored as a vector, N1 and N2 are the row and column dimensions, N12 is the product of N1 and N2, MOVED is a logical workspace vector, and NWORK is the length of MOVED, which should be at least (N1+N2)/2.

Licensing:

The computer code and data files described and made available on this web page are distributed under the MIT license

Languages:

toms467 is available in a FORTRAN77 version.

Related Data and Programs:

toms467_test

minpack, a FORTRAN90 library which contains routines which can minimize the absolute value of a function of several variables.

TEST_OPT, a FORTRAN90 library which contains routines defining a number of scalar functions of multiple variables to test minimization routines.

Reference:

  1. Norman Brenner,
    Algorithm 467: Matrix Transposition in Place,
    Communications of the ACM,
    November 1973, Volume 16, Number 11, pages 692-694.

Source Code:


Last revised on 18 November 2023.