File:  [local] / rpl / lapack / lapack / ilatrans.f
Revision 1.9: download - view: text, annotated - select for diffs - revision graph
Tue May 29 07:18:12 2018 UTC (5 years, 11 months ago) by bertrand
Branches: MAIN
CVS tags: rpl-4_1_33, rpl-4_1_32, rpl-4_1_31, rpl-4_1_30, rpl-4_1_29, rpl-4_1_28, HEAD
Mise à jour de Lapack.

    1: *> \brief \b ILATRANS
    2: *
    3: *  =========== DOCUMENTATION ===========
    4: *
    5: * Online html documentation available at
    6: *            http://www.netlib.org/lapack/explore-html/
    7: *
    8: *> \htmlonly
    9: *> Download ILATRANS + dependencies
   10: *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/ilatrans.f">
   11: *> [TGZ]</a>
   12: *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/ilatrans.f">
   13: *> [ZIP]</a>
   14: *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/ilatrans.f">
   15: *> [TXT]</a>
   16: *> \endhtmlonly
   17: *
   18: *  Definition:
   19: *  ===========
   20: *
   21: *       INTEGER FUNCTION ILATRANS( TRANS )
   22: *
   23: *       .. Scalar Arguments ..
   24: *       CHARACTER          TRANS
   25: *       ..
   26: *
   27: *
   28: *> \par Purpose:
   29: *  =============
   30: *>
   31: *> \verbatim
   32: *>
   33: *> This subroutine translates from a character string specifying a
   34: *> transposition operation to the relevant BLAST-specified integer
   35: *> constant.
   36: *>
   37: *> ILATRANS returns an INTEGER.  If ILATRANS < 0, then the input is not
   38: *> a character indicating a transposition operator.  Otherwise ILATRANS
   39: *> returns the constant value corresponding to TRANS.
   40: *> \endverbatim
   41: *
   42: *  Arguments:
   43: *  ==========
   44: *
   45: *
   46: *  Authors:
   47: *  ========
   48: *
   49: *> \author Univ. of Tennessee
   50: *> \author Univ. of California Berkeley
   51: *> \author Univ. of Colorado Denver
   52: *> \author NAG Ltd.
   53: *
   54: *> \date December 2016
   55: *
   56: *> \ingroup auxOTHERcomputational
   57: *
   58: *  =====================================================================
   59:       INTEGER FUNCTION ILATRANS( TRANS )
   60: *
   61: *  -- LAPACK computational routine (version 3.7.0) --
   62: *  -- LAPACK is a software package provided by Univ. of Tennessee,    --
   63: *  -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
   64: *     December 2016
   65: *
   66: *     .. Scalar Arguments ..
   67:       CHARACTER          TRANS
   68: *     ..
   69: *
   70: *  =====================================================================
   71: *
   72: *     .. Parameters ..
   73:       INTEGER BLAS_NO_TRANS, BLAS_TRANS, BLAS_CONJ_TRANS
   74:       PARAMETER ( BLAS_NO_TRANS = 111, BLAS_TRANS = 112,
   75:      $     BLAS_CONJ_TRANS = 113 )
   76: *     ..
   77: *     .. External Functions ..
   78:       LOGICAL            LSAME
   79:       EXTERNAL           LSAME
   80: *     ..
   81: *     .. Executable Statements ..
   82:       IF( LSAME( TRANS, 'N' ) ) THEN
   83:          ILATRANS = BLAS_NO_TRANS
   84:       ELSE IF( LSAME( TRANS, 'T' ) ) THEN
   85:          ILATRANS = BLAS_TRANS
   86:       ELSE IF( LSAME( TRANS, 'C' ) ) THEN
   87:          ILATRANS = BLAS_CONJ_TRANS
   88:       ELSE
   89:          ILATRANS = -1
   90:       END IF
   91:       RETURN
   92: *
   93: *     End of ILATRANS
   94: *
   95:       END

CVSweb interface <joel.bertrand@systella.fr>