亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? dgtsvx.f

?? famous linear algebra library (LAPACK) ports to windows
?? F
字號:
      SUBROUTINE DGTSVX( FACT, TRANS, N, NRHS, DL, D, DU, DLF, DF, DUF,
     $                   DU2, IPIV, B, LDB, X, LDX, RCOND, FERR, BERR,
     $                   WORK, IWORK, INFO )
*
*  -- LAPACK routine (version 3.1) --
*     Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd..
*     November 2006
*
*     .. Scalar Arguments ..
      CHARACTER          FACT, TRANS
      INTEGER            INFO, LDB, LDX, N, NRHS
      DOUBLE PRECISION   RCOND
*     ..
*     .. Array Arguments ..
      INTEGER            IPIV( * ), IWORK( * )
      DOUBLE PRECISION   B( LDB, * ), BERR( * ), D( * ), DF( * ),
     $                   DL( * ), DLF( * ), DU( * ), DU2( * ), DUF( * ),
     $                   FERR( * ), WORK( * ), X( LDX, * )
*     ..
*
*  Purpose
*  =======
*
*  DGTSVX uses the LU factorization to compute the solution to a real
*  system of linear equations A * X = B or A**T * X = B,
*  where A is a tridiagonal matrix of order N and X and B are N-by-NRHS
*  matrices.
*
*  Error bounds on the solution and a condition estimate are also
*  provided.
*
*  Description
*  ===========
*
*  The following steps are performed:
*
*  1. If FACT = 'N', the LU decomposition is used to factor the matrix A
*     as A = L * U, where L is a product of permutation and unit lower
*     bidiagonal matrices and U is upper triangular with nonzeros in
*     only the main diagonal and first two superdiagonals.
*
*  2. If some U(i,i)=0, so that U is exactly singular, then the routine
*     returns with INFO = i. Otherwise, the factored form of A is used
*     to estimate the condition number of the matrix A.  If the
*     reciprocal of the condition number is less than machine precision,
*     INFO = N+1 is returned as a warning, but the routine still goes on
*     to solve for X and compute error bounds as described below.
*
*  3. The system of equations is solved for X using the factored form
*     of A.
*
*  4. Iterative refinement is applied to improve the computed solution
*     matrix and calculate error bounds and backward error estimates
*     for it.
*
*  Arguments
*  =========
*
*  FACT    (input) CHARACTER*1
*          Specifies whether or not the factored form of A has been
*          supplied on entry.
*          = 'F':  DLF, DF, DUF, DU2, and IPIV contain the factored
*                  form of A; DL, D, DU, DLF, DF, DUF, DU2 and IPIV
*                  will not be modified.
*          = 'N':  The matrix will be copied to DLF, DF, and DUF
*                  and factored.
*
*  TRANS   (input) CHARACTER*1
*          Specifies the form of the system of equations:
*          = 'N':  A * X = B     (No transpose)
*          = 'T':  A**T * X = B  (Transpose)
*          = 'C':  A**H * X = B  (Conjugate transpose = Transpose)
*
*  N       (input) INTEGER
*          The order of the matrix A.  N >= 0.
*
*  NRHS    (input) INTEGER
*          The number of right hand sides, i.e., the number of columns
*          of the matrix B.  NRHS >= 0.
*
*  DL      (input) DOUBLE PRECISION array, dimension (N-1)
*          The (n-1) subdiagonal elements of A.
*
*  D       (input) DOUBLE PRECISION array, dimension (N)
*          The n diagonal elements of A.
*
*  DU      (input) DOUBLE PRECISION array, dimension (N-1)
*          The (n-1) superdiagonal elements of A.
*
*  DLF     (input or output) DOUBLE PRECISION array, dimension (N-1)
*          If FACT = 'F', then DLF is an input argument and on entry
*          contains the (n-1) multipliers that define the matrix L from
*          the LU factorization of A as computed by DGTTRF.
*
*          If FACT = 'N', then DLF is an output argument and on exit
*          contains the (n-1) multipliers that define the matrix L from
*          the LU factorization of A.
*
*  DF      (input or output) DOUBLE PRECISION array, dimension (N)
*          If FACT = 'F', then DF is an input argument and on entry
*          contains the n diagonal elements of the upper triangular
*          matrix U from the LU factorization of A.
*
*          If FACT = 'N', then DF is an output argument and on exit
*          contains the n diagonal elements of the upper triangular
*          matrix U from the LU factorization of A.
*
*  DUF     (input or output) DOUBLE PRECISION array, dimension (N-1)
*          If FACT = 'F', then DUF is an input argument and on entry
*          contains the (n-1) elements of the first superdiagonal of U.
*
*          If FACT = 'N', then DUF is an output argument and on exit
*          contains the (n-1) elements of the first superdiagonal of U.
*
*  DU2     (input or output) DOUBLE PRECISION array, dimension (N-2)
*          If FACT = 'F', then DU2 is an input argument and on entry
*          contains the (n-2) elements of the second superdiagonal of
*          U.
*
*          If FACT = 'N', then DU2 is an output argument and on exit
*          contains the (n-2) elements of the second superdiagonal of
*          U.
*
*  IPIV    (input or output) INTEGER array, dimension (N)
*          If FACT = 'F', then IPIV is an input argument and on entry
*          contains the pivot indices from the LU factorization of A as
*          computed by DGTTRF.
*
*          If FACT = 'N', then IPIV is an output argument and on exit
*          contains the pivot indices from the LU factorization of A;
*          row i of the matrix was interchanged with row IPIV(i).
*          IPIV(i) will always be either i or i+1; IPIV(i) = i indicates
*          a row interchange was not required.
*
*  B       (input) DOUBLE PRECISION array, dimension (LDB,NRHS)
*          The N-by-NRHS right hand side matrix B.
*
*  LDB     (input) INTEGER
*          The leading dimension of the array B.  LDB >= max(1,N).
*
*  X       (output) DOUBLE PRECISION array, dimension (LDX,NRHS)
*          If INFO = 0 or INFO = N+1, the N-by-NRHS solution matrix X.
*
*  LDX     (input) INTEGER
*          The leading dimension of the array X.  LDX >= max(1,N).
*
*  RCOND   (output) DOUBLE PRECISION
*          The estimate of the reciprocal condition number of the matrix
*          A.  If RCOND is less than the machine precision (in
*          particular, if RCOND = 0), the matrix is singular to working
*          precision.  This condition is indicated by a return code of
*          INFO > 0.
*
*  FERR    (output) DOUBLE PRECISION array, dimension (NRHS)
*          The estimated forward error bound for each solution vector
*          X(j) (the j-th column of the solution matrix X).
*          If XTRUE is the true solution corresponding to X(j), FERR(j)
*          is an estimated upper bound for the magnitude of the largest
*          element in (X(j) - XTRUE) divided by the magnitude of the
*          largest element in X(j).  The estimate is as reliable as
*          the estimate for RCOND, and is almost always a slight
*          overestimate of the true error.
*
*  BERR    (output) DOUBLE PRECISION array, dimension (NRHS)
*          The componentwise relative backward error of each solution
*          vector X(j) (i.e., the smallest relative change in
*          any element of A or B that makes X(j) an exact solution).
*
*  WORK    (workspace) DOUBLE PRECISION array, dimension (3*N)
*
*  IWORK   (workspace) INTEGER array, dimension (N)
*
*  INFO    (output) INTEGER
*          = 0:  successful exit
*          < 0:  if INFO = -i, the i-th argument had an illegal value
*          > 0:  if INFO = i, and i is
*                <= N:  U(i,i) is exactly zero.  The factorization
*                       has not been completed unless i = N, but the
*                       factor U is exactly singular, so the solution
*                       and error bounds could not be computed.
*                       RCOND = 0 is returned.
*                = N+1: U is nonsingular, but RCOND is less than machine
*                       precision, meaning that the matrix is singular
*                       to working precision.  Nevertheless, the
*                       solution and error bounds are computed because
*                       there are a number of situations where the
*                       computed solution can be more accurate than the
*                       value of RCOND would suggest.
*
*  =====================================================================
*
*     .. Parameters ..
      DOUBLE PRECISION   ZERO
      PARAMETER          ( ZERO = 0.0D+0 )
