24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 979  |  回复: 10
当前主题已经存档。
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

落日照秋草

木虫 (正式写手)

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

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

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

lurencyj

木虫 (著名写手)

★ ★
小木虫(金币+0.5):给个红包,谢谢回帖交流
余泽成(金币+1):欢迎新虫,谢谢参与应助! 2010-01-28 09:30
如果用的系统是linux,可以在系统管理里面软件包安装中找到lapack,系统会自动安装下载。用的时候,在命令行中直接带上-llapack,引用就ok。
很女子很弓虽大
5楼2010-01-28 09:04:14
已阅   回复此楼   关注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的回帖
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 343求调剂 +4 爱羁绊 2026-03-28 4/200 2026-03-28 17:44 by wxiongid
[考研] 调剂求院校招收 +4 鹤鲸鸽 2026-03-28 4/200 2026-03-28 13:38 by 唐沐儿
[考研] 085405 考的11408求各位老师带走 +3 Qiu学ing 2026-03-28 3/150 2026-03-28 09:19 by 乐呵呵的追梦人
[考研] 083000学硕274求调剂 +7 Li李鱼 2026-03-26 7/350 2026-03-28 08:01 by baoball
[考研] 291求调剂 +7 孅華 2026-03-22 7/350 2026-03-28 04:02 by fmesaito
[考研] 0856材料化工调剂 总分330 +10 zhubinhao 2026-03-27 10/500 2026-03-28 03:34 by fmesaito
[考研] 086000调剂 +3 7901117076 2026-03-26 3/150 2026-03-27 21:34 by Jianing_Mi
[考研] 一志愿上海理工能源动力(085800)310分求调剂 +3 zhangmingc 2026-03-27 4/200 2026-03-27 19:01 by 给你你注意休息
[考研] 材料与化工085600,总分304,本科有两篇sci参与,求调剂 +10 幸运的酱酱 2026-03-22 12/600 2026-03-27 16:08 by muchong357
[考研] 279 分 求调剂 +4 睡个好觉_16 2026-03-24 4/200 2026-03-27 15:05 by 醉在风里
[考研] 349求调剂 +4 李木子啊哈哈 2026-03-25 4/200 2026-03-26 22:49 by fmesaito
[考研] 调剂 +4 柚柚yoyo 2026-03-26 4/200 2026-03-26 20:43 by fmesaito
[考研] 总分293求调剂 +6 加一一九 2026-03-25 8/400 2026-03-26 13:30 by yujianx
[考研] 一志愿哈工大,085400,320,求调剂 +4 gdlf9999 2026-03-24 4/200 2026-03-25 23:01 by boxking200
[考研] 299求调剂 +4 15188958825 2026-03-25 4/200 2026-03-25 22:56 by 418490947
[考研] 一志愿吉林大学材料与化工303分求调剂 +4 为学666 2026-03-24 4/200 2026-03-25 11:27 by BruceLiu320
[考研] 318求调剂 +3 plum李子 2026-03-23 3/150 2026-03-25 09:42 by 雾散后相遇lc
[考研] 289材料与化工(085600)B区求调剂 +4 这么名字咋样 2026-03-22 5/250 2026-03-25 08:20 by mx.yue
[考研] 化工专硕求调剂 +3 question挽风 2026-03-24 3/150 2026-03-24 18:48 by jhhcooi
[考研] 280分求调剂 一志愿085802 +4 PUMPT 2026-03-22 7/350 2026-03-22 22:13 by 星空星月
信息提示
请填处理意见