LAPACK  3.4.1
LAPACK: Linear Algebra PACKage
ilatrans.f
Go to the documentation of this file.
00001 *> \brief \b ILATRANS
00002 *
00003 *  =========== DOCUMENTATION ===========
00004 *
00005 * Online html documentation available at 
00006 *            http://www.netlib.org/lapack/explore-html/ 
00007 *
00008 *> \htmlonly
00009 *> Download ILATRANS + dependencies 
00010 *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/ilatrans.f"> 
00011 *> [TGZ]</a> 
00012 *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/ilatrans.f"> 
00013 *> [ZIP]</a> 
00014 *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/ilatrans.f"> 
00015 *> [TXT]</a>
00016 *> \endhtmlonly 
00017 *
00018 *  Definition:
00019 *  ===========
00020 *
00021 *       INTEGER FUNCTION ILATRANS( TRANS )
00022 * 
00023 *       .. Scalar Arguments ..
00024 *       CHARACTER          TRANS
00025 *       ..
00026 *  
00027 *
00028 *> \par Purpose:
00029 *  =============
00030 *>
00031 *> \verbatim
00032 *>
00033 *> This subroutine translates from a character string specifying a
00034 *> transposition operation to the relevant BLAST-specified integer
00035 *> constant.
00036 *>
00037 *> ILATRANS returns an INTEGER.  If ILATRANS < 0, then the input is not
00038 *> a character indicating a transposition operator.  Otherwise ILATRANS
00039 *> returns the constant value corresponding to TRANS.
00040 *> \endverbatim
00041 *
00042 *  Arguments:
00043 *  ==========
00044 *
00045 *
00046 *  Authors:
00047 *  ========
00048 *
00049 *> \author Univ. of Tennessee 
00050 *> \author Univ. of California Berkeley 
00051 *> \author Univ. of Colorado Denver 
00052 *> \author NAG Ltd. 
00053 *
00054 *> \date November 2011
00055 *
00056 *> \ingroup auxOTHERcomputational
00057 *
00058 *  =====================================================================
00059       INTEGER FUNCTION ILATRANS( TRANS )
00060 *
00061 *  -- LAPACK computational routine (version 3.4.0) --
00062 *  -- LAPACK is a software package provided by Univ. of Tennessee,    --
00063 *  -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
00064 *     November 2011
00065 *
00066 *     .. Scalar Arguments ..
00067       CHARACTER          TRANS
00068 *     ..
00069 *
00070 *  =====================================================================
00071 *
00072 *     .. Parameters ..
00073       INTEGER BLAS_NO_TRANS, BLAS_TRANS, BLAS_CONJ_TRANS
00074       PARAMETER ( BLAS_NO_TRANS = 111, BLAS_TRANS = 112,
00075      $     BLAS_CONJ_TRANS = 113 )
00076 *     ..
00077 *     .. External Functions ..
00078       LOGICAL            LSAME
00079       EXTERNAL           LSAME
00080 *     ..
00081 *     .. Executable Statements ..
00082       IF( LSAME( TRANS, 'N' ) ) THEN
00083          ILATRANS = BLAS_NO_TRANS
00084       ELSE IF( LSAME( TRANS, 'T' ) ) THEN
00085          ILATRANS = BLAS_TRANS
00086       ELSE IF( LSAME( TRANS, 'C' ) ) THEN
00087          ILATRANS = BLAS_CONJ_TRANS
00088       ELSE
00089          ILATRANS = -1
00090       END IF
00091       RETURN
00092 *
00093 *     End of ILATRANS
00094 *
00095       END
 All Files Functions