*     ..
*     .. Local Scalars ..
      LOGICAL            NOFACT, NOTRAN
      CHARACTER          NORM
      DOUBLE PRECISION   ANORM
*     ..
*     .. External Functions ..
      LOGICAL            LSAME
      DOUBLE PRECISION   DLAMCH, DLANGT
      EXTERNAL           LSAME, DLAMCH, DLANGT
*     ..
*     .. External Subroutines ..
      EXTERNAL           DCOPY, DGTCON, DGTRFS, DGTTRF, DGTTRS, DLACPY,
     $                   XERBLA
*     ..
*     .. Intrinsic Functions ..
      INTRINSIC          MAX
*     ..
*     .. Executable Statements ..
*
      INFO = 0
      NOFACT = LSAME( FACT, 'N' )
      NOTRAN = LSAME( TRANS, 'N' )
      IF( .NOT.NOFACT .AND. .NOT.LSAME( FACT, 'F' ) ) THEN
         INFO = -1
      ELSE IF( .NOT.NOTRAN .AND. .NOT.LSAME( TRANS, 'T' ) .AND. .NOT.
     $         LSAME( TRANS, 'C' ) ) THEN
         INFO = -2
      ELSE IF( N.LT.0 ) THEN
         INFO = -3
      ELSE IF( NRHS.LT.0 ) THEN
         INFO = -4
      ELSE IF( LDB.LT.MAX( 1, N ) ) THEN
         INFO = -14
      ELSE IF( LDX.LT.MAX( 1, N ) ) THEN
         INFO = -16
      END IF
      IF( INFO.NE.0 ) THEN
         CALL XERBLA( 'DGTSVX', -INFO )
         RETURN
      END IF
