dtrans man page on OpenIndiana

Man page or keyword search:  
man Server   20441 pages
apropos Keyword Search (all sections)
Output format
OpenIndiana logo
[printable version]

dtrans(3P)		    Sun Performance Library		    dtrans(3P)

NAME
       dtrans - transpose and scale source matrix

SYNOPSIS
       SUBROUTINE DTRANS(PLACE, SCALE, SOURCE, M, N, DEST)

       CHARACTER * 1 PLACE
       INTEGER M, N
       DOUBLE PRECISION SCALE
       DOUBLE PRECISION SOURCE(*), DEST(*)

       SUBROUTINE DTRANS_64(PLACE, SCALE, SOURCE, M, N, DEST)

       CHARACTER * 1 PLACE
       INTEGER*8 M, N
       DOUBLE PRECISION SCALE
       DOUBLE PRECISION SOURCE(*), DEST(*)

   F95 INTERFACE
       SUBROUTINE TRANS([PLACE], SCALE, SOURCE, M, N, [DEST])

       CHARACTER(LEN=1) :: PLACE
       INTEGER :: M, N
       REAL(8) :: SCALE
       REAL(8), DIMENSION(:) :: SOURCE, DEST

       SUBROUTINE TRANS_64([PLACE], SCALE, SOURCE, M, N, [DEST])

       CHARACTER(LEN=1) :: PLACE
       INTEGER(8) :: M, N
       REAL(8) :: SCALE
       REAL(8), DIMENSION(:) :: SOURCE, DEST

   C INTERFACE
       #include <sunperf.h>

       void  dtrans(char  place,  double  scale, double *source, int m, int n,
		 double *dest);

       void dtrans_64(char place, double scale, double *source, long  m,  long
		 n, double *dest);

PURPOSE
       dtrans  scales  and  transposes the source matrix of (M, N). The result
       matrix of (N, M) is written into SOURCE when PLACE = 'I'	 or  'i',  and
       DEST when PLACE = 'O' or 'o'.

	 PLACE = 'I' or 'i': SOURCE = SCALE * SOURCE'

	 PLACE = 'O' or 'o': DEST = SCALE * SOURCE'

ARGUMENTS
       PLACE (input)
		 Type  of  transpose.  'I' or 'i' for in-place, 'O' or 'o' for
		 out-of-place. 'I' is default.

       SCALE (input)
		 Scale factor on the SOURCE matrix.

       SOURCE (input/output)
		 On entry, array of (M, N).  On exit, array of (N, M)  if  in-
		 place transpose; unchanged if out-of-place transpose.

       M (input)
		 Number of rows in the SOURCE matrix on input.

       N (input)
		 Number of columns in the SOURCE matrix on input.

       DEST (output)
		 Scaled	 and  transposed  SOURCE matrix if out-of-place transā€
		 pose.	Not referenced if in-place transpose.

				  6 Mar 2009			    dtrans(3P)
[top]

List of man pages available for OpenIndiana

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net