24小时热门版块排行榜    

CyRhmU.jpeg
查看: 887  |  回复: 10
当前主题已经存档。
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

落日照秋草

木虫 (正式写手)

[交流] 【求助】求助LAPACK 问题!【已完结】已有1人参与

请问哪位知道ZGETRI这个语句如何使用啊?

[ Last edited by 余泽成 on 2010-3-28 at 19:08 ]
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

figgers

铜虫 (初入文坛)


余泽成(金币+1):谢谢参与应助! 2010-04-03 15:24
直接上MKL,Intel针对它家CPU优化过的Lapack,比你直接找来的Lapack效率不知道高多少
11楼2010-04-03 15:15:52
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 11 个回答

dic213

木虫 (著名写手)

第三军团儿童团团长

★ ★ ★
小木虫(金币+0.5):给个红包,谢谢回帖交流
jjdg(金币+2):辛苦了 1-27 19:07
SUBROUTINE ZGETRI( N, A, LDA, IPIV, WORK, LWORK, INFO )
016: *  Purpose
017: *  =======
018: *
019: *  ZGETRI computes the inverse of a matrix using the LU factorization
020: *  computed by ZGETRF.
021: *
022: *  This method inverts U and then computes inv(A) by solving the system
023: *  inv(A)*L = inv(U) for inv(A).
024: *
025: *  Arguments
026: *  =========
027: *
028: *  N       (input) INTEGER
029: *          The order of the matrix A.  N >= 0.
030: *
031: *  A       (input/output) COMPLEX*16 array, dimension (LDA,N)
032: *          On entry, the factors L and U from the factorization
033: *          A = P*L*U as computed by ZGETRF.
034: *          On exit, if INFO = 0, the inverse of the original matrix A.
035: *
036: *  LDA     (input) INTEGER
037: *          The leading dimension of the array A.  LDA >= max(1,N).
038: *
039: *  IPIV    (input) INTEGER array, dimension (N)
040: *          The pivot indices from ZGETRF; for 1<=i<=N, row i of the
041: *          matrix was interchanged with row IPIV(i).
042: *
043: *  WORK    (workspace/output) COMPLEX*16 array, dimension (MAX(1,LWORK))
044: *          On exit, if INFO=0, then WORK(1) returns the optimal LWORK.
045: *
046: *  LWORK   (input) INTEGER
047: *          The dimension of the array WORK.  LWORK >= max(1,N).
048: *          For optimal performance LWORK >= N*NB, where NB is
049: *          the optimal blocksize returned by ILAENV.
050: *
051: *          If LWORK = -1, then a workspace query is assumed; the routine
052: *          only calculates the optimal size of the WORK array, returns
053: *          this value as the first entry of the WORK array, and no error
054: *          message related to LWORK is issued by XERBLA.
055: *
056: *  INFO    (output) INTEGER
057: *          = 0:  successful exit
058: *          < 0:  if INFO = -i, the i-th argument had an illegal value
059: *          > 0:  if INFO = i, U(i,i) is exactly zero; the matrix is
060: *                singular and its inverse could not be computed.
061: *
062: *  =====================================================================

http://www.netlib.org/lapack/explore-html/zgetri.f.html
春梦随云散, 飞花逐水流. 寄言众儿女, 何必觅闲愁.
2楼2010-01-27 17:14:25
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

落日照秋草

木虫 (正式写手)

请问如何把LAPACK库装上啊?说明看的不太懂
3楼2010-01-27 17:33:22
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

dic213

木虫 (著名写手)

第三军团儿童团团长


小木虫(金币+0.5):给个红包,谢谢回帖交流
引用回帖:
Originally posted by 落日照秋草 at 2010-01-27 17:33:22:
请问如何把LAPACK库装上啊?说明看的不太懂

你用Linux还是windows啊?
我用过linux的,上官方网站就有安装说明,先试试呗,有问题再说咯
春梦随云散, 飞花逐水流. 寄言众儿女, 何必觅闲愁.
4楼2010-01-28 08:47:03
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
普通表情 高级回复(可上传附件)
信息提示
请填处理意见