*
      IF( NOFACT ) THEN
*
*        Compute the LU factorization of A.
*
         CALL DCOPY( N, D, 1, DF, 1 )
         IF( N.GT.1 ) THEN
            CALL DCOPY( N-1, DL, 1, DLF, 1 )
            CALL DCOPY( N-1, DU, 1, DUF, 1 )
         END IF
         CALL DGTTRF( N, DLF, DF, DUF, DU2, IPIV, INFO )
*
*        Return if INFO is non-zero.
*
         IF( INFO.GT.0 )THEN
            RCOND = ZERO
            RETURN
         END IF
      END IF
*
*     Compute the norm of the matrix A.
*
      IF( NOTRAN ) THEN
         NORM = '1'
      ELSE
         NORM = 'I'
      END IF
      ANORM = DLANGT( NORM, N, DL, D, DU )
*
*     Compute the reciprocal of the condition number of A.
*
      CALL DGTCON( NORM, N, DLF, DF, DUF, DU2, IPIV, ANORM, RCOND, WORK,
     $             IWORK, INFO )
*
*     Compute the solution vectors X.
*
      CALL DLACPY( 'Full', N, NRHS, B, LDB, X, LDX )
      CALL DGTTRS( TRANS, N, NRHS, DLF, DF, DUF, DU2, IPIV, X, LDX,
     $             INFO )
*
*     Use iterative refinement to improve the computed solutions and
*     compute error bounds and backward error estimates for them.
*
      CALL DGTRFS( TRANS, N, NRHS, DL, D, DU, DLF, DF, DUF, DU2, IPIV,
     $             B, LDB, X, LDX, FERR, BERR, WORK, IWORK, INFO )
*
*     Set INFO = N+1 if the matrix is singular to working precision.
*
      IF( RCOND.LT.DLAMCH( 'Epsilon' ) )
     $   INFO = N + 1
*
      RETURN
*
*     End of DGTSVX
*
      END

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美喷水一区二区| 亚洲精品视频在线看| 国产精品污污网站在线观看 | 韩国精品主播一区二区在线观看| 成人免费视频视频| 日韩一级精品视频在线观看| 亚洲欧美在线aaa| 久久精品国产77777蜜臀| 一本色道久久综合亚洲精品按摩| 精品久久久久99| 亚洲电影第三页| 91浏览器在线视频| 亚洲国产激情av| 国产一区二区三区视频在线播放 | 成人性生交大片免费看视频在线| 欧美日韩在线播放一区| 国产精品久久三| 国产资源精品在线观看| 欧美人牲a欧美精品| 中文字幕日韩一区二区| 国产一区二区免费看| 欧美老年两性高潮| 亚洲一级片在线观看| 色综合久久久久久久| 国产精品丝袜久久久久久app| 经典三级在线一区| 在线播放欧美女士性生活| 亚洲精品v日韩精品| 成人激情视频网站| 欧美激情中文不卡| www.视频一区| 亚洲欧美日韩国产手机在线 | 亚洲私人影院在线观看| 国产成人综合亚洲91猫咪| 欧美va亚洲va| 国产伦精品一区二区三区视频青涩| 日韩一区二区免费视频| 久久99国产精品麻豆| 日韩美一区二区三区| 久久99久久99精品免视看婷婷 | 黄色资源网久久资源365| 欧美大片顶级少妇| 奇米色777欧美一区二区| 欧美电影免费观看高清完整版在 | 国产精品久久久久久久久久久免费看 | 午夜欧美大尺度福利影院在线看| 在线一区二区三区四区五区| 一区二区在线观看免费视频播放| 色呦呦国产精品| 五月婷婷激情综合| 久久伊人蜜桃av一区二区| 国产成人av一区| 亚洲色图视频网| 欧美日韩精品专区| 韩日精品视频一区| 中文字幕av不卡| 91九色最新地址| 午夜视频久久久久久| 精品国产污污免费网站入口| 国产不卡视频在线观看| 亚洲三级久久久| 欧美一级在线视频| 国产精品99久久久久久似苏梦涵 | 最新成人av在线| 7777精品伊人久久久大香线蕉 | 欧美一级片在线看| 国模一区二区三区白浆| 一区二区三区中文字幕| 欧美一区二区三区视频免费| 成人av网站在线观看| 午夜视频一区二区三区| 欧美国产精品v| 欧美人体做爰大胆视频| 成人av网址在线| 精品一区二区在线观看| 亚洲美女屁股眼交| 国产午夜亚洲精品不卡| 欧美久久一区二区| 成人av先锋影音| 九九国产精品视频| 亚洲最新在线观看| 欧美高清在线视频| 日韩欧美三级在线| 欧美图区在线视频| av不卡一区二区三区| 狠狠v欧美v日韩v亚洲ⅴ| 午夜精品一区二区三区免费视频| 国产精品免费aⅴ片在线观看| 777xxx欧美| 欧美三级电影一区| 不卡av电影在线播放| 韩国女主播一区二区三区| 亚洲成人av中文| 亚洲乱码一区二区三区在线观看| 国产亚洲一区字幕| 欧美成人高清电影在线| 欧美日韩成人综合| 欧日韩精品视频| 99re视频精品| 99精品久久久久久| 成人av在线播放网站| 国产一区二区精品久久| 美腿丝袜亚洲色图| 日本人妖一区二区| 日韩专区在线视频| 天天影视色香欲综合网老头| 亚洲一区视频在线观看视频| 中文字幕日韩一区| 亚洲品质自拍视频| 亚洲视频在线一区二区| 椎名由奈av一区二区三区| 国产精品护士白丝一区av| 日本一区二区动态图| 国产精品三级av在线播放| 国产欧美日韩久久| 国产免费成人在线视频| 国产日韩精品一区二区三区在线| 久久久精品欧美丰满| 欧美韩国日本综合| 中文av字幕一区| 自拍偷在线精品自拍偷无码专区| 国产精品另类一区| 一区二区在线观看视频在线观看| 亚洲伊人伊色伊影伊综合网| 亚洲午夜av在线| 麻豆精品视频在线观看| 韩国精品主播一区二区在线观看 | 亚洲一区二区在线观看视频| 亚洲精品免费在线播放| 夜夜嗨av一区二区三区中文字幕| 亚洲第四色夜色| 免费成人av在线播放| 国产一二三精品| 北岛玲一区二区三区四区| 91丨九色丨黑人外教| 欧美日韩一级黄| 日韩精品一区二区在线观看| 日本一区二区动态图| 亚洲乱码国产乱码精品精可以看 | 久久久激情视频| 亚洲丝袜制服诱惑| 日韩精品亚洲一区| 国产不卡在线视频| 欧美日韩免费一区二区三区视频| 欧美一区二视频| 亚洲国产岛国毛片在线| 亚洲午夜av在线| 国产高清一区日本| 在线亚洲免费视频| 日韩欧美亚洲国产另类| 国产精品麻豆一区二区| 亚洲成人精品在线观看| 国产一区二区精品久久| 欧美三电影在线| 国产清纯美女被跳蛋高潮一区二区久久w| 亚洲欧美电影一区二区| 毛片av一区二区| 91麻豆国产自产在线观看| 91精品欧美一区二区三区综合在 | 91蜜桃免费观看视频| 91精品国产高清一区二区三区蜜臀| 国产亚洲一本大道中文在线| 亚洲成人激情av| 成人av在线一区二区三区| 欧美成人性福生活免费看| ㊣最新国产の精品bt伙计久久| 奇米一区二区三区av| 色偷偷成人一区二区三区91| 26uuu精品一区二区在线观看| 亚洲va韩国va欧美va| 成人黄色小视频| 久久久蜜桃精品| 日韩精品一级中文字幕精品视频免费观看| 成人一区二区三区视频在线观看| 欧美另类久久久品| 亚洲一二三四在线| www.66久久| 国产精品亲子伦对白| 久久99蜜桃精品| 欧美人动与zoxxxx乱| 亚洲欧美国产77777| aaa欧美日韩| 日本一区二区三区久久久久久久久不 | 在线观看日韩av先锋影音电影院| 国产午夜久久久久| 国产一区二区三区在线观看精品| 欧美精品v国产精品v日韩精品| 亚洲素人一区二区| heyzo一本久久综合| 国产视频一区二区在线观看| 紧缚捆绑精品一区二区| 91精品国产一区二区| 亚洲小说欧美激情另类| 色噜噜狠狠色综合中国| 国产精品久久久久久久午夜片| 成人午夜在线免费| 中文字幕巨乱亚洲| 粉嫩嫩av羞羞动漫久久久| 国产欧美一区二区精品仙草咪| 国产一区在线视